perl-CPAN-Changes-vl.spec 3.0 KB

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