0b995a
# Run optional test
0b995a
%if ! (0%{?rhel})
0b995a
%bcond_without perl_Locale_Maketext_enables_optional_test
0b995a
%else
0b995a
%bcond_with perl_Locale_Maketext_enables_optional_test
0b995a
%endif
0b995a
0b995a
%global base_version 1.28
0b995a
0b995a
Name:           perl-Locale-Maketext
0b995a
Version:        1.29
0b995a
Release:        461%{?dist}
0b995a
Summary:        Framework for localization
0b995a
License:        GPL+ or Artistic
0b995a
URL:            https://metacpan.org/release/Locale-Maketext
0b995a
Source0:        https://cpan.metacpan.org/authors/id/T/TO/TODDR/Locale-Maketext-%{base_version}.tar.gz
0b995a
# Unbundled from perl 5.28.0-RC1
0b995a
Patch0:         Locale-Maketext-1.28-Upgrade-to-1.29.patch
0b995a
BuildArch:      noarch
0b995a
BuildRequires:  findutils
0b995a
BuildRequires:  make
0b995a
BuildRequires:  perl-interpreter
0b995a
BuildRequires:  perl-generators
0b995a
BuildRequires:  perl(ExtUtils::MakeMaker)
0b995a
BuildRequires:  perl(strict)
0b995a
# Run-time:
0b995a
BuildRequires:  perl(Carp)
0b995a
BuildRequires:  perl(I18N::LangTags) >= 0.31
0b995a
BuildRequires:  perl(I18N::LangTags::Detect)
0b995a
BuildRequires:  perl(integer)
0b995a
# utf8 is used only if it has already been loaded
0b995a
BuildRequires:  perl(vars)
0b995a
BuildRequires:  perl(warnings)
0b995a
# Tests:
0b995a
BuildRequires:  perl(parent)
0b995a
BuildRequires:  perl(Scalar::Util)
0b995a
BuildRequires:  perl(Test::More)
0b995a
BuildRequires:  perl(utf8)
0b995a
# Optional tests:
0b995a
%if %{with perl_Locale_Maketext_enables_optional_test} && !%{defined perl_bootstrap}
0b995a
BuildRequires:  perl(Test::Pod) >= 1.14
0b995a
%endif
0b995a
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0b995a
Requires:       perl(I18N::LangTags) >= 0.31
0b995a
# utf8 is used only if it has already been loaded
0b995a
Requires:       perl(warnings)
0b995a
0b995a
# Filter under-specified dependencies
0b995a
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(I18N::LangTags\\)$
0b995a
0b995a
%description
0b995a
It is a common feature of applications (whether run directly, or via the Web)
0b995a
for them to be "localized" -- i.e., for them to present an English interface
0b995a
to an English-speaker, a German interface to a German-speaker, and so on for
0b995a
all languages it's programmed with. Locale::Maketext is a framework for
0b995a
software localization; it provides you with the tools for organizing and
0b995a
accessing the bits of text and text-processing code that you need for
0b995a
producing localized applications.
0b995a
0b995a
%prep
0b995a
%setup -q -n Locale-Maketext-%{base_version}
0b995a
%patch0 -p1
0b995a
0b995a
%build
0b995a
perl Makefile.PL INSTALLDIRS=vendor
0b995a
make %{?_smp_mflags}
0b995a
0b995a
%install
0b995a
make pure_install DESTDIR=$RPM_BUILD_ROOT
0b995a
find $RPM_BUILD_ROOT -type f -name .packlist -delete
0b995a
%{_fixperms} $RPM_BUILD_ROOT/*
0b995a
0b995a
%check
0b995a
make test
0b995a
0b995a
%files
0b995a
%doc ChangeLog README
0b995a
%{perl_vendorlib}/*
0b995a
%{_mandir}/man3/*
0b995a
0b995a
%changelog
0b995a
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-461
0b995a
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
0b995a
  Related: rhbz#1991688
0b995a
0b995a
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-460
0b995a
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
0b995a
0b995a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-459
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0b995a
0b995a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-458
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0b995a
0b995a
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-457
0b995a
- Perl 5.32 re-rebuild of bootstrapped packages
0b995a
0b995a
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-456
0b995a
- Increase release to favour standalone package
0b995a
0b995a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-441
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0b995a
0b995a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-440
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0b995a
0b995a
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-439
0b995a
- Perl 5.30 re-rebuild of bootstrapped packages
0b995a
0b995a
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-438
0b995a
- Increase release to favour standalone package
0b995a
0b995a
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-419
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0b995a
0b995a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-418
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0b995a
0b995a
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-417
0b995a
- Perl 5.28 re-rebuild of bootstrapped packages
0b995a
0b995a
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-416
0b995a
- Increase release to favour standalone package
0b995a
0b995a
* Thu May 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-1
0b995a
- Upgrade to 1.29 as provided in perl-5.28.0-RC1
0b995a
0b995a
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-396
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0b995a
0b995a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-395
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0b995a
0b995a
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-394
0b995a
- Perl 5.26 re-rebuild of bootstrapped packages
0b995a
0b995a
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-393
0b995a
- Perl 5.26 rebuild
0b995a
0b995a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-2
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0b995a
0b995a
* Wed Jul 27 2016 Petr Pisar <ppisar@redhat.com> - 1.28-1
0b995a
- 1.28 bump
0b995a
0b995a
* Thu Jun 23 2016 Petr Pisar <ppisar@redhat.com> - 1.27-1
0b995a
- 1.27 bump
0b995a
0b995a
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-366
0b995a
- Perl 5.24 re-rebuild of bootstrapped packages
0b995a
0b995a
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-365
0b995a
- Increase release to favour standalone package
0b995a
0b995a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-348
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0b995a
0b995a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-347
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0b995a
0b995a
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-346
0b995a
- Perl 5.22 re-rebuild of bootstrapped packages
0b995a
0b995a
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-345
0b995a
- Increase release to favour standalone package
0b995a
0b995a
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-3
0b995a
- Perl 5.22 rebuild
0b995a
0b995a
* Fri Jan 09 2015 Petr Pisar <ppisar@redhat.com> - 1.26-2
0b995a
- Require undetected warnings module explicitly
0b995a
0b995a
* Fri Dec 05 2014 Petr Pisar <ppisar@redhat.com> - 1.26-1
0b995a
- 1.26 bump
0b995a
0b995a
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-311
0b995a
- Perl 5.20 re-rebuild of bootstrapped packages
0b995a
0b995a
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-310
0b995a
- Increase release to favour standalone package
0b995a
0b995a
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-3
0b995a
- Perl 5.20 rebuild
0b995a
0b995a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-2
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0b995a
0b995a
* Wed Apr 16 2014 Petr Pisar <ppisar@redhat.com> - 1.25-1
0b995a
- 1.25 bump
0b995a
0b995a
* Mon Nov 11 2013 Petr Pisar <ppisar@redhat.com> - 1.23-293
0b995a
- Fix escaping backslashes (bug #1026763)
0b995a
0b995a
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-292
0b995a
- Perl 5.18 re-rebuild of bootstrapped packages
0b995a
0b995a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-291
0b995a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0b995a
0b995a
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1.23-290
0b995a
- Increase release to favour standalone package
0b995a
0b995a
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.23-2
0b995a
- Perl 5.18 rebuild
0b995a
0b995a
* Fri Apr 05 2013 Petr Pisar <ppisar@redhat.com> 1.23-1
0b995a
- Specfile autogenerated by cpanspec 1.78.