From dba08c2aa7dc15e6bca43d7b57e71a8d9d160fbf Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jun 07 2013 09:30:43 +0000 Subject: import perl-Locale-Codes-3.26-1.el7.src.rpm --- diff --git a/.perl-Locale-Codes.metadata b/.perl-Locale-Codes.metadata new file mode 100644 index 0000000..0dfb935 --- /dev/null +++ b/.perl-Locale-Codes.metadata @@ -0,0 +1 @@ +b899ac12f19e26b5d3c6f1c8d639d22b42abd06f SOURCES/Locale-Codes-3.26.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Locale-Codes.spec b/SPECS/perl-Locale-Codes.spec new file mode 100644 index 0000000..144abb8 --- /dev/null +++ b/SPECS/perl-Locale-Codes.spec @@ -0,0 +1,100 @@ +Name: perl-Locale-Codes +Version: 3.26 +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(ExtUtils::MakeMaker) +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +# Tests +BuildRequires: perl(Storable) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +# 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 Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc ChangeLog LICENSE README README.first examples +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jun 07 2013 Petr Pisar - 3.26-1 +- 3.26 bump + +* Fri Mar 01 2013 Petr Pisar - 3.25-1 +- 3.25 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 3.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Dec 05 2012 Petr Pisar - 3.24-1 +- 3.24 bump + +* Tue Nov 20 2012 Petr Ĺ abata - 3.23-2 +- Add missing deps +- Drop command macros +- Modernize spec + +* Tue Sep 04 2012 Petr Pisar - 3.23-1 +- 3.23 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 3.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 06 2012 Petr Pisar - 3.22-2 +- Perl 5.16 rebuild + +* Mon Jun 04 2012 Petr Pisar - 3.22-1 +- 3.22 bump + +* Mon Jun 04 2012 Petr Pisar - 3.21-2 +- The POD tests do not run by default anymore +- Switch build script from Module::Build to EU::MM + +* Fri Mar 02 2012 Petr Pisar - 3.21-1 +- 3.21 bump + +* Fri Jan 13 2012 Fedora Release Engineering - 3.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Dec 02 2011 Petr Pisar - 3.20-1 +- 3.20 bump + +* Thu Sep 01 2011 Petr Pisar - 3.18-1 +- 3.18 bump + +* Thu Jun 30 2011 Petr Pisar 3.17-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot and defattr