perl-Locale-US-vl.spec 2.1 KB

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