source: projects/specs/trunk/p/perl-CPAN-Changes/perl-CPAN-Changes-vl.spec @ 5844

Revision 5844, 2.7 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-CPAN-Changes
2Summary:        Read and write Changes files
3Version:        0.18
4Release:        1%{?_dist_release}
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/CPAN-Changes/
8Source0:        http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/CPAN-Changes-%{version}.tar.gz
9Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
10BuildArch:      noarch
11BuildRequires:  perl >= 2:5.10.0
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(Test::More)
14BuildRequires:  perl(Test::Pod) >= 1.00
15BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
16BuildRequires:  perl(Text::Wrap)
17BuildRequires:  perl(version) >= 0.79
18
19%description
20It is standard practice to include a Changes file in your distribution. The
21purpose of the Changes file is to help a user figure out what has changed
22since the last release.
23
24People have devised many ways to write the Changes file. A preliminary
25specification has been created (CPAN::Changes::Spec) to encourage module
26authors to write clear and concise Changes.
27
28This module will help users programmatically read and write Changes files
29that conform to the specification.
30
31%prep
32%setup -q -n CPAN-Changes-%{version}
33
34%build
35perl Makefile.PL INSTALLDIRS=vendor
36make %{?_smp_mflags}
37
38%install
39rm -rf %{buildroot}
40make pure_install DESTDIR=%{buildroot}
41find %{buildroot} -type f -name .packlist -exec rm -f {} \;
42find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
43%{_fixperms} %{buildroot}
44
45%check
46make test
47make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
48
49%clean
50rm -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
Note: See TracBrowser for help on using the repository browser.