perl-Class-Accessor-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Name: perl-Class-Accessor
  2. Version: 0.34
  3. Release: 1%{?_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. %description
  14. %{summary}.
  15. %prep
  16. %setup -q -n Class-Accessor-%{version}
  17. %build
  18. %{__perl} Makefile.PL INSTALLDIRS=vendor
  19. make
  20. %install
  21. rm -rf $RPM_BUILD_ROOT
  22. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  23. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  24. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  25. chmod -R u+w $RPM_BUILD_ROOT/*
  26. %check
  27. make test
  28. %clean
  29. rm -rf $RPM_BUILD_ROOT
  30. %files
  31. %defattr(-,root,root,-)
  32. %doc Changes examples/
  33. %{perl_vendorlib}/Class
  34. %{_mandir}/man3/*.3*
  35. %changelog
  36. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.34-1
  37. - new upstream release
  38. - applied new versioning policy
  39. * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.31-0vl1
  40. - initial build for Vine Linux
  41. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.30-1
  42. - bump to 0.30
  43. * Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-2
  44. - bump for fc6
  45. * Wed Aug 2 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-1
  46. - bump to 0.27
  47. * Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.25-1
  48. - bump to 0.25
  49. * Mon Jan 9 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.22-1
  50. - bump to 0.22
  51. * Fri Aug 5 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.19-3
  52. - add examples/ to %doc
  53. * Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.19-2
  54. - cleanups
  55. * Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.19-1
  56. - Initial package for Fedora Extras