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