perl-Test-Object-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: perl-Test-Object
  2. Version: 0.07
  3. Release: 4%{?_dist_release}
  4. Summary: Thoroughly testing objects via registered handlers
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Test-Object/
  8. Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Object-%{version}.tar.gz
  9. Patch0: Test-Object-0.07-Makefile.PL.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. BuildArch: noarch
  12. BuildRequires: perl(Scalar::Util) >= 1.16
  13. BuildRequires: perl(Test::Builder) >= 0.32
  14. BuildRequires: perl(Test::Builder::Tester) >= 1.02
  15. BuildRequires: perl(Test::Pod) >= 1.00
  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. Test::Object is a testing package designed to allow you to easily test
  22. what you believe is a valid object against the expected behaviour of
  23. all of the classes in its inheritance tree in one single call.
  24. %prep
  25. %setup -q -n Test-Object-%{version}
  26. %patch0 -p1
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install DESTDIR=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  34. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w %{buildroot}/*
  36. %check
  37. make test AUTOMATED_TESTING=1
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes LICENSE README
  43. %{perl_vendorlib}/Test/
  44. %{_mandir}/man3/*.3pm*
  45. %changelog
  46. * Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.07-4
  47. - rebuilt with perl-5.16.3
  48. * Wed Sep 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.07-3
  49. - rebuild
  50. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-2
  51. - rebuild
  52. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-1
  53. - initial build for Vine Linux
  54. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-13
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  56. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-12
  57. - Perl mass rebuild
  58. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-11
  59. - Perl mass rebuild
  60. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-10
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-9
  63. - 661697 rebuild for fixing problems with vendorach/lib
  64. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-8
  65. - Mass rebuild with perl-5.12.0
  66. * Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-7
  67. - add readme
  68. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.07-6
  69. - rebuild against perl 5.10.1
  70. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  72. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-4
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  74. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-3
  75. - Rebuild for perl 5.10 (again)
  76. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-2
  77. - rebuild for new perl
  78. * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.07-1
  79. - Update to 0.07.
  80. - Test::Builder version problem (see #205537).
  81. - Removed the README file (copy of the manpage).
  82. * Wed Sep 06 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-1
  83. - First build.