|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
Name: perl-PPI-HTML
|
|
|
|
|
Version: 1.08
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Generate syntax-highlighted HTML for Perl using PPI
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/PPI-HTML/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-HTML-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
|
BuildRequires: perl(inc::Module::Install)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(CSS::Tiny) >= 1.10
|
|
|
|
|
BuildRequires: perl(Params::Util) => 0.05
|
|
|
|
@ -31,6 +31,9 @@ PPI::HTML converts Perl documents into syntax highlighted HTML pages.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n PPI-HTML-%{version}
|
|
|
|
|
# Remove bundled modules
|
|
|
|
|
rm -r inc/*
|
|
|
|
|
sed -i '/^\/inc\//d' MANIFEST
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
@ -51,6 +54,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 25 2012 Petr Pisar <ppisar@redhat.com> - 1.08-2
|
|
|
|
|
- Unbundle inc::Module::Install
|
|
|
|
|
|
|
|
|
|
* Thu Oct 25 2012 Petr Pisar <ppisar@redhat.com> - 1.08-1
|
|
|
|
|
- 1.08 bump
|
|
|
|
|
|
|
|
|
|