From cf82b4bb156bfbbd4fdd9bf6f72be59db24514a6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 23 2019 00:02:51 +0000 Subject: import perl-libintl-1.20-12.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..79efb64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libintl-perl-1.20.tar.gz diff --git a/.perl-libintl.metadata b/.perl-libintl.metadata new file mode 100644 index 0000000..f236012 --- /dev/null +++ b/.perl-libintl.metadata @@ -0,0 +1 @@ +883237efa86c617550f1b0bed1adea2885213ce5 SOURCES/libintl-perl-1.20.tar.gz diff --git a/SPECS/perl-libintl.spec b/SPECS/perl-libintl.spec new file mode 100644 index 0000000..ec9ff90 --- /dev/null +++ b/SPECS/perl-libintl.spec @@ -0,0 +1,143 @@ +Summary: Internationalization library for Perl, compatible with gettext +Name: perl-libintl +Version: 1.20 +Release: 12%{?dist} +License: LGPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/libintl-perl/ +Source: http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Provides: perl-libintl-perl = %{version}-%{release} +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Encode) +BuildRequires: perl(Encode::Alias) +BuildRequires: perl(Exporter) +BuildRequires: perl(IO::Handle) +# Tests: +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test) +BuildRequires: perl(Test::Harness) + +%{?perl_default_filter} + +%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} +find -type f -exec chmod -x {} \; +find lib/Locale gettext_xs \( -name '*.pm' -o -name '*.pod' \) \ + -exec sed -i -e '/^#! \/bin\/false/d' {} \; + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f \( -name .packlist -o \ + -name '*.bs' -size 0 \) -exec rm -f {} ';' +chmod -R u+w %{buildroot}/* + +%check +make test + +%files +%doc ChangeLog COPYING* NEWS README THANKS TODO +%{perl_vendorlib}/Locale/ +%{perl_vendorarch}/auto/Locale/ +%{_mandir}/man?/* + +%changelog +* Fri Jan 24 2014 Daniel Mach - 1.20-12 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.20-11 +- Mass rebuild 2013-12-27 + +* Tue Nov 20 2012 Petr Šabata - 1.20-10 +- Add some missing BRs +- Modernize the spec +- Drop command macros + +* Thu Oct 11 2012 Petr Pisar - 1.20-9 +- Do not provide private library +- Drop unneeded build-time dependencies +- Specify all dependencies + +* Fri Jul 20 2012 Fedora Release Engineering - 1.20-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 1.20-7 +- Perl 5.16 rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.20-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 1.20-5 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.20-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Dec 20 2010 Marcela Maslanova - 1.20-3 +- 661697 rebuild for fixing problems with vendorach/lib + +* Sun May 02 2010 Marcela Maslanova - 1.20-2 +- Mass rebuild with perl-5.12.0 + +* Fri Jan 15 2010 Stepan Kasal - 1.20-1 +- new upstream version +- better buildroot + +* Mon Dec 7 2009 Stepan Kasal - 1.16-11 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 1.16-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.16-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.16-8 +- Rebuild for perl 5.10 (again) + +* Tue Feb 19 2008 Fedora Release Engineering - 1.16-7 +- Autorebuild for GCC 4.3 + +* Tue Feb 5 2008 Tom "spot" Callaway 1.16-6 +- rebuild for new perl + +* Wed Aug 22 2007 Matthias Saou 1.16-5 +- Rebuild for new BuildID feature. + +* Mon Aug 6 2007 Matthias Saou 1.16-4 +- Update License field. +- Add perl(ExtUtils::MakeMaker) build requirement. + +* Mon Aug 28 2006 Matthias Saou 1.16-3 +- FC6 rebuild. +- Change spec file back to my own liking... + +* Sat Feb 11 2006 Ralf Corsépius 1.16-2 +- Rework spec (PR 180767). + +* Thu Feb 9 2006 Matthias Saou 1.16-1 +- Update to 1.16. + +* Fri Apr 7 2005 Michael Schwendt +- rebuilt + +* Tue Nov 9 2004 Matthias Saou 1.11-2 +- Fix : Added perl(Locale::gettext_xs) provides. + +* Thu Nov 4 2004 Matthias Saou 1.11-1 +- Initial RPM release.