Author: ppisar
Update of /cvs/pkgs/rpms/perl-PPIx-Regexp/devel In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17485
Added Files: perl-PPIx-Regexp.spec Log Message: Add spec file
--- NEW FILE perl-PPIx-Regexp.spec --- Name: perl-PPIx-Regexp Version: 0.007 Release: 1%{?dist} Summary: Represent a regular expression of some sort License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/PPIx-Regexp/ Source0: http://www.cpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-%%7Bversion%7D.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Util) >= 0.25 BuildRequires: perl(PPI::Document) BuildRequires: perl(Readonly) BuildRequires: perl(Task::Weaken) BuildRequires: perl(Test::More) >= 0.4 Requires: perl(Task::Weaken) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description The purpose of the PPIx-Regexp package is to parse regular expressions in a manner similar to the way the PPI package parses Perl. This class forms the root of the parse tree, playing a role similar to PPI::Document.
%prep %setup -q -n PPIx-Regexp-%{version} chmod -x eg/* sed -i '1 s|/usr/local/bin/perl|/usr/bin/perl|' eg/*
%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 LICENSES README %{perl_vendorlib}/* %{_mandir}/man3/*
%changelog * Tue Jun 8 2010 Petr Pisar ppisar@redhat.com - 0.007-1 - Specfile autogenerated by cpanspec 1.78 (bug #598553).
perl-devel@lists.fedoraproject.org