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/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-libintl.spec b/SPECS/perl-libintl.spec new file mode 100644 index 0000000..019c118 --- /dev/null +++ b/SPECS/perl-libintl.spec @@ -0,0 +1,137 @@ +Summary: Internationalization library for Perl, compatible with gettext +Name: perl-libintl +Version: 1.20 +Release: 10%{?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 +* 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.