From 2babe6608f6e3628f3441393250d54375df110e0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:20:30 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.06-2mamba;Mon Nov 12 2012] --- README.md | 3 ++ perl-Module-Install.spec | 77 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 perl-Module-Install.spec diff --git a/README.md b/README.md index b8843ee..4bbedc5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # 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. + diff --git a/perl-Module-Install.spec b/perl-Module-Install.spec new file mode 100644 index 0000000..7ada4b1 --- /dev/null +++ b/perl-Module-Install.spec @@ -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 +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 1.06-2mamba +- perl 5.16 mass rebuild + +* Tue Apr 24 2012 Silvan Calarco 1.06-1mamba +- update to 1.06 + +* Tue Oct 04 2011 Automatic Build System 1.02-1mamba +- automatic version update by autodist + +* Tue Aug 09 2011 Automatic Build System 1.01-1mamba +- automatic version update by autodist + +* Sun Jan 24 2010 Automatic Build System 0.86-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.68-2mamba +- automatic rebuild by autodist + +* Mon Nov 12 2007 Aleph0 0.68-1mamba +- package created by autospec