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