75 lines
2.3 KiB
RPMSpec
75 lines
2.3 KiB
RPMSpec
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
Name: perl-ExtUtils-Depends
|
|
Version: 0.8001
|
|
Release: 1mamba
|
|
Summary: ExtUtils::Depends - Easily build XS extensions that depend on XS extensions
|
|
Group: Development/Libraries/Perl
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
|
URL: https://www.cpan.org
|
|
Source: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-%{version}.tar.gz
|
|
License: GPL
|
|
Requires: perl >= %perl_major_ver
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
%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
|
|
* Sun May 16 2021 Automatic Build System <autodist@mambasoft.it> 0.8001-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 0.8000-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 27 2013 Automatic Build System <autodist@mambasoft.it> 0.304-1mamba
|
|
- update to 0.304
|
|
|
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.302-2mamba
|
|
- perl 5.16 mass rebuild
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.302-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.301-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.301-1mamba
|
|
- update to 0.301
|
|
|
|
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 0.205-1mamba
|
|
- update to 0.205
|
|
|
|
* Thu Nov 11 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.202-1qilnx
|
|
- package created by autospec
|