dba08c
Name:           perl-Locale-Codes
dba08c
Version:        3.26
ca61db
Release:        2%{?dist}
dba08c
Summary:        Distribution of modules to handle locale codes
dba08c
License:        GPL+ or Artistic
dba08c
Group:          Development/Libraries
dba08c
URL:            http://search.cpan.org/dist/Locale-Codes/
dba08c
Source0:        http://www.cpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz
dba08c
BuildArch:      noarch
dba08c
BuildRequires:  perl(ExtUtils::MakeMaker)
dba08c
# Run-time
dba08c
BuildRequires:  perl(Carp)
dba08c
BuildRequires:  perl(constant)
dba08c
BuildRequires:  perl(Exporter)
dba08c
# Tests
dba08c
BuildRequires:  perl(Storable)
dba08c
BuildRequires:  perl(Test::More)
dba08c
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
dba08c
dba08c
# Inject not detected module version
dba08c
%{?filter_setup:
dba08c
%filter_from_provides s/^\(perl(Locale\>[^)]*)\)[^=]*$/\1 = %{version}/
dba08c
%filter_setup
dba08c
}
dba08c
dba08c
%description
dba08c
Locale-Codes is a distribution containing a set of modules. The modules
dba08c
each deal with different types of codes which identify parts of the locale
dba08c
including languages, countries, currency, etc.
dba08c
dba08c
%prep
dba08c
%setup -q -n Locale-Codes-%{version}
dba08c
chmod -x examples/*
dba08c
dba08c
%build
dba08c
perl Makefile.PL INSTALLDIRS=vendor
dba08c
make %{?_smp_mflags}
dba08c
dba08c
%install
dba08c
make pure_install DESTDIR=%{buildroot}
dba08c
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
dba08c
%{_fixperms} %{buildroot}/*
dba08c
dba08c
%check
dba08c
make test
dba08c
dba08c
%files
dba08c
%doc ChangeLog LICENSE README README.first examples
dba08c
%{perl_vendorlib}/*
dba08c
%{_mandir}/man3/*
dba08c
dba08c
%changelog
ca61db
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.26-2
ca61db
- Mass rebuild 2013-12-27
ca61db
dba08c
* Fri Jun 07 2013 Petr Pisar <ppisar@redhat.com> - 3.26-1
dba08c
- 3.26 bump
dba08c
dba08c
* Fri Mar 01 2013 Petr Pisar <ppisar@redhat.com> - 3.25-1
dba08c
- 3.25 bump
dba08c
dba08c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.24-2
dba08c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
dba08c
dba08c
* Wed Dec 05 2012 Petr Pisar <ppisar@redhat.com> - 3.24-1
dba08c
- 3.24 bump
dba08c
dba08c
* Tue Nov 20 2012 Petr Ĺ abata <contyk@redhat.com> - 3.23-2
dba08c
- Add missing deps
dba08c
- Drop command macros
dba08c
- Modernize spec
dba08c
dba08c
* Tue Sep 04 2012 Petr Pisar <ppisar@redhat.com> - 3.23-1
dba08c
- 3.23 bump
dba08c
dba08c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.22-3
dba08c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dba08c
dba08c
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.22-2
dba08c
- Perl 5.16 rebuild
dba08c
dba08c
* Mon Jun 04 2012 Petr Pisar <ppisar@redhat.com> - 3.22-1
dba08c
- 3.22 bump
dba08c
dba08c
* Mon Jun 04 2012 Petr Pisar <ppisar@redhat.com> - 3.21-2
dba08c
- The POD tests do not run by default anymore
dba08c
- Switch build script from Module::Build to EU::MM
dba08c
dba08c
* Fri Mar 02 2012 Petr Pisar <ppisar@redhat.com> - 3.21-1
dba08c
- 3.21 bump
dba08c
dba08c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.20-2
dba08c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
dba08c
dba08c
* Fri Dec 02 2011 Petr Pisar <ppisar@redhat.com> - 3.20-1
dba08c
- 3.20 bump
dba08c
dba08c
* Thu Sep 01 2011 Petr Pisar <ppisar@redhat.com> - 3.18-1
dba08c
- 3.18 bump
dba08c
dba08c
* Thu Jun 30 2011 Petr Pisar <ppisar@redhat.com> 3.17-1
dba08c
- Specfile autogenerated by cpanspec 1.78.
dba08c
- Remove BuildRoot and defattr