%define upstream_name Locale-Codes %define upstream_version 3.12 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Standard language codes (such as ISO 639) License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Locale/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(Storable) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(constant) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %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. I plan on releasing a new version a couple of times a year to incorporate any changes made in the standards. If one changes, and you want a new release sooner, just email me and I'll get one out. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README LICENSE META.yml ChangeLog %{_mandir}/man3/* %perl_vendorlib/* %changelog * Tue Apr 06 2010 Jérôme Quelin <jquelin@mandriva.org> 3.120.0-1mdv2010.1 + Revision: 532136 - update to 3.12 * Tue Mar 02 2010 Jérôme Quelin <jquelin@mandriva.org> 3.110.0-1mdv2010.1 + Revision: 513468 - update to 3.11 * Fri Feb 19 2010 Jérôme Quelin <jquelin@mandriva.org> 3.100.0-1mdv2010.1 + Revision: 508047 - update to 3.10 * Thu Feb 11 2010 Jérôme Quelin <jquelin@mandriva.org> 3.0.0-1mdv2010.1 + Revision: 504185 - import perl-Locale-Codes * Thu Feb 11 2010 cpan2dist 3.00-1mdv - initial mdv release, generated with cpan2dist