Blame SPECS/perl-libintl-perl.spec

3cbfa8
Summary:        Internationalization library for Perl, compatible with gettext
3cbfa8
Name:           perl-libintl-perl
3cbfa8
Version:        1.32
3cbfa8
Release:        4%{?dist}
3cbfa8
# gettext_xs/gettext_xs.pm:     GPLv3+
3cbfa8
# gettext_xs/Makefile.PL:       LGPLv2+
3cbfa8
# lib/Locale/gettext_xs.pod:    LGPLv2+
3cbfa8
# lib/Locale/RecodeData.pm:     GPLv3+
3cbfa8
# lib/Locale/libintlFAQ.pod:    LGPLv2+
3cbfa8
# COPYING:                      GPLv3+
3cbfa8
License:        GPLv3+ and LGPLv2+
3cbfa8
URL:            https://metacpan.org/release/libintl-perl
3cbfa8
Source0:        https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
3cbfa8
# this module was renamed in the f25 dev cycle
3cbfa8
Provides:       perl-libintl = %{version}-%{release}
3cbfa8
Obsoletes:      perl-libintl < 1.25
3cbfa8
3cbfa8
BuildRequires:  coreutils
3cbfa8
BuildRequires:  findutils
3cbfa8
BuildRequires:  gcc
3cbfa8
BuildRequires:  glibc-common
3cbfa8
BuildRequires:  make
3cbfa8
BuildRequires:  perl-interpreter
3cbfa8
BuildRequires:  perl-devel
3cbfa8
BuildRequires:  perl-generators
3cbfa8
BuildRequires:  perl(Config)
3cbfa8
BuildRequires:  perl(ExtUtils::MakeMaker)
3cbfa8
BuildRequires:  perl(File::Find)
3cbfa8
BuildRequires:  perl(strict)
3cbfa8
BuildRequires:  perl(vars)
3cbfa8
BuildRequires:  sed
3cbfa8
# Run-time:
3cbfa8
BuildRequires:  perl(base)
3cbfa8
BuildRequires:  perl(bytes)
3cbfa8
BuildRequires:  perl(constant)
3cbfa8
BuildRequires:  perl(Cwd)
3cbfa8
BuildRequires:  perl(DynaLoader)
3cbfa8
BuildRequires:  perl(Encode)
3cbfa8
BuildRequires:  perl(Encode::Alias)
3cbfa8
BuildRequires:  perl(Exporter)
3cbfa8
BuildRequires:  perl(File::Spec)
3cbfa8
BuildRequires:  perl(integer)
3cbfa8
BuildRequires:  perl(IO::Handle)
3cbfa8
BuildRequires:  perl(locale)
3cbfa8
BuildRequires:  perl(POSIX)
3cbfa8
# Optional run-time:
3cbfa8
BuildRequires:  perl(File::ShareDir)
3cbfa8
BuildRequires:  perl(I18N::Langinfo)
3cbfa8
# Tests:
3cbfa8
# Needed for tests/03bind_textdomain_codeset_pp.t
3cbfa8
BuildRequires:  glibc-langpack-de
3cbfa8
# Needed for tests/04find_domain_bug.t
3cbfa8
BuildRequires:  glibc-langpack-en
3cbfa8
BuildRequires:  perl(File::Basename)
3cbfa8
BuildRequires:  perl(Test)
3cbfa8
BuildRequires:  perl(Test::Harness)
3cbfa8
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
3cbfa8
Requires:       perl(Carp)
3cbfa8
Requires:       perl(Encode::Alias)
3cbfa8
Requires:       perl(POSIX)
3cbfa8
Recommends:     perl(File::ShareDir)
3cbfa8
Recommends:     perl(I18N::Langinfo)
3cbfa8
3cbfa8
%{?perl_default_filter}
3cbfa8
3cbfa8
%description
3cbfa8
The package libintl-perl is an internationalization library for Perl that
3cbfa8
aims to be compatible with the Uniforum message translations system as
3cbfa8
implemented for example in GNU gettext.
3cbfa8
3cbfa8
3cbfa8
%prep
3cbfa8
%setup -q -n libintl-perl-%{version}
3cbfa8
find -type f -exec chmod -x {} \;
3cbfa8
find lib/Locale gettext_xs \( -name '*.pm' -o -name '*.pod' \) \
3cbfa8
    -exec sed -i -e '/^#! \/bin\/false/d' {} \;
3cbfa8
# Fix rpmlint errors and warnings
3cbfa8
cd sample/simplecal
3cbfa8
sed -i -e '1i#!%{__perl}' bin/simplecal.pl Makefile.PL
3cbfa8
for file in po/*.po; do
3cbfa8
    iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
3cbfa8
    mv $file.new $file
3cbfa8
done
3cbfa8
rm .gitignore MANIFEST
3cbfa8
3cbfa8
3cbfa8
%build
3cbfa8
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PERLLOCAL=1
3cbfa8
%make_build
3cbfa8
3cbfa8
%install
3cbfa8
%make_install
3cbfa8
find %{buildroot} -type f \( -name .packlist -o \
3cbfa8
                  -name '*.bs' -size 0 \) -delete
3cbfa8
%{_fixperms} %{buildroot}
3cbfa8
3cbfa8
%check
3cbfa8
make test
3cbfa8
3cbfa8
%files
3cbfa8
%license COPYING
3cbfa8
%doc Changes Credits FAQ NEWS README REFERENCES THANKS TODO
3cbfa8
%doc sample
3cbfa8
%{perl_vendorlib}/Locale/
3cbfa8
%{perl_vendorarch}/auto/Locale/
3cbfa8
%{_mandir}/man?/*
3cbfa8
3cbfa8
%changelog
3cbfa8
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.32-4
3cbfa8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
3cbfa8
  Related: rhbz#1991688
3cbfa8
3cbfa8
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.32-3
3cbfa8
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
3cbfa8
3cbfa8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-2
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3cbfa8
3cbfa8
* Sun Nov 01 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 1.32-1
3cbfa8
- Update to 1.32
3cbfa8
3cbfa8
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-8
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3cbfa8
3cbfa8
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-7
3cbfa8
- Perl 5.32 rebuild
3cbfa8
3cbfa8
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 1.31-6
3cbfa8
- Spec file cleanups: Use make_build and make_install macros
3cbfa8
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
3cbfa8
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
3cbfa8
3cbfa8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-5
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3cbfa8
3cbfa8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-4
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3cbfa8
3cbfa8
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-3
3cbfa8
- Perl 5.30 rebuild
3cbfa8
3cbfa8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-2
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3cbfa8
3cbfa8
* Sun Nov 25 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1.31-1
3cbfa8
- Update to 1.31
3cbfa8
- Whitelist known rpmlint errors
3cbfa8
3cbfa8
* Tue Nov 06 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1.30-1
3cbfa8
- Update to 1.30
3cbfa8
3cbfa8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-5
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3cbfa8
3cbfa8
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-4
3cbfa8
- Perl 5.28 rebuild
3cbfa8
3cbfa8
* Tue Jun 05 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-3
3cbfa8
- Run the tests with LANG=en_US to ensure we use the right dictionary
3cbfa8
3cbfa8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3cbfa8
3cbfa8
* Sun Nov 12 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1.29-1
3cbfa8
- Update to 1.29
3cbfa8
3cbfa8
* Sun Sep 03 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1.28-1
3cbfa8
- Update to 1.28
3cbfa8
3cbfa8
* Sun Aug 13 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1.27-1
3cbfa8
- Update to 1.27
3cbfa8
- Drop upstreamed patch
3cbfa8
3cbfa8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-6
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3cbfa8
3cbfa8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-5
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3cbfa8
3cbfa8
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-4
3cbfa8
- Perl 5.26 rebuild
3cbfa8
3cbfa8
* Mon May 15 2017 Petr Pisar <ppisar@redhat.com> - 1.26-3
3cbfa8
- Fix building on Perl without "." in @INC (CPAN RT#120446)
3cbfa8
3cbfa8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-2
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3cbfa8
3cbfa8
* Sat Jun 18 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1.26-1
3cbfa8
- Update to 1.26
3cbfa8
3cbfa8
* Wed May 25 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1.25-2
3cbfa8
- Take into account the re-review comments (#1339004)
3cbfa8
3cbfa8
* Sat May 21 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1.25-1
3cbfa8
- Update package to 1.25-1
3cbfa8
- Rename package to perl-libintl-perl, the module's name on CPAN
3cbfa8
- Trim changelog
3cbfa8
3cbfa8
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-3
3cbfa8
- Perl 5.24 rebuild
3cbfa8
3cbfa8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-2
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3cbfa8
3cbfa8
* Mon Sep 14 2015 Petr Pisar <ppisar@redhat.com> - 1.24-1
3cbfa8
- 1.24 bump
3cbfa8
- License changed from (LGPLv2+) to (GPLv3+ and LGPLv2+)
3cbfa8
3cbfa8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-18
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3cbfa8
3cbfa8
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-17
3cbfa8
- Perl 5.22 rebuild
3cbfa8
3cbfa8
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-16
3cbfa8
- Perl 5.20 rebuild
3cbfa8
3cbfa8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-15
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3cbfa8
3cbfa8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-14
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3cbfa8
3cbfa8
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-13
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3cbfa8
3cbfa8
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.20-12
3cbfa8
- Perl 5.18 rebuild
3cbfa8
3cbfa8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-11
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3cbfa8
3cbfa8
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1.20-10
3cbfa8
- Add some missing BRs
3cbfa8
- Modernize the spec
3cbfa8
- Drop command macros
3cbfa8
3cbfa8
* Thu Oct 11 2012 Petr Pisar <ppisar@redhat.com> - 1.20-9
3cbfa8
- Do not provide private library
3cbfa8
- Drop unneeded build-time dependencies
3cbfa8
- Specify all dependencies
3cbfa8
3cbfa8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-8
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3cbfa8
3cbfa8
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.20-7
3cbfa8
- Perl 5.16 rebuild
3cbfa8
3cbfa8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-6
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3cbfa8
3cbfa8
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.20-5
3cbfa8
- Perl mass rebuild
3cbfa8
3cbfa8
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3cbfa8
3cbfa8
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.20-3
3cbfa8
- 661697 rebuild for fixing problems with vendorach/lib
3cbfa8
3cbfa8
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.20-2
3cbfa8
- Mass rebuild with perl-5.12.0
3cbfa8
3cbfa8
* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 1.20-1
3cbfa8
- new upstream version
3cbfa8
- better buildroot
3cbfa8
3cbfa8
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.16-11
3cbfa8
- rebuild against perl 5.10.1
3cbfa8
3cbfa8
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-10
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3cbfa8
3cbfa8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-9
3cbfa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3cbfa8
3cbfa8
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.16-8
3cbfa8
- Rebuild for perl 5.10 (again)
3cbfa8
3cbfa8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.16-7
3cbfa8
- Autorebuild for GCC 4.3
3cbfa8
3cbfa8
* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.16-6
3cbfa8
- rebuild for new perl
3cbfa8
3cbfa8
* Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 1.16-5
3cbfa8
- Rebuild for new BuildID feature.
3cbfa8
3cbfa8
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 1.16-4
3cbfa8
- Update License field.
3cbfa8
- Add perl(ExtUtils::MakeMaker) build requirement.
3cbfa8
3cbfa8
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.16-3
3cbfa8
- FC6 rebuild.
3cbfa8
- Change spec file back to my own liking...
3cbfa8
3cbfa8
* Sat Feb 11 2006 Ralf Corsépius <rc040203@freenet.de>  1.16-2
3cbfa8
- Rework spec (PR 180767).
3cbfa8
3cbfa8
* Thu Feb  9 2006 Matthias Saou <http://freshrpms.net/> 1.16-1
3cbfa8
- Update to 1.16.