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