Blame SPECS/perl-gettext.spec

3ccf2f
Name:           perl-gettext
3ccf2f
Version:        1.05
3ccf2f
Release:        28%{?dist}
3ccf2f
Summary:        Interface to gettext family of functions
3ccf2f
Group:          Development/Libraries
3ccf2f
License:        GPL+ or Artistic
3ccf2f
URL:            http://search.cpan.org/dist/gettext/
3ccf2f
Source0:        http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
3ccf2f
Patch0:         http://patch-tracking.debian.net/patch/series/view/liblocale-gettext-perl/1.05-4/compatibility-with-POSIX-module.diff
3ccf2f
BuildRequires:  gettext
3ccf2f
BuildRequires:  perl
3ccf2f
BuildRequires:  perl(Config)
3ccf2f
BuildRequires:  perl(ExtUtils::MakeMaker)
3ccf2f
# Run-time:
3ccf2f
BuildRequires:  perl(Carp)
3ccf2f
BuildRequires:  perl(DynaLoader)
3ccf2f
BuildRequires:  perl(Exporter)
3ccf2f
# Encode is optional
3ccf2f
BuildRequires:  perl(POSIX)
3ccf2f
# Tests:
3ccf2f
BuildRequires:  perl(Data::Dumper)
3ccf2f
BuildRequires:  perl(strict)
3ccf2f
BuildRequires:  perl(Test)
3ccf2f
Requires:  perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
3ccf2f
Obsoletes:      perl-Locale-gettext <= 1.05
3ccf2f
3ccf2f
%{?perl_default_filter}
3ccf2f
3ccf2f
%description
3ccf2f
The gettext module permits access from perl to the gettext() family of 
3ccf2f
functions for retrieving message strings from databases constructed to
3ccf2f
internationalize software.
3ccf2f
3ccf2f
%prep
3ccf2f
%setup -q -n gettext-%{version}
3ccf2f
%patch0 -p1
3ccf2f
3ccf2f
%build
3ccf2f
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
3ccf2f
make %{?_smp_mflags}
3ccf2f
3ccf2f
%install
3ccf2f
make pure_install DESTDIR=%{buildroot}
3ccf2f
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
3ccf2f
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
3ccf2f
chmod -R u+w %{buildroot}/*
3ccf2f
3ccf2f
%check
3ccf2f
unset LC_MESSAGES
3ccf2f
case "$LANG" in
3ccf2f
''|'C'|'POSIX' ) 
3ccf2f
  export LANG=en_US.UTF-8;;
3ccf2f
esac
3ccf2f
make test
3ccf2f
3ccf2f
%files
3ccf2f
%doc README
3ccf2f
%{perl_vendorarch}/auto/Locale
3ccf2f
%{perl_vendorarch}/Locale
3ccf2f
%{_mandir}/man3/*.3*
3ccf2f
3ccf2f
%changelog
3ccf2f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.05-28
3ccf2f
- Mass rebuild 2014-01-24
3ccf2f
3ccf2f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.05-27
3ccf2f
- Mass rebuild 2013-12-27
3ccf2f
3ccf2f
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 1.05-26.2
3ccf2f
- Fix the package for el7
3ccf2f
- Modernize the spec
3ccf2f
- Correct a bogus date in changelog
3ccf2f
- Unify spec whitespace
3ccf2f
3ccf2f
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 1.05-26.1
3ccf2f
- Rebuild for perl 5.16
3ccf2f
3ccf2f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-26
3ccf2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3ccf2f
3ccf2f
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1.05-25
3ccf2f
- Perl 5.16 rebuild
3ccf2f
- Specify all dependencies
3ccf2f
3ccf2f
* Sun Jan 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-24
3ccf2f
- Add %%{?perl_default_filter}.
3ccf2f
- Modernize spec.
3ccf2f
3ccf2f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-23
3ccf2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3ccf2f
3ccf2f
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-22
3ccf2f
- Perl mass rebuild
3ccf2f
3ccf2f
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-21
3ccf2f
- Perl 5.14 mass rebuild
3ccf2f
3ccf2f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-20
3ccf2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3ccf2f
3ccf2f
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-19
3ccf2f
- 661697 rebuild for fixing problems with vendorach/lib
3ccf2f
3ccf2f
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-18
3ccf2f
- Mass rebuild with perl-5.12.0
3ccf2f
3ccf2f
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.05-17
3ccf2f
- rebuild against perl 5.10.1
3ccf2f
3ccf2f
* Mon Jul 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-16
3ccf2f
- Adopt Debian's compatibility-with-POSIX-module.diff (RH BZ#447859).
3ccf2f
3ccf2f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-15
3ccf2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3ccf2f
3ccf2f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-14
3ccf2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3ccf2f
3ccf2f
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-13
3ccf2f
- rebuild for new perl
3ccf2f
3ccf2f
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.05-12
3ccf2f
- Rebuild for gcc43.
3ccf2f
3ccf2f
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.05-11
3ccf2f
- Update license tag.
3ccf2f
3ccf2f
* Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 1.05-10
3ccf2f
- Reflect perl package split.
3ccf2f
3ccf2f
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.05-9
3ccf2f
- Mass rebuild.
3ccf2f
3ccf2f
* Mon Feb 20 2006 Ralf Corsépius <rc040203@freenet.de> - 1.05-8
3ccf2f
- Rebuild.
3ccf2f
3ccf2f
* Wed Nov 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-7
3ccf2f
- Work-around to "make test" not supporting LC_MESSAGES=POSIX.
3ccf2f
3ccf2f
* Wed Nov 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-6
3ccf2f
- Obsoletes: perl-Locale-gettext <= 1.05.
3ccf2f
- Fix minor spec file typos.
3ccf2f
3ccf2f
* Tue Nov 01 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-5
3ccf2f
- FE import.
3ccf2f
- Add Obsoletes: perl-Locale-gettext.
3ccf2f
3ccf2f
* Tue Nov 01 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-4
3ccf2f
- Rename package to perl-gettext.
3ccf2f
- Remove "Require: perl".
3ccf2f
3ccf2f
* Mon Aug 22 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-3
3ccf2f
- Add Provides: perl-gettext (RH bugzilla PR 165885).
3ccf2f
3ccf2f
* Tue Aug 09 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-2
3ccf2f
- Add BuildRequires: gettext.
3ccf2f
3ccf2f
* Sun Aug 07 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-1
3ccf2f
- FE submission.
3ccf2f
3ccf2f
* Thu Aug 04 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-0
3ccf2f
- Initial rpm.