From 681d1e1014077d3207a5120f6120616272fe18b1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:16:03 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.05-4mamba;Tue Nov 13 2012] --- README.md | 2 ++ perl-Locale-gettext.spec | 67 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 perl-Locale-gettext.spec diff --git a/README.md b/README.md index 8cf9f9e..bfb7538 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Locale-gettext +Perl support for gettext. + diff --git a/perl-Locale-gettext.spec b/perl-Locale-gettext.spec new file mode 100644 index 0000000..4b0805c --- /dev/null +++ b/perl-Locale-gettext.spec @@ -0,0 +1,67 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Locale-gettext +Version: 1.05 +Release: 4mamba +Summary: Locale::gettext - Perl support for gettext +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz +License: Artistic +BuildRequires: perl-devel >= %{perl_major_ver} +Requires: perl >= %{perl_major_ver} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Perl support for gettext. + +%prep +%setup -q -n gettext-%{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} + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Nov 13 2012 Silvan Calarco 1.05-4mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 1.05-3mamba +- automatic rebuild by autodist + +* Tue Sep 30 2008 Aleph0 1.05-2mamba +- specfile updated + +* Thu Dec 22 2005 Stefano Cotta Ramusino 1.05-1qilnx +- update to version 1.05 by autospec + +* Wed Apr 27 2005 Davide Madrisan 1.04-1qilnx +- update to version 1.04 by autospec +- fixed perl requirement + +* Wed Mar 31 2004 Silvan Calarco 1.01-1qilnx +- first build