perl-String-Format-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Name: perl-String-Format
  2. Version: 1.16
  3. Release: 1%{?_dist_release}
  4. Summary: Sprintf-like string formatting capabilities with arbitrary format definitions
  5. Group: Development/Libraries
  6. License: GPLv2
  7. URL: http://search.cpan.org/dist/String-Format/
  8. Source0: http://www.cpan.org/authors/id/D/DA/DARREN/String-Format-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More)
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: shaolin
  17. %description
  18. String::Format lets you define arbitrary printf-like format sequences
  19. to be expanded. This module would be most useful in configuration
  20. files and reporting tools, where the results of a query need to be
  21. formatted in a particular way.
  22. %prep
  23. %setup -q -n String-Format-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf ${RPM_BUILD_ROOT}
  29. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  30. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';'
  31. find ${RPM_BUILD_ROOT} -depth -type d -empty -exec rmdir {} ';'
  32. chmod -R u+w ${RPM_BUILD_ROOT}/*
  33. %check
  34. make test
  35. %clean
  36. rm -rf ${RPM_BUILD_ROOT}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes
  40. %{perl_vendorlib}/String/
  41. %{_mandir}/man3/*.3pm*
  42. %changelog
  43. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.16-1
  44. - initial build for Vine Linux
  45. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-7
  46. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  47. * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.16-6
  48. - Perl mass rebuild
  49. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-5
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  51. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.16-4
  52. - 661697 rebuild for fixing problems with vendorach/lib
  53. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.16-3
  54. - Mass rebuild with perl-5.12.0
  55. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.16-2
  56. - rebuild against perl 5.10.1
  57. * Wed Oct 7 2009 Stepan Kasal <skasal@redhat.com> - 1.16-1
  58. - new upstream release
  59. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Fri Mar 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.15-1
  62. - Upstream update.
  63. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  65. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-3
  66. - Rebuild for perl 5.10 (again)
  67. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-2
  68. - rebuild for new perl
  69. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-1.2
  70. - add BR: perl(Test::More)
  71. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-1.1
  72. - correct license tag
  73. - add BR: perl(ExtUtils::MakeMaker)
  74. * Sat Sep 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
  75. - First build.