From cf8c29a0d36707e9eed736f4c64dd7db348dd2ce Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:57:11 +0100 Subject: [PATCH] automatic version update by autodist [release 1.23-1mamba;Fri Mar 01 2013] --- README.md | 2 ++ perl-libintl.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 perl-libintl.spec diff --git a/README.md b/README.md index c27842e..c5b7128 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-libintl +The package libintl-perl is an internationalization library for Perl that aims to be compatible with the Uniforum message translations system as implemented for example in GNU gettext. + diff --git a/perl-libintl.spec b/perl-libintl.spec new file mode 100644 index 0000000..2c28174 --- /dev/null +++ b/perl-libintl.spec @@ -0,0 +1,71 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-libintl +Version: 1.23 +Release: 1mamba +Summary: An internationalization library for Perl +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz +License: GPL/Artistic License +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/perl-root + +%description +The package libintl-perl is an internationalization library for Perl that aims to be compatible with the Uniforum message translations system as implemented for example in GNU gettext. + +%prep +%setup -q -n libintl-perl-%{version} + +%build +perl Makefile.PL +%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 +* Fri Mar 01 2013 Automatic Build System 1.23-1mamba +- automatic version update by autodist + +* Mon Jan 21 2013 Automatic Build System 1.21-1mamba +- automatic version update by autodist + +* Fri Nov 16 2012 Silvan Calarco 1.20-1mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 1.16-2mamba +- automatic rebuild by autodist + +* Thu Jun 19 2008 Silvan Calarco 1.16-1mamba +- update to 1.16 + +* Wed Feb 16 2005 Silvan Calarco 1.11-1qilnx +- package created by autospec