[perl-Locale-Maketext] Import
Petr Pisar
ppisar at fedoraproject.org
Wed Apr 10 06:29:45 UTC 2013
commit a4652efd9f945bd122910a593366c6d76c76e8fb
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Apr 10 08:29:26 2013 +0200
Import
.gitignore | 1 +
perl-Locale-Maketext.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5166d1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Locale-Maketext-1.23.tar.gz
diff --git a/perl-Locale-Maketext.spec b/perl-Locale-Maketext.spec
new file mode 100644
index 0000000..1dc93f1
--- /dev/null
+++ b/perl-Locale-Maketext.spec
@@ -0,0 +1,67 @@
+Name: perl-Locale-Maketext
+Version: 1.23
+Release: 1%{?dist}
+Summary: Framework for localization
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Locale-Maketext/
+Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Locale-Maketext-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(I18N::LangTags) >= 0.31
+BuildRequires: perl(I18N::LangTags::Detect)
+BuildRequires: perl(integer)
+# utf8 is optional
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+# Tests:
+BuildRequires: perl(base)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(utf8)
+# Optional tests:
+%if !%{defined perl_bootstrap}
+BuildRequires: perl(Test::Pod) >= 1.14
+%endif
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(I18N::LangTags) >= 0.31
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(I18N::LangTags\\)$
+
+%description
+It is a common feature of applications (whether run directly, or via the Web)
+for them to be "localized" -- i.e., for them to present an English interface
+to an English-speaker, a German interface to a German-speaker, and so on for
+all languages it's programmed with. Locale::Maketext is a framework for
+software localization; it provides you with the tools for organizing and
+accessing the bits of text and text-processing code that you need for
+producing localized applications.
+
+%prep
+%setup -q -n Locale-Maketext-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc ChangeLog README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Apr 05 2013 Petr Pisar <ppisar at redhat.com> 1.23-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a397342 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3d6c7808522292fc2c49e36a04f01968 Locale-Maketext-1.23.tar.gz
More information about the scm-commits
mailing list