From dbd43c16d9d8d8d9605844ce5edb0c442263f445 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:58:12 +0100 Subject: [PATCH] automatic update by autodist [release 3.22-1mamba;Fri Sep 06 2013] --- README.md | 2 + perl-ExtUtils-ParseXS.spec | 103 +++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 perl-ExtUtils-ParseXS.spec diff --git a/README.md b/README.md index 02716ec..696391f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-ExtUtils-ParseXS +Converts Perl XS code into C code + diff --git a/perl-ExtUtils-ParseXS.spec b/perl-ExtUtils-ParseXS.spec new file mode 100644 index 0000000..d2b09da --- /dev/null +++ b/perl-ExtUtils-ParseXS.spec @@ -0,0 +1,103 @@ +%define PERL_VERSION %(eval `perl -V:version`; echo $version) +Name: perl-ExtUtils-ParseXS +Version: 3.22 +Release: 1mamba +Summary: Converts Perl XS code into C code +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +Source: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-ParseXS-%{version}.tar.gz +URL: http://www.cpan.org +License: Artistic +Requires: perl >= %PERL_VERSION +BuildRoot: %{_tmppath}/perl-root +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-ExtUtils-CBuilder + +%description +Converts Perl XS code into C code + +%prep +%setup -q -n ExtUtils-ParseXS-%{version} + +%build +sed -i "s|'perl'|'site'|" Makefile.PL +perl Makefile.PL +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%make pure_install DESTDIR=%{buildroot} + +packlist=`find $RPM_BUILD_ROOT -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s@$RPM_BUILD_ROOT@@g;s@.*/man/.*@&.gz@g" | \ + sort -u > .packlist && rm -f $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find $RPM_BUILD_ROOT -type d | grep $strid`; do + echo "%dir ${dir#$RPM_BUILD_ROOT}" >> .packlist +done + +#sed -i s"|.*/ExtUtils/xsubpp||" .packlist +#rm $RPM_BUILD_ROOT/%{_libdir}/perl5/%{PERL_VERSION}/ExtUtils/xsubpp + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Fri Sep 06 2013 Automatic Build System 3.22-1mamba +- automatic update by autodist + +* Tue Aug 13 2013 Automatic Build System 3.21-1mamba +- automatic update by autodist + +* Tue Nov 20 2012 Automatic Build System 3.18-1mamba +- update to 3.18 + +* Fri Jun 15 2012 Automatic Build System 3.15-1mamba +- automatic version update by autodist + +* Sat Oct 08 2011 Automatic Build System 3.05-1mamba +- automatic version update by autodist + +* Tue Oct 04 2011 Automatic Build System 3.04-1mamba +- automatic version update by autodist + +* Sat Aug 20 2011 Automatic Build System 3.03-1mamba +- automatic version update by autodist + +* Fri Oct 23 2009 Automatic Build System 2.200403-1mamba +- automatic update by autodist + +* Thu Oct 01 2009 Automatic Build System 2.200401-1mamba +- automatic update by autodist + +* Tue Jul 21 2009 Automatic Build System 2.2002-1mamba +- automatic update by autodist + +* Thu Jul 09 2009 Automatic Build System 2.20-1mamba +- automatic update by autodist + +* Tue Nov 04 2008 Silvan Calarco 2.19-2mamba +- automatic rebuild by autodist + +* Wed Jun 25 2008 Tiziana Ferro 2.19-1mamba +- update to 2.19 + +* Mon Nov 22 2004 Silvan Calarco 2.08-3qilnx +- make test enabled now that perl-ExtUtils-CBuilder is fixed + +* Mon Nov 22 2004 Silvan Calarco 2.08-2qilnx +- install to site instead of perl + +* Sun Jul 18 2004 Silvan Calarco 2.08-1qilnx +- first build