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