perl 5.16 mass rebuild [release 1.7-3mamba;Tue Nov 13 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:48:24 +01:00
parent 953b164588
commit 669060a380
2 changed files with 65 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Text-Iconv # perl-Text-Iconv
This module provides a Perl interface to the iconv() codeset conversion function, as defined by the Single UNIX Specification.

63
perl-Text-Iconv.spec Normal file
View File

@ -0,0 +1,63 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Text-Iconv
Version: 1.7
Release: 3mamba
Summary: Text::Iconv - Perl interface to iconv() codeset conversion function
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-%{version}.tar.gz
License: Artistic
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: perl >= %perl_major_ver
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This module provides a Perl interface to the iconv() codeset conversion function, as defined by the Single UNIX Specification.
%prep
%setup -q -n Text-Iconv-%{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
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-3mamba
- perl 5.16 mass rebuild
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-2mamba
- automatic rebuild by autodist
* Mon Sep 15 2008 gil <puntogil@libero.it> 1.7-1mamba
- update to 1.7
* Thu May 31 2007 Aleph0 <aleph0@openmamba.org> 1.4-1mamba
- package created by autospec