perl-Test-Object-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. Name: perl-Test-Object
  2. Version: 0.08
  3. Release: 1%{?_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)
  13. BuildRequires: perl(Test::Builder)
  14. BuildRequires: perl(Test::Builder::Tester)
  15. BuildRequires: perl(Test::Pod)
  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. %license LICENSE
  43. %doc Changes README
  44. %{perl_vendorlib}/Test/
  45. %{_mandir}/man3/*.3pm*
  46. %changelog
  47. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.08-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.07-4
  51. - rebuilt with perl-5.16.3
  52. * Sun Sep 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.07-3
  53. - rebuild
  54. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-2
  55. - rebuild
  56. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-1
  57. - initial build for Vine Linux
  58. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-13
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  60. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-12
  61. - Perl mass rebuild
  62. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-11
  63. - Perl mass rebuild
  64. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-10
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  66. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-9
  67. - 661697 rebuild for fixing problems with vendorach/lib
  68. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-8
  69. - Mass rebuild with perl-5.12.0
  70. * Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-7
  71. - add readme
  72. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.07-6
  73. - rebuild against perl 5.10.1
  74. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  76. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-4
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  78. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-3
  79. - Rebuild for perl 5.10 (again)
  80. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-2
  81. - rebuild for new perl
  82. * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.07-1
  83. - Update to 0.07.
  84. - Test::Builder version problem (see #205537).
  85. - Removed the README file (copy of the manpage).
  86. * Wed Sep 06 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-1
  87. - First build.