2024-01-06 08:34:12 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Archive-Zip
|
2024-01-06 08:34:13 +01:00
|
|
|
Version: 1.68
|
2024-01-06 08:34:14 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 08:34:12 +01:00
|
|
|
Summary: Create, manipulate, read, and write Zip archive files.
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:34:13 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 08:34:12 +01:00
|
|
|
Source: http://www.cpan.org/modules/by-module/Archive/Archive-Zip-%{version}.tar.gz
|
|
|
|
License: Artistic License
|
2024-01-06 08:34:13 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
2024-01-06 08:34:14 +01:00
|
|
|
BuildRequires: perl-Encode
|
2024-01-06 08:34:13 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:34:14 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 08:34:12 +01:00
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
2024-01-06 08:34:13 +01:00
|
|
|
BuildRequires: zip
|
|
|
|
BuildRequires: unzip
|
2024-01-06 08:34:12 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Archive-Zip-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
2024-01-06 08:34:13 +01:00
|
|
|
#% make test
|
2024-01-06 08:34:12 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 08:34:14 +01:00
|
|
|
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 1.68-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 08:34:13 +01:00
|
|
|
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 1.68-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:34:13 +01:00
|
|
|
* Tue Sep 10 2019 Automatic Build System <autodist@mambasoft.it> 1.65-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:34:13 +01:00
|
|
|
* Thu Mar 26 2015 Automatic Build System <autodist@mambasoft.it> 1.46-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:34:13 +01:00
|
|
|
* Sun Feb 15 2015 Automatic Build System <autodist@mambasoft.it> 1.45-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:34:13 +01:00
|
|
|
* Wed Jan 14 2015 Automatic Build System <autodist@mambasoft.it> 1.42-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:34:13 +01:00
|
|
|
* Tue Nov 11 2014 Automatic Build System <autodist@mambasoft.it> 1.39-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:34:13 +01:00
|
|
|
* Mon Sep 08 2014 Automatic Build System <autodist@mambasoft.it> 1.38-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:34:12 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 1.37-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:34:12 +01:00
|
|
|
* Wed Nov 13 2013 Automatic Build System <autodist@mambasoft.it> 1.33-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Thu Jul 02 2009 Automatic Build System <autodist@mambasoft.it> 1.30-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 19 2009 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Nov 09 2007 Aleph0 <aleph0@openmamba.org> 1.23-1mamba
|
|
|
|
- update to 1.23
|
|
|
|
|
|
|
|
* Fri Jul 08 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-1qilnx
|
|
|
|
- package created by autospec
|