Blame SPECS/perl-Locale-Maketext.spec

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