%define pkg_name ExtUtils-XSBuilder %define pkg_version 0.28 %define rpm_pkg_version 0.28 %define rpm_pkg_release 2.n0i.10 Summary: Automatic XS glue code generation Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/G/GR/GRICHTER/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Parse::RecDescent)} %{!?_without_test:BuildRequires: perl(Tie::IxHash)} %description ExtUtils::XSBuilder is a set modules to parse C header files and create XS glue code and documentation out of it. Idealy this allows to "write" an interface to a C library without coding a line. Since no C-API is ideal, some adjuments are necessary most of the time. So to use this module you must still be familiar with C and XS programming, but it removes a lot of stupid work and copy&paste from you. Also when the C API changes, most of the time you only have to rerun XSBuilder to get your new Perl API. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_eol} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Tue May 22 2007 Marius Feraru - 0.28-2.n0i.10 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 * Sat Apr 08 2006 Marius Feraru - 0.28-1.n0i.9 - version 0.28 * Wed Jul 20 2005 Marius Feraru 0.27-2.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Thu Mar 31 2005 Marius Feraru 0:0.27-1.n0i.7 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:0.27-1.n0i.6 - version 0.27 * Fri Apr 30 2004 Marius Feraru 0:0.25-1.n0i.5 - automatic rebuild * Wed Apr 21 2004 Marius Feraru 0:0.25-1.n0i.4 - automatic rebuild * Sat Apr 03 2004 Marius Feraru 0:0.25-1.n0i.3 - version 0.25 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 * Thu Jan 22 2004 Marius FERARU 0:0.23-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Tue Dec 30 2003 Marius FERARU 0:0.23-0.n0i.1 - version 0.23 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001