perl-UNIVERSAL-can-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. %define pkgname UNIVERSAL-can
  2. Name: perl-%{pkgname}
  3. Version: 1.15
  4. Release: 6%{?_dist_release}
  5. Summary: Hack around people calling UNIVERSAL::can() as a function
  6. Group: Development/Libraries
  7. License: Artistic or GPL+
  8. URL: http://search.cpan.org/dist/UNIVERSAL-can/
  9. Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. BuildArch: noarch
  12. BuildRequires: perl(Module::Build)
  13. BuildRequires: perl(Test::Simple) >= 0.60
  14. BuildRequires: perl(Test::Pod) >= 1.14
  15. BuildRequires: perl(Test::Pod::Coverage) >= 1.04
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: shaolin
  20. %description
  21. The UNIVERSAL class provides a few default methods so that all objects
  22. can use them. Object orientation allows programmers to override these
  23. methods in subclasses to provide more specific and appropriate behavior.
  24. Some authors call methods in the UNIVERSAL class on potential invocants
  25. as functions, bypassing any possible overriding. This is wrong and you
  26. should not do it. Unfortunately, not everyone heeds this warning and
  27. their bad code can break your good code.
  28. %prep
  29. %setup -q -n UNIVERSAL-can-%{version}
  30. %build
  31. %{__perl} Build.PL
  32. ./Build
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  36. chmod -R u+w $RPM_BUILD_ROOT/*
  37. %check
  38. PERL_RUN_ALL_TESTS=1 ./Build test
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes README
  44. %{perl_sitelib}/UNIVERSAL/
  45. %{_mandir}/man3/*.3*
  46. %changelog
  47. * Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.15-1
  48. - initial build for Vine Linux
  49. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-6
  50. - Perl mass rebuild
  51. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  53. * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-4
  54. - 661697 rebuild for fixing problems with vendorach/lib
  55. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-3
  56. - Mass rebuild with perl-5.12.0
  57. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.15-2
  58. - rebuild against perl 5.10.1
  59. * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-1
  60. - update to new upstream release
  61. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  63. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  65. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2
  66. - rebuild for new perl
  67. * Wed Apr 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-1
  68. - Update to 1.12.
  69. * Fri Feb 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-1
  70. - Update to 1.11.
  71. - No longer build requires perl(Test::Exception).
  72. * Thu Feb 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2
  73. - Missing build requirement: perl(Test::Exception).
  74. * Wed Feb 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
  75. - Update to 1.03.
  76. * Tue Dec 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
  77. - First build.