perl-Locale-US-vl.spec 1.9 KB

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