%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} Name: perl-ExtUtils-ParseXS Version: 2.08 Release: 2 Summary: Module and a script for converting Perl XS code into C code Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/ExtUtils-ParseXS/ Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/ExtUtils-ParseXS-2.08.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(ExtUtils::CBuilder) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description ExtUtils::ParseXS will compile XS code into C code by embedding the constructs necessary to let C functions manipulate Perl values and creates the glue necessary to let Perl access those functions. %prep %setup -q -n ExtUtils-ParseXS-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check || : make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/ExtUtils %{_mandir}/man3/*.3* %changelog * Sat May 15 2004 Jose Pedro Oliveira - 0:2.08-0.fdr.2 - Avoid creation of the perllocal.pod file (make pure_install). * Sun Apr 25 2004 Ville Skyttä - 0:2.08-0.fdr.1 - Update to 2.08. - Require perl(:MODULE_COMPAT_*). * Mon Jan 26 2004 Ville Skyttä - 0:2.07-0.fdr.1 - Update to 2.07. * Sat Dec 27 2003 Ville Skyttä - 0:2.06-0.fdr.1 - Update to 2.06. * Tue Sep 30 2003 Ville Skyttä - 0:2.05-0.fdr.1 - Update to 2.05. * Thu Sep 4 2003 Ville Skyttä - 0:2.04-0.fdr.1 - Update to 2.04. * Thu Sep 4 2003 Ville Skyttä - 0:2.03-0.fdr.1 - First build.