[5859] | 1 | Name: perl-Locale-US |
---|
| 2 | Version: 2.112150 |
---|
[9081] | 3 | Release: 2%{?_dist_release} |
---|
[5859] | 4 | Summary: Two letter codes for state identification in the United States and vice versa |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Locale-US/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/T/TB/TBONE/Locale-US-%{version}.tar.gz |
---|
[9081] | 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5859] | 11 | BuildArch: noarch |
---|
| 12 | BuildRequires: perl(Data::Section::Simple) |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 15 | |
---|
| 16 | %{?perl_default_filter} |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Map from US two-letter codes to states and vice versa. |
---|
| 20 | |
---|
| 21 | %prep |
---|
| 22 | %setup -q -n Locale-US-%{version} |
---|
| 23 | |
---|
| 24 | # doesn't actually use Data::Dumper |
---|
| 25 | sed -i -e '/use Data::Dumper/d' lib/Locale/US.pm |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 29 | make %{?_smp_mflags} |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | make pure_install DESTDIR=%{buildroot} |
---|
| 33 | |
---|
| 34 | find %{buildroot} -type f -name kruft2codes.pl -exec rm -f {} \; |
---|
| 35 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 36 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 37 | |
---|
| 38 | %{_fixperms} %{buildroot}/* |
---|
| 39 | |
---|
| 40 | %check |
---|
| 41 | make test |
---|
| 42 | |
---|
| 43 | %files |
---|
| 44 | %doc Changes README kruft2codes.pl |
---|
| 45 | %{perl_vendorlib}/* |
---|
| 46 | %{_mandir}/man3/* |
---|
| 47 | |
---|
| 48 | %changelog |
---|
[9081] | 49 | * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.112150-2 |
---|
| 50 | - rebuilt with perl 5.16.3 |
---|
| 51 | |
---|
[5859] | 52 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.112150-1 |
---|
| 53 | - initial build for Vine Linux |
---|
| 54 | |
---|
| 55 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.112150-2 |
---|
| 56 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 57 | |
---|
| 58 | * Sun Aug 28 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1 |
---|
| 59 | - update to latest upstream |
---|
| 60 | - drop unnecessary patches |
---|
| 61 | |
---|
| 62 | * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2-3 |
---|
| 63 | - Perl mass rebuild |
---|
| 64 | |
---|
| 65 | * Tue Mar 22 2011 Iain Arnell <iarnell@gmail.com> 1.2-2 |
---|
| 66 | - fix spelling in pod (rt#62218) |
---|
| 67 | - install kruft2codes.pl as doc |
---|
| 68 | |
---|
| 69 | * Thu Jan 27 2011 Iain Arnell <iarnell@gmail.com> 1.2-1 |
---|
| 70 | - Specfile autogenerated by cpanspec 1.78. |
---|