c0fc1c
# This package should be renamed into perl-Locale-gettext
c0fc1c
%global tarname Locale-gettext
c0fc1c
c0fc1c
Name:           perl-gettext
c0fc1c
Version:        1.07
c0fc1c
Release:        9%{?dist}
c0fc1c
Summary:        Interface to gettext family of functions
c0fc1c
c0fc1c
Group:          Development/Libraries
c0fc1c
License:        GPL+ or Artistic
c0fc1c
URL:            http://search.cpan.org/dist/gettext/
c0fc1c
Source0:        http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/%{tarname}-%{version}.tar.gz
c0fc1c
c0fc1c
BuildRequires:  perl-devel
c0fc1c
BuildRequires:  perl-generators
c0fc1c
BuildRequires:  perl(ExtUtils::MakeMaker)
c0fc1c
BuildRequires:  gettext
c0fc1c
# Run-time:
c0fc1c
BuildRequires:  perl(Carp)
c0fc1c
BuildRequires:  perl(Exporter)
c0fc1c
BuildRequires:  perl(DynaLoader)
c0fc1c
BuildRequires:  perl(POSIX)
c0fc1c
c0fc1c
# Optional
c0fc1c
BuildRequires:  perl(Encode)
c0fc1c
# Tests:
c0fc1c
BuildRequires:  perl(Test)
c0fc1c
c0fc1c
%description
c0fc1c
The gettext module permits access from perl to the gettext() family of
c0fc1c
functions for retrieving message strings from databases constructed to
c0fc1c
internationalize software.
c0fc1c
c0fc1c
c0fc1c
%package -n perl-%{tarname}
c0fc1c
Summary:        %{summary}
c0fc1c
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
c0fc1c
c0fc1c
Obsoletes: perl-gettext < %{version}-%{release}
c0fc1c
Obsoletes: perl-gettext%{?_isa} < %{version}-%{release}
c0fc1c
Provides: perl-gettext = %{version}-%{release}
c0fc1c
Provides: perl-gettext%{?_isa} = %{version}-%{release}
c0fc1c
c0fc1c
c0fc1c
%description -n perl-%{tarname}
c0fc1c
The gettext module permits access from perl to the gettext() family of
c0fc1c
functions for retrieving message strings from databases constructed to
c0fc1c
internationalize software.
c0fc1c
c0fc1c
%prep
c0fc1c
%setup -q -n %{tarname}-%{version}
c0fc1c
c0fc1c
%build
c0fc1c
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
c0fc1c
make %{?_smp_mflags}
c0fc1c
c0fc1c
c0fc1c
%install
c0fc1c
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
c0fc1c
%{_fixperms} $RPM_BUILD_ROOT/*
c0fc1c
c0fc1c
c0fc1c
%check
c0fc1c
make test
c0fc1c
c0fc1c
c0fc1c
%files -n perl-%{tarname}
c0fc1c
%doc README
c0fc1c
%{perl_vendorarch}/auto/Locale
c0fc1c
%{perl_vendorarch}/Locale
c0fc1c
%{_mandir}/man3/*.3*
c0fc1c
c0fc1c
c0fc1c
%changelog
c0fc1c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-9
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c0fc1c
c0fc1c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-8
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c0fc1c
c0fc1c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-7
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c0fc1c
c0fc1c
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-6
c0fc1c
- Perl 5.26 rebuild
c0fc1c
c0fc1c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-5
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c0fc1c
c0fc1c
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-4
c0fc1c
- Perl 5.24 rebuild
c0fc1c
c0fc1c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-3
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c0fc1c
c0fc1c
* Sun Jan 31 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-2
c0fc1c
- Modernize spec.
c0fc1c
c0fc1c
* Thu Nov 26 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1
c0fc1c
- Upstream update.
c0fc1c
- Reflect upstream having changed tarball name to Locale-gettext.
c0fc1c
- Rename binary package to perl-Locale-gettext.
c0fc1c
- Remove BR: per(Data::Dumper).
c0fc1c
c0fc1c
* Thu Sep 24 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
c0fc1c
- Update to 1.06.
c0fc1c
- Remove Obsoletes: perl-Locale-gettext.
c0fc1c
- Remove LD_MESSAGES hack.
c0fc1c
- Modernize spec.
c0fc1c
- Drop compatibility-with-POSIX-module.diff (upstreamed).
c0fc1c
- Add BR: perl(Encode).
c0fc1c
c0fc1c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-34
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c0fc1c
c0fc1c
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-33
c0fc1c
- Perl 5.22 rebuild
c0fc1c
c0fc1c
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-32
c0fc1c
- Perl 5.20 rebuild
c0fc1c
c0fc1c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-31
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c0fc1c
c0fc1c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-30
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c0fc1c
c0fc1c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-29
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c0fc1c
c0fc1c
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.05-28
c0fc1c
- Perl 5.18 rebuild
c0fc1c
c0fc1c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-27
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c0fc1c
c0fc1c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-26
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c0fc1c
c0fc1c
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1.05-25
c0fc1c
- Perl 5.16 rebuild
c0fc1c
- Specify all dependencies
c0fc1c
c0fc1c
* Sun Jan 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-24
c0fc1c
- Add %%{?perl_default_filter}.
c0fc1c
- Modernize spec.
c0fc1c
c0fc1c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-23
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c0fc1c
c0fc1c
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-22
c0fc1c
- Perl mass rebuild
c0fc1c
c0fc1c
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-21
c0fc1c
- Perl 5.14 mass rebuild
c0fc1c
c0fc1c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-20
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c0fc1c
c0fc1c
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-19
c0fc1c
- 661697 rebuild for fixing problems with vendorach/lib
c0fc1c
c0fc1c
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-18
c0fc1c
- Mass rebuild with perl-5.12.0
c0fc1c
c0fc1c
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.05-17
c0fc1c
- rebuild against perl 5.10.1
c0fc1c
c0fc1c
* Mon Jul 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-16
c0fc1c
- Adopt Debian's compatibility-with-POSIX-module.diff (RH BZ#447859).
c0fc1c
c0fc1c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-15
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c0fc1c
c0fc1c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-14
c0fc1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c0fc1c
c0fc1c
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-13
c0fc1c
- rebuild for new perl
c0fc1c
c0fc1c
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.05-12
c0fc1c
- Rebuild for gcc43.
c0fc1c
c0fc1c
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.05-11
c0fc1c
- Update license tag.
c0fc1c
c0fc1c
* Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 1.05-10
c0fc1c
- Reflect perl package split.
c0fc1c
c0fc1c
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.05-9
c0fc1c
- Mass rebuild.
c0fc1c
c0fc1c
* Mon Feb 20 2006 Ralf Corsépius <rc040203@freenet.de> - 1.05-8
c0fc1c
- Rebuild.
c0fc1c
c0fc1c
* Wed Nov 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-7
c0fc1c
- Work-around to "make test" not supporting LC_MESSAGES=POSIX.
c0fc1c
c0fc1c
* Wed Nov 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-6
c0fc1c
- Obsoletes: perl-Locale-gettext <= 1.05.
c0fc1c
- Fix minor spec file typos.
c0fc1c
c0fc1c
* Tue Nov 01 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-5
c0fc1c
- FE import.
c0fc1c
- Add Obsoletes: perl-Locale-gettext.
c0fc1c
c0fc1c
* Tue Nov 01 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-4
c0fc1c
- Rename package to perl-gettext.
c0fc1c
- Remove "Require: perl".
c0fc1c
c0fc1c
* Sat Aug 20 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-3
c0fc1c
- Add Provides: perl-gettext (RH bugzilla PR 165885).
c0fc1c
c0fc1c
* Tue Aug 09 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-2
c0fc1c
- Add BuildRequires: gettext.
c0fc1c
c0fc1c
* Sun Aug 07 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-1
c0fc1c
- FE submission.
c0fc1c
c0fc1c
* Thu Aug 04 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-0
c0fc1c
- Initial rpm.