Blame SPECS/perl-gettext.spec

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