source: projects/specs/trunk/p/perl-Pod-Tests/perl-Pod-Tests-vl.spec @ 5859

Revision 5859, 3.4 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Pod-Tests
2Version:        1.19
3Release:        1%{?_dist_release}
4Summary:        Extract embedded tests and code examples from POD
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Pod-Tests/
8Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Pod-Tests-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10
11Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
12BuildArch:      noarch
13
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  perl(Test::Harness) >= 1.22
16BuildRequires:  perl(Test::More) >= 0.33
17
18# for improved tests
19BuildRequires:  perl(Test::CPAN::Meta) >= 0.12
20BuildRequires:  perl(Test::Pod) >= 1.26
21BuildRequires:  perl(Test::MinimumVersion) >= 0.008
22# N/A in Fedora
23# BuildRequires:  perl(Pod::Simple) >= 3.07
24BuildRequires:  perl(Pod::Simple)
25
26%description
27Pod::Tests extracts embedded tests and code examples from POD.
28pod2test convert embedded tests and code examples to .t files.
29
30%prep
31%setup -q -n Pod-Tests-%{version}
32
33%build
34%{__perl} Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags}
36
37%install
38rm -rf %{buildroot}
39make pure_install PERL_INSTALL_ROOT=%{buildroot}
40find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
41find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
42chmod -R u+w %{buildroot}/*
43
44%clean
45rm -rf %{buildroot}
46
47%check
48# remove test until Perl-MinimumVersion will be fixed
49rm -rf t/99_pmv.t
50make test AUTOMATED_TESTING=1
51
52%files
53%defattr(-,root,root,-)
54%doc Changes LICENSE
55%{_bindir}/*
56%{perl_vendorlib}/Pod
57%{_mandir}/man1/*
58%{_mandir}/man3/*
59
60%changelog
61* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.19-1
62- initial build for Vine Linux
63
64* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-9
65- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
66
67* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.19-8
68- Perl mass rebuild
69
70* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-7
71- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
72
73* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.19-6
74- 661697 rebuild for fixing problems with vendorach/lib
75
76* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.19-5
77- Mass rebuild with perl-5.12.0
78
79* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.19-4
80- rebuild against perl 5.10.1
81
82* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-3
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
84
85* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
86- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
87
88* Wed Sep 10 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.19-1
89- Upstream update.
90
91* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-6
92- rebuild for new perl
93
94* Tue Sep 04 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-5
95- Update license tag.
96- BR: perl(ExtUtils::MakeMaker).
97
98* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.18-4
99- Mass rebuild.
100
101* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.18-3
102- Rebuild for perl-5.8.8.
103
104* Sun Oct 02 2005 Ralf Corsepius <rc040203@freenet.de> - 0.18-2
105- Pollute the spec file with dos2unix to accommodate PR 169112.
106
107* Fri Sep 23 2005 Ralf Corsepius <rc040203@freenet.de> - 0.18-1
108- FE submission.
Note: See TracBrowser for help on using the repository browser.