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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1778119 - (hide annotations) (download)
Wed Feb 16 17:04:20 2022 UTC (3 years, 4 months ago) by danf
File size: 1230 byte(s)
SILENT: Switch to https URLs
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 danf 1778119 Url: https://metacpan.org/dist/%{upstream_name}
12 danf 1777300 Source0: https://www.cpan.org/modules/by-module/Pod/%{upstream_name}-%{upstream_version}.tar.gz
13 jquelin 14013
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    

  ViewVC Help
Powered by ViewVC 1.1.30