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