From 0547c2f493cf7add83990b05a28e7793f1e2e4ac Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:27:40 +0100 Subject: [PATCH] automatic version update by autodist [release 1.08-1mamba;Fri Nov 23 2012] --- README.md | 2 ++ perl-PPI-HTML.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 perl-PPI-HTML.spec diff --git a/README.md b/README.md index 12ac5ae..cd7b457 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-PPI-HTML +PPI::HTML converts Perl documents into syntax highlighted HTML pages. + diff --git a/perl-PPI-HTML.spec b/perl-PPI-HTML.spec new file mode 100644 index 0000000..ae27cfd --- /dev/null +++ b/perl-PPI-HTML.spec @@ -0,0 +1,59 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-PPI-HTML +Version: 1.08 +Release: 1mamba +Summary: PPI::HTML - Generate syntax-hightlighted HTML for Perl using PPI +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/PPI-HTML-%{version}.tar.gz + +License: GPL, Artistic +BuildRequires: perl(CSS::Tiny) +BuildRequires: perl(File::Slurp) +BuildRequires: perl(Params::Util) +BuildRequires: perl(PPI) +BuildRequires: perl(Test::Pod) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PPI::HTML converts Perl documents into syntax highlighted HTML pages. + +%prep +%setup -q -n PPI-HTML-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/ppi2html +%{perl_vendorlib}/ +%{_mandir}/man3/*.3pm.gz +%doc Changes LICENSE README + +%changelog +* Fri Nov 23 2012 Automatic Build System 1.08-1mamba +- automatic version update by autodist + +* Thu Feb 17 2011 gil 1.07-1mamba +- package created by autospec