[perl-Locale-Codes] Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ecfabf3fbec696537c717b66b527f77a104f3fb6
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Aug 30 11:44:35 2011 +0200

    Import

 .gitignore             |    1 +
 perl-Locale-Codes.spec |   57 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e7c83fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Locale-Codes-3.17.tar.gz
diff --git a/perl-Locale-Codes.spec b/perl-Locale-Codes.spec
new file mode 100644
index 0000000..4b83e97
--- /dev/null
+++ b/perl-Locale-Codes.spec
@@ -0,0 +1,57 @@
+Name:           perl-Locale-Codes
+Version:        3.17
+Release:        1%{?dist}
+Summary:        Distribution of modules to handle locale codes
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Locale-Codes/
+Source0:        http://www.cpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Module::Build)
+# Tests
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(Test::More)
+# Optional tests
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(constant)
+
+# Inject not detected module version
+%{?filter_setup:
+%filter_from_provides s/^\(perl(Locale\>[^)]*)\)[^=]*$/\1 = %{version}/
+%filter_setup
+}
+
+%description
+Locale-Codes is a distribution containing a set of modules. The modules
+each deal with different types of codes which identify parts of the locale
+including languages, countries, currency, etc.
+
+%prep
+%setup -q -n Locale-Codes-%{version}
+chmod -x examples/*
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc ChangeLog LICENSE README README.first examples
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jun 30 2011 Petr Pisar <ppisar@xxxxxxxxxx> 3.17-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot and defattr
diff --git a/sources b/sources
index e69de29..505b1f1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f0181dd8bf625db584fddbd3f5e2143b  Locale-Codes-3.17.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux