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