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

Revision 12120, 3.1 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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