perl-Spiffy-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Name: perl-Spiffy
  2. Version: 0.46
  3. Release: 2%{?_dist_release}
  4. Summary: Framework for doing object oriented (OO) programming in Perl
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Spiffy/
  8. Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(Test::More)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. %if "%{_dist_release}" <= "vl6"
  17. # Filter bogus provide of perl(DB) (rpm < 4.9)
  18. %global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(DB)$/d'"
  19. %define __perl_provides %{provfilt}
  20. %else
  21. # Equivalent filter for rpm 4.9 onwards
  22. %global __provides_exclude ^perl\\(DB\\)
  23. %endif
  24. %description
  25. "Spiffy" is a framework and methodology for doing object oriented (OO)
  26. programming in Perl. Spiffy combines the best parts of Exporter.pm,
  27. base.pm, mixin.pm and SUPER.pm into one magic foundation class. It attempts
  28. to fix all the nits and warts of traditional Perl OO, in a clean,
  29. straightforward and (perhaps someday) standard way.
  30. %prep
  31. %setup -q -n Spiffy-%{version}
  32. %build
  33. %{__perl} Makefile.PL INSTALLDIRS=vendor
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf %{buildroot}
  37. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  38. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  39. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  40. %{_fixperms} %{buildroot}/*
  41. %check
  42. make test
  43. %clean
  44. rm -rf %{buildroot}
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc Changes README
  48. %{perl_vendorlib}/*
  49. %{_mandir}/man3/*
  50. %changelog
  51. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.46-2
  52. - rebuilt with perl-5.26.
  53. * Thu Nov 06 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.46-1
  54. - update to 0.46
  55. - built with perl 5.16.3
  56. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.30-1
  57. - initial build for Vine Linux
  58. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-18
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  60. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-17
  61. - Perl mass rebuild
  62. * Tue Apr 19 2011 Paul Howarth <paul@city-fan.org> - 0.30-16
  63. - Make the provides filter work with rpm 4.9 too
  64. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-15
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  66. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-14
  67. - Rebuild to fix problems with vendorarch/lib (#661697)
  68. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-13
  69. - Mass rebuild with perl-5.12.0
  70. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-12
  71. - rebuild against perl 5.10.1
  72. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-11
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-10
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Sat Feb 02 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.30-9
  77. - rebuild for new perl
  78. * Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> 0.30-8
  79. - Adjust License-tag.
  80. - BR: perl(Test::More) (BZ 419631).
  81. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.30-7
  82. - Use fixperms macro instead of our own chmod incantation.
  83. - BR ExtUtils::MakeMaker.
  84. * Mon Sep 04 2006 Steven Pritchard <steve@kspei.com> 0.30-6
  85. - Rework spec to look more like current cpanspec output.
  86. * Tue Feb 28 2006 Steven Pritchard <steve@kspei.com> 0.30-5
  87. - Improve filter.
  88. * Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.30-4
  89. - Drop dummy mixin.pm.
  90. * Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.30-3
  91. - Filter out Provides: perl(DB).
  92. * Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.30-2
  93. - Drop explicit Provides: mixin.
  94. - Add dummy mixin.pm.
  95. - Improve Summary.
  96. - Fix Source0.
  97. * Sat Feb 25 2006 Steven Pritchard <steve@kspei.com> 0.30-1
  98. - Update to 0.30.
  99. - Drop explicit perl BR.
  100. * Wed Dec 28 2005 Steven Pritchard <steve@kspei.com> 0.24-1
  101. - Specfile autogenerated.