Name: perl-Shell-Parser Version: 0.04 Release: 1%{?dist} Summary: Simple shell script parser License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Shell-Parser/ Source0: http://www.cpan.org/modules/by-module/Shell/Shell-Parser-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module implements a rudimentary shell script parser in Perl. It was primarily written as a backend for Syntax::Highlight::Shell, in order to simplify the creation of the later. %prep %setup -q -n Shell-Parser-%{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.