3 %bcond_without tests # do not perform "make test"
7 Summary: PPI::HTML - Generate syntax-hightlighted HTML for Perl using PPI
8 Summary(pl.UTF-8): PPI::HTML - generowanie HTML-a z podświetlaniem składni dla Perla z PPI
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/PPI/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 7485ae90643992f410fba6ba6573872f
17 URL: http://search.cpan.org/dist/PPI-HTML/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-CSS-Tiny >= 1.10
22 BuildRequires: perl-PPI >= 0.990
23 BuildRequires: perl-Params-Util >= 0.05
25 Requires: perl-CSS-Tiny >= 1.10
26 Requires: perl-PPI >= 0.990
27 Requires: perl-Params-Util >= 0.05
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 PPI::HTML converts Perl documents into syntax highlighted HTML pages.
34 %description -l pl.UTF-8
35 PPI::HTML konwertuje dokumenty Perla do stron HTML z podświetlaniem
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/ppi2html
61 %{perl_vendorlib}/PPI/HTML.pm
62 %{perl_vendorlib}/PPI/HTML
63 %{_mandir}/man3/PPI::HTML.3pm*