diff --git a/README.md b/README.md index bc81899..02dbff2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-ExtUtils-Depends +Easily build XS extensions that depend on XS extensions. + diff --git a/perl-ExtUtils-Depends.spec b/perl-ExtUtils-Depends.spec new file mode 100644 index 0000000..79835cb --- /dev/null +++ b/perl-ExtUtils-Depends.spec @@ -0,0 +1,69 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-ExtUtils-Depends +Version: 0.304 +Release: 1mamba +Summary: ExtUtils::Depends - Easily build XS extensions that depend on XS extensions +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/ExtUtils-Depends-%{version}.tar.gz +License: GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Easily build XS extensions that depend on XS extensions. + +%prep +%setup -q -n ExtUtils-Depends-%{version} + +%%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sat Apr 27 2013 Automatic Build System 0.304-1mamba +- update to 0.304 + +* Tue Nov 13 2012 Silvan Calarco 0.302-2mamba +- perl 5.16 mass rebuild + +* Thu Jul 09 2009 Automatic Build System 0.302-1mamba +- automatic update by autodist + +* Tue Nov 04 2008 Silvan Calarco 0.301-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 0.301-1mamba +- update to 0.301 + +* Thu Nov 22 2007 Aleph0 0.205-1mamba +- update to 0.205 + +* Thu Nov 11 2004 Alessandro Ramazzina 0.202-1qilnx +- package created by autospec