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