source: projects/specs/trunk/p/perl-Locale-US/perl-Locale-US-vl.spec @ 9081

Revision 9081, 2.1 KB checked in by inagaki, 9 years ago (diff)

2014-11-12 Ryoichi INAGAKI <ryo1@…>


Line 
1Name:           perl-Locale-US
2Version:        2.112150
3Release:        2%{?_dist_release}
4Summary:        Two letter codes for state identification in the United States and vice versa
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Locale-US/
8Source0:        http://www.cpan.org/authors/id/T/TB/TBONE/Locale-US-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(Data::Section::Simple)
13BuildRequires:  perl(ExtUtils::MakeMaker)
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16%{?perl_default_filter}
17
18%description
19Map 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
25sed -i -e '/use Data::Dumper/d' lib/Locale/US.pm
26
27%build
28%{__perl} Makefile.PL INSTALLDIRS=vendor
29make %{?_smp_mflags}
30
31%install
32make pure_install DESTDIR=%{buildroot}
33
34find %{buildroot} -type f -name kruft2codes.pl -exec rm -f {} \;
35find %{buildroot} -type f -name .packlist -exec rm -f {} \;
36find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
37
38%{_fixperms} %{buildroot}/*
39
40%check
41make test
42
43%files
44%doc Changes README kruft2codes.pl
45%{perl_vendorlib}/*
46%{_mandir}/man3/*
47
48%changelog
49* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.112150-2
50- rebuilt with perl 5.16.3
51
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.
Note: See TracBrowser for help on using the repository browser.