/[packages]/cauldron/perl-Pod-Compiler/current/SPECS/perl-Pod-Compiler.spec
ViewVC logotype

Contents of /cauldron/perl-Pod-Compiler/current/SPECS/perl-Pod-Compiler.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1472923 - (show annotations) (download)
Fri Dec 27 15:48:05 2019 UTC (5 years, 6 months ago) by wally
File size: 1231 byte(s)
- replace deprecated %%makeinstall_std
1 %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 %make_install
41
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

  ViewVC Help
Powered by ViewVC 1.1.30