]> git.pld-linux.org Git - packages/perl-PodToHTML.git/blob - perl-PodToHTML.spec
facccdb682bf8d2ba4b2347fa7fc6b19376ab262
[packages/perl-PodToHTML.git] / perl-PodToHTML.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        PodToHTML Perl module - converts POD to HTML or PostScript
7 Summary(pl.UTF-8):      Moduł Perla PodToHTML - konwersja plików POD do formatu HTML lub PostScript
8 Name:           perl-PodToHTML
9 Version:        0.08
10 Release:        2
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Pod/PodToHTML-%{version}.tar.gz
15 # Source0-md5:  fec09c1e062ed4c670b6b982649e2f24
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  perl-HTML-Tree
19 BuildRequires:  perl-HTML-Parser
20 BuildRequires:  perl-HTML-Stream
21 BuildRequires:  perl-URI
22 Requires:       perl-Pod-Parser
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _noautoreq      perl(Pod::Parser)
27
28 %description
29 PodToHTML Perl module converts POD to HTML or PostScript.
30
31 %description -l pl.UTF-8
32 Moduł Perla PodToHTML konwertuje pliki POD do formatu HTML lub
33 PostScript.
34
35 %prep
36 %setup -q -n PodToHTML-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41 %{__make}
42
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README
57 %attr(755,root,root) %{_bindir}/podtohtml
58 %{perl_vendorlib}/Pod/*.pm
59 %{_mandir}/man[13]/*
This page took 0.069687 seconds and 2 git commands to generate.