You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.1 KiB
74 lines
2.1 KiB
Name: perl-Locale-US
|
|
Version: 2.112150
|
|
Release: 4%{?dist}
|
|
Summary: Two letter codes for state identification in the United States and vice versa
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Locale-US/
|
|
Source0: http://www.cpan.org/authors/id/T/TB/TBONE/Locale-US-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
# Run-time
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(Data::Section::Simple)
|
|
# Tests
|
|
BuildRequires: perl(Test)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Map from US two-letter codes to states and vice versa.
|
|
|
|
%prep
|
|
%setup -q -n Locale-US-%{version}
|
|
|
|
# doesn't actually use Data::Dumper
|
|
sed -i -e '/use Data::Dumper/d' lib/Locale/US.pm
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name kruft2codes.pl -exec rm -f {} \;
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README kruft2codes.pl
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.112150-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.112150-3
|
|
- Perl 5.16 rebuild
|
|
- Specify all dependencies
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.112150-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Sun Aug 28 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
|
|
- update to latest upstream
|
|
- drop unnecessary patches
|
|
|
|
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2-3
|
|
- Perl mass rebuild
|
|
|
|
* Tue Mar 22 2011 Iain Arnell <iarnell@gmail.com> 1.2-2
|
|
- fix spelling in pod (rt#62218)
|
|
- install kruft2codes.pl as doc
|
|
|
|
* Thu Jan 27 2011 Iain Arnell <iarnell@gmail.com> 1.2-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|