Blame SPECS/perl-libintl-perl.spec

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