%define upstream_name PPI-HTML %define upstream_version 1.08 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Generate syntax-hightlighted HTML for Perl using PPI License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/PPI/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(CSS::Tiny) BuildRequires: perl(File::Spec) BuildRequires: perl(PPI) BuildRequires: perl(Params::Util) BuildRequires: perl(Test::More) BuildArch: noarch %description PPI::HTML converts Perl documents into syntax highlighted HTML pages. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes README LICENSE META.yml %{_mandir}/man3/* %perl_vendorlib/* /usr/bin/ppi2html %changelog * Sun Jan 23 2011 jquelin <jquelin> 1.80.0-1.mga1 + Revision: 34102 - mageia rebuild - imported package perl-PPI-HTML