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

Revision 9063, 3.0 KB checked in by inagaki, 9 years ago (diff)

2014-11-05 Ryoichi INAGAKI <ryo1@…>

  • perl-CPAN-Changes, perl-IPC-Run3, perl-Math-BigInt?-GMP, perl-Probe-Perl, perl-Test-CPAN-Meta: updated
  • perl-Test-Script: rebuilt


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