1 |
jquelin |
14013 |
%define upstream_name Pod-Compiler |
2 |
|
|
%define upstream_version 0.20 |
3 |
|
|
|
4 |
|
|
Name: perl-%{upstream_name} |
5 |
|
|
Version: %perl_convert_version %{upstream_version} |
6 |
|
|
Release: %mkrel 2 |
7 |
|
|
|
8 |
|
|
Summary: Compile POD into an object tree |
9 |
|
|
License: GPL+ or Artistic |
10 |
|
|
Group: Development/Perl |
11 |
|
|
Url: http://search.cpan.org/dist/%{upstream_name} |
12 |
|
|
Source0: http://www.cpan.org/modules/by-module/Pod/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
|
|
14 |
|
|
BuildRequires: perl(Pod::Parser) |
15 |
|
|
BuildRequires: perl(Storable) |
16 |
|
|
BuildRequires: perl(Test::Simple) |
17 |
|
|
BuildRequires: perl(Tree::DAG_Node) |
18 |
|
|
BuildArch: noarch |
19 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
This package, based on Pod::Parser, compiles a given POD document into an |
23 |
|
|
object tree (based on Tree::DAG_Node). It prints errors and warnings about the |
24 |
|
|
POD it reads. The result can be used to conveniently convert the POD into any |
25 |
|
|
other format. |
26 |
|
|
|
27 |
|
|
%prep |
28 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
29 |
|
|
|
30 |
|
|
%build |
31 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
32 |
|
|
|
33 |
|
|
%{make} |
34 |
|
|
|
35 |
|
|
%check |
36 |
|
|
%{make} test |
37 |
|
|
|
38 |
|
|
%install |
39 |
|
|
rm -rf %buildroot |
40 |
wally |
1472923 |
%make_install |
41 |
jquelin |
14013 |
|
42 |
|
|
%clean |
43 |
|
|
rm -rf %buildroot |
44 |
|
|
|
45 |
|
|
%files |
46 |
|
|
%defattr(-,root,root) |
47 |
|
|
%doc Changes README |
48 |
|
|
%{_bindir}/podlint |
49 |
|
|
%{_mandir}/man1/* |
50 |
|
|
%{_mandir}/man3/* |
51 |
|
|
%perl_vendorlib/* |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|