From 886b312a9a5952293232f68277824bcc49d54f52 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:29:01 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.00-2mamba;Mon Nov 12 2012] --- README.md | 2 ++ perl-Parallel-Iterator.spec | 58 +++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 perl-Parallel-Iterator.spec diff --git a/README.md b/README.md index 94e8fd6..e6fce38 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Parallel-Iterator +Parallel::Iterator - Simple parallel execution. + diff --git a/perl-Parallel-Iterator.spec b/perl-Parallel-Iterator.spec new file mode 100644 index 0000000..2010712 --- /dev/null +++ b/perl-Parallel-Iterator.spec @@ -0,0 +1,58 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Parallel-Iterator +Version: 1.00 +Release: 2mamba +Summary: Parallel::Iterator - Simple parallel execution +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Parallel-Iterator-%{version}.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Parallel::Iterator - Simple parallel execution. + +%prep +%setup -q -n Parallel-Iterator-%{version} + +%build +%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" + +%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 -f $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}" + +%files -f .packlist +%defattr(-,root,root) +%doc README + +%changelog +* Mon Nov 12 2012 Silvan Calarco 1.00-2mamba +- perl 5.16 mass rebuild + +* Mon Aug 08 2011 Silvan Calarco 1.00-1mamba +- package created by autospec