perl-CPAN-Changes-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Name: perl-CPAN-Changes
  2. Summary: Read and write Changes files
  3. Version: 0.18
  4. Release: 1%{?_dist_release}
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/CPAN-Changes/
  8. Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/CPAN-Changes-%{version}.tar.gz
  9. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  10. BuildArch: noarch
  11. BuildRequires: perl >= 2:5.10.0
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::More)
  14. BuildRequires: perl(Test::Pod) >= 1.00
  15. BuildRequires: perl(Test::Pod::Coverage) >= 1.00
  16. BuildRequires: perl(Text::Wrap)
  17. BuildRequires: perl(version) >= 0.79
  18. %description
  19. It is standard practice to include a Changes file in your distribution. The
  20. purpose of the Changes file is to help a user figure out what has changed
  21. since the last release.
  22. People have devised many ways to write the Changes file. A preliminary
  23. specification has been created (CPAN::Changes::Spec) to encourage module
  24. authors to write clear and concise Changes.
  25. This module will help users programmatically read and write Changes files
  26. that conform to the specification.
  27. %prep
  28. %setup -q -n CPAN-Changes-%{version}
  29. %build
  30. perl Makefile.PL INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. make pure_install DESTDIR=%{buildroot}
  35. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  36. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  37. %{_fixperms} %{buildroot}
  38. %check
  39. make test
  40. make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
  41. %clean
  42. rm -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes README
  46. %{perl_vendorlib}/CPAN/
  47. %{perl_vendorlib}/Test/
  48. %{_mandir}/man3/CPAN::Changes.3pm*
  49. %{_mandir}/man3/CPAN::Changes::Release.3pm*
  50. %{_mandir}/man3/CPAN::Changes::Spec.3pm*
  51. %{_mandir}/man3/Test::CPAN::Changes.3pm*
  52. %changelog
  53. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18-1
  54. - initial build for Vine Linux
  55. * Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.18-2
  56. - Fedora 17 mass rebuild
  57. * Tue Oct 18 2011 Paul Howarth <paul@city-fan.org> - 0.18-1
  58. - Update to 0.18:
  59. - Expand changes_file_ok() to accept arguments so that a specific version may
  60. be checked
  61. - Add $VERSION to Test::CPAN::Changes so it plays nice with the toolchain
  62. e.g. Module::Install::AuthorRequires
  63. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-2
  64. - Perl mass rebuild
  65. * Thu Apr 21 2011 Paul Howarth <paul@city-fan.org> - 0.17-1
  66. - Update to 0.17:
  67. - Eliminate extra whitespace when release data is not defined (CPAN RT#67441)
  68. - Require version.pm 0.79, which introduced the $LAX regexp (CPAN RT#67613)
  69. - Add the option to sort groups
  70. * Wed Apr 20 2011 Paul Howarth <paul@city-fan.org> - 0.16-1
  71. - Initial RPM version