[5844] | 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 | |
---|
| 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 | |
---|
| 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 | |
---|
| 28 | This module will help users programmatically read and write Changes files |
---|
| 29 | that conform to the specification. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n CPAN-Changes-%{version} |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf %{buildroot} |
---|
| 40 | make pure_install DESTDIR=%{buildroot} |
---|
| 41 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 42 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
| 43 | %{_fixperms} %{buildroot} |
---|
| 44 | |
---|
| 45 | %check |
---|
| 46 | make test |
---|
| 47 | make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf %{buildroot} |
---|
| 51 | |
---|
| 52 | %files |
---|
| 53 | %defattr(-,root,root,-) |
---|
| 54 | %doc Changes README |
---|
| 55 | %{perl_vendorlib}/CPAN/ |
---|
| 56 | %{perl_vendorlib}/Test/ |
---|
| 57 | %{_mandir}/man3/CPAN::Changes.3pm* |
---|
| 58 | %{_mandir}/man3/CPAN::Changes::Release.3pm* |
---|
| 59 | %{_mandir}/man3/CPAN::Changes::Spec.3pm* |
---|
| 60 | %{_mandir}/man3/Test::CPAN::Changes.3pm* |
---|
| 61 | |
---|
| 62 | %changelog |
---|
| 63 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18-1 |
---|
| 64 | - initial build for Vine Linux |
---|
| 65 | |
---|
| 66 | * Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.18-2 |
---|
| 67 | - Fedora 17 mass rebuild |
---|
| 68 | |
---|
| 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 | |
---|
| 76 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-2 |
---|
| 77 | - Perl mass rebuild |
---|
| 78 | |
---|
| 79 | * Thu Apr 21 2011 Paul Howarth <paul@city-fan.org> - 0.17-1 |
---|
| 80 | - Update to 0.17: |
---|
| 81 | - Eliminate extra whitespace when release data is not defined (CPAN RT#67441) |
---|
| 82 | - Require version.pm 0.79, which introduced the $LAX regexp (CPAN RT#67613) |
---|
| 83 | - Add the option to sort groups |
---|
| 84 | |
---|
| 85 | * Wed Apr 20 2011 Paul Howarth <paul@city-fan.org> - 0.16-1 |
---|
| 86 | - Initial RPM version |
---|