Name: perl-Syntax-Highlight-Shell Version: 0.04 Release: 1%{?dist} Summary: Highlight shell scripts License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Syntax-Highlight-Shell/ Source0: http://www.cpan.org/modules/by-module/Syntax/Syntax-Highlight-Shell-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Shell::Parser) >= 0.02 BuildRequires: perl(Test::More) Requires: perl(Shell::Parser) >= 0.02 Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module is designed to take shell scripts and highlight them in HTML with meaningful colours using CSS. The resulting HTML output is ready for inclusion in a web page. Note that no reformating is done, all spaces are preserved. %prep %setup -q -n Syntax-Highlight-Shell-%{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.