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