Name: perl-Syntax-Highlight-HTML Version: 0.04 Release: 1%{?dist} Summary: Highlight HTML syntax License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Syntax-Highlight-HTML/ Source0: http://www.cpan.org/modules/by-module/Syntax/Syntax-Highlight-HTML-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(HTML::Parser) >= 3.00 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(HTML::Parser) >= 3.00 Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module is designed to take raw HTML input and highlight it (using a CSS stylesheet, see "Notes" for the classes). The returned HTML code is ready for inclusion in a web page. %prep %setup -q -n Syntax-Highlight-HTML-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes eg LICENSE LICENSE.Artistic LICENSE.GPL README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 18 2008 Dave Cross 0.04-1 - Specfile autogenerated by cpanspec 1.77.