perl-Class-Accessor-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Name: perl-Class-Accessor
  2. Version: 0.34
  3. Release: 3%{?_dist_release}
  4. Summary: Automated accessor generation
  5. Group: Development/Libraries
  6. License: GPL or Artistic
  7. URL: http://search.cpan.org/dist/Class-Accessor/
  8. Source0: http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/Class-Accessor-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. %{summary}.
  17. %prep
  18. %setup -q -n Class-Accessor-%{version}
  19. %build
  20. %{__perl} Makefile.PL INSTALLDIRS=vendor
  21. make
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  25. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  26. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  27. chmod -R u+w $RPM_BUILD_ROOT/*
  28. %check
  29. make test
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc Changes examples/
  35. %{perl_vendorlib}/Class
  36. %{_mandir}/man3/*.3*
  37. %changelog
  38. * Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.34-3
  39. - rebuilt with perl-5.16.3
  40. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 0.34-2
  41. - build with perl 5.12.3
  42. - add Vendor and Distribution tags
  43. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.34-1
  44. - new upstream release
  45. - applied new versioning policy
  46. * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.31-0vl1
  47. - initial build for Vine Linux
  48. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.30-1
  49. - bump to 0.30
  50. * Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-2
  51. - bump for fc6
  52. * Wed Aug 2 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-1
  53. - bump to 0.27
  54. * Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.25-1
  55. - bump to 0.25
  56. * Mon Jan 9 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.22-1
  57. - bump to 0.22
  58. * Fri Aug 5 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.19-3
  59. - add examples/ to %doc
  60. * Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.19-2
  61. - cleanups
  62. * Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.19-1
  63. - Initial package for Fedora Extras