perl 5.16 mass rebuild [release 1.06-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:20:30 +01:00
parent 6128bcf42f
commit 2babe6608f
2 changed files with 80 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# perl-Module-Install # perl-Module-Install
Module::Install, a standalone, extensible installer for Perl modules.
It is designed to be a drop-in replacement for ExtUtils::MakeMaker, and is a descendent of CPAN::MakeMaker.

77
perl-Module-Install.spec Normal file
View File

@ -0,0 +1,77 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Module-Install
Version: 1.06
Release: 2mamba
Summary: Module::Install - A standalone, extensible installer for Perl modules
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org
Source: http://www.cpan.org/modules/by-module/Module/Module-Install-%{version}.tar.gz
License: Artistic
Requires: perl >= %perl_major_ver
BuildRequires: perl-Module-ScanDeps
BuildRequires: perl-File-Remove
BuildRequires: perl-PAR-Dist
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-YAML-Tiny
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Module::Install, a standalone, extensible installer for Perl modules.
It is designed to be a drop-in replacement for ExtUtils::MakeMaker, and is a descendent of CPAN::MakeMaker.
%prep
%setup -q -n Module-Install-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%ifnarch arm x86_64
%make test
%endif
%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
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.06-2mamba
- perl 5.16 mass rebuild
* Tue Apr 24 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.06-1mamba
- update to 1.06
* Tue Oct 04 2011 Automatic Build System <autodist@mambasoft.it> 1.02-1mamba
- automatic version update by autodist
* Tue Aug 09 2011 Automatic Build System <autodist@mambasoft.it> 1.01-1mamba
- automatic version update by autodist
* Sun Jan 24 2010 Automatic Build System <autodist@mambasoft.it> 0.86-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.68-2mamba
- automatic rebuild by autodist
* Mon Nov 12 2007 Aleph0 <aleph0@openmamba.org> 0.68-1mamba
- package created by autospec