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