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