]> git.pld-linux.org Git - packages/perl-PPI-HTML.git/blame - perl-PPI-HTML.spec
- new
[packages/perl-PPI-HTML.git] / perl-PPI-HTML.spec
CommitLineData
a2c6edad
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir PPI
6%define pnam HTML
7%include /usr/lib/rpm/macros.perl
8Summary: PPI::HTML - Generate syntax-hightlighted HTML for Perl using PPI
9Summary(pl.UTF-8): PPI::HTML - generowanie HTML-a z podświetlaniem składni dla Perla z PPI
10Name: perl-PPI-HTML
11Version: 1.08
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/PPI/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 7485ae90643992f410fba6ba6573872f
18URL: http://search.cpan.org/dist/PPI-HTML/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-CSS-Tiny >= 1.10
23BuildRequires: perl-PPI >= 0.990
24BuildRequires: perl-Params-Util >= 0.05
25%endif
26Requires: perl-CSS-Tiny >= 1.10
27Requires: perl-PPI >= 0.990
28Requires: perl-Params-Util >= 0.05
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33PPI::HTML converts Perl documents into syntax highlighted HTML pages.
34
35%description -l pl.UTF-8
36PPI::HTML konwertuje dokumenty Perla do stron HTML z podświetlaniem
37składni.
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} pure_install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
61%attr(755,root,root) %{_bindir}/ppi2html
62%{perl_vendorlib}/PPI/HTML.pm
63%{perl_vendorlib}/PPI/HTML
64%{_mandir}/man3/PPI::HTML.3pm*
This page took 0.160981 seconds and 4 git commands to generate.