perl-CPAN-Changes-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: perl-CPAN-Changes
  2. Summary: Read and write Changes files
  3. Version: 0.400002
  4. Release: 2%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL+ or Artistic
  9. URL: https://metacpan.org/pod/CPAN::Changes
  10. Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/CPAN-Changes-%{version}.tar.gz
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: perl >= 2:5.34.0
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(Test::More)
  16. BuildRequires: perl(Test::Pod)
  17. BuildRequires: perl(Test::Pod::Coverage)
  18. BuildRequires: perl(Text::Wrap)
  19. Requires: perl
  20. %description
  21. It is standard practice to include a Changes file in your distribution. The
  22. purpose of the Changes file is to help a user figure out what has changed
  23. since the last release.
  24. People have devised many ways to write the Changes file. A preliminary
  25. specification has been created (CPAN::Changes::Spec) to encourage module
  26. authors to write clear and concise Changes.
  27. This module will help users programmatically read and write Changes files
  28. that conform to the specification.
  29. %prep
  30. %setup -q -n CPAN-Changes-%{version}
  31. %build
  32. perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf %{buildroot}
  36. make pure_install DESTDIR=%{buildroot}
  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. * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.400002-2
  58. - rebuilt with perl-5.34.0.
  59. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.400002-1
  60. - new upstream release.
  61. - rebuilt with perl-5.26.
  62. * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.30-1
  63. - updated to 0.30
  64. - built with perl 5.16.3
  65. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18-1
  66. - initial build for Vine Linux
  67. * Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.18-2
  68. - Fedora 17 mass rebuild
  69. * Tue Oct 18 2011 Paul Howarth <paul@city-fan.org> - 0.18-1
  70. - Update to 0.18:
  71. - Expand changes_file_ok() to accept arguments so that a specific version may
  72. be checked
  73. - Add $VERSION to Test::CPAN::Changes so it plays nice with the toolchain
  74. e.g. Module::Install::AuthorRequires
  75. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-2
  76. - Perl mass rebuild
  77. * Thu Apr 21 2011 Paul Howarth <paul@city-fan.org> - 0.17-1
  78. - Update to 0.17:
  79. - Eliminate extra whitespace when release data is not defined (CPAN RT#67441)
  80. - Require version.pm 0.79, which introduced the $LAX regexp (CPAN RT#67613)
  81. - Add the option to sort groups
  82. * Wed Apr 20 2011 Paul Howarth <paul@city-fan.org> - 0.16-1
  83. - Initial RPM version