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

Revision 5859, 1.9 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Locale-US
2Version:        2.112150
3Release:        1%{?_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
9BuildArch:      noarch
10BuildRequires:  perl(Data::Section::Simple)
11BuildRequires:  perl(ExtUtils::MakeMaker)
12Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13
14%{?perl_default_filter}
15
16%description
17Map from US two-letter codes to states and vice versa.
18
19%prep
20%setup -q -n Locale-US-%{version}
21
22# doesn't actually use Data::Dumper
23sed -i -e '/use Data::Dumper/d' lib/Locale/US.pm
24
25%build
26%{__perl} Makefile.PL INSTALLDIRS=vendor
27make %{?_smp_mflags}
28
29%install
30make pure_install DESTDIR=%{buildroot}
31
32find %{buildroot} -type f -name kruft2codes.pl -exec rm -f {} \;
33find %{buildroot} -type f -name .packlist -exec rm -f {} \;
34find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
35
36%{_fixperms} %{buildroot}/*
37
38%check
39make test
40
41%files
42%doc Changes README kruft2codes.pl
43%{perl_vendorlib}/*
44%{_mandir}/man3/*
45
46%changelog
47* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.112150-1
48- initial build for Vine Linux
49
50* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.112150-2
51- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
52
53* Sun Aug 28 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
54- update to latest upstream
55- drop unnecessary patches
56
57* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2-3
58- Perl mass rebuild
59
60* Tue Mar 22 2011 Iain Arnell <iarnell@gmail.com> 1.2-2
61- fix spelling in pod (rt#62218)
62- install kruft2codes.pl as doc
63
64* Thu Jan 27 2011 Iain Arnell <iarnell@gmail.com> 1.2-1
65- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.