|
|
432ff7 |
Name: perl-Locale-Maketext
|
|
|
432ff7 |
Version: 1.23
|
|
|
432ff7 |
Release: 3%{?dist}
|
|
|
432ff7 |
Summary: Framework for localization
|
|
|
432ff7 |
License: GPL+ or Artistic
|
|
|
432ff7 |
Group: Development/Libraries
|
|
|
432ff7 |
URL: http://search.cpan.org/dist/Locale-Maketext/
|
|
|
432ff7 |
Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Locale-Maketext-%{version}.tar.gz
|
|
|
432ff7 |
# Fix escaping backslashes, bug #1026761, RT#120457
|
|
|
432ff7 |
Patch0: Locale-Maketext-1.23-Commit-1735f6f53ca19f99c6e9e39496c486af323ba6a8-star.patch
|
|
|
432ff7 |
BuildArch: noarch
|
|
|
432ff7 |
BuildRequires: perl
|
|
|
432ff7 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
432ff7 |
BuildRequires: perl(strict)
|
|
|
432ff7 |
# Run-time:
|
|
|
432ff7 |
BuildRequires: perl(Carp)
|
|
|
432ff7 |
BuildRequires: perl(I18N::LangTags) >= 0.31
|
|
|
432ff7 |
BuildRequires: perl(I18N::LangTags::Detect)
|
|
|
432ff7 |
BuildRequires: perl(integer)
|
|
|
432ff7 |
# utf8 is optional
|
|
|
432ff7 |
BuildRequires: perl(vars)
|
|
|
432ff7 |
BuildRequires: perl(warnings)
|
|
|
432ff7 |
# Tests:
|
|
|
432ff7 |
BuildRequires: perl(base)
|
|
|
432ff7 |
BuildRequires: perl(Scalar::Util)
|
|
|
432ff7 |
BuildRequires: perl(Test::More)
|
|
|
432ff7 |
BuildRequires: perl(utf8)
|
|
|
432ff7 |
# Optional tests:
|
|
|
432ff7 |
%if !%{defined perl_bootstrap}
|
|
|
432ff7 |
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
432ff7 |
%endif
|
|
|
432ff7 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
432ff7 |
Requires: perl(I18N::LangTags) >= 0.31
|
|
|
432ff7 |
|
|
|
432ff7 |
# Filter under-specified dependencies
|
|
|
432ff7 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(I18N::LangTags\\)$
|
|
|
432ff7 |
|
|
|
432ff7 |
%description
|
|
|
432ff7 |
It is a common feature of applications (whether run directly, or via the Web)
|
|
|
432ff7 |
for them to be "localized" -- i.e., for them to present an English interface
|
|
|
432ff7 |
to an English-speaker, a German interface to a German-speaker, and so on for
|
|
|
432ff7 |
all languages it's programmed with. Locale::Maketext is a framework for
|
|
|
432ff7 |
software localization; it provides you with the tools for organizing and
|
|
|
432ff7 |
accessing the bits of text and text-processing code that you need for
|
|
|
432ff7 |
producing localized applications.
|
|
|
432ff7 |
|
|
|
432ff7 |
%prep
|
|
|
432ff7 |
%setup -q -n Locale-Maketext-%{version}
|
|
|
432ff7 |
%patch0 -p1
|
|
|
432ff7 |
|
|
|
432ff7 |
%build
|
|
|
432ff7 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
432ff7 |
make %{?_smp_mflags}
|
|
|
432ff7 |
|
|
|
432ff7 |
%install
|
|
|
432ff7 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
432ff7 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
432ff7 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
432ff7 |
|
|
|
432ff7 |
%check
|
|
|
432ff7 |
make test
|
|
|
432ff7 |
|
|
|
432ff7 |
%files
|
|
|
432ff7 |
%doc ChangeLog README
|
|
|
432ff7 |
%{perl_vendorlib}/*
|
|
|
432ff7 |
%{_mandir}/man3/*
|
|
|
432ff7 |
|
|
|
432ff7 |
%changelog
|
|
|
432ff7 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.23-3
|
|
|
432ff7 |
- Mass rebuild 2013-12-27
|
|
|
432ff7 |
|
|
|
432ff7 |
* Mon Nov 11 2013 Petr Pisar <ppisar@redhat.com> - 1.23-2
|
|
|
432ff7 |
- Fix escaping backslashes (bug #1026761)
|
|
|
432ff7 |
|
|
|
432ff7 |
* Fri Apr 05 2013 Petr Pisar <ppisar@redhat.com> 1.23-1
|
|
|
432ff7 |
- Specfile autogenerated by cpanspec 1.78.
|