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