perl-String-Format-vl.spec 3.5 KB

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