perl-String-Format-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Name: perl-String-Format
  2. Version: 1.17
  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}-root
  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 Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.17-1
  44. - updated to 1.17
  45. - built with perl 5.16.3
  46. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.16-2
  47. - rebuild
  48. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.16-1
  49. - initial build for Vine Linux
  50. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-7
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  52. * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.16-6
  53. - Perl mass rebuild
  54. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-5
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  56. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.16-4
  57. - 661697 rebuild for fixing problems with vendorach/lib
  58. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.16-3
  59. - Mass rebuild with perl-5.12.0
  60. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.16-2
  61. - rebuild against perl 5.10.1
  62. * Wed Oct 7 2009 Stepan Kasal <skasal@redhat.com> - 1.16-1
  63. - new upstream release
  64. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-2
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Fri Mar 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.15-1
  67. - Upstream update.
  68. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-4
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-3
  71. - Rebuild for perl 5.10 (again)
  72. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-2
  73. - rebuild for new perl
  74. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-1.2
  75. - add BR: perl(Test::More)
  76. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-1.1
  77. - correct license tag
  78. - add BR: perl(ExtUtils::MakeMaker)
  79. * Sat Sep 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
  80. - First build.