Name: perl-String-RewritePrefix Version: 0.004 Release: 1%{?dist} # lib/String/RewritePrefix.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Rewrite strings based on a set of known prefixes Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/String-RewritePrefix-%{version}.tar.gz Url: http://search.cpan.org/dist/String-RewritePrefix BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.47 %description %{summary}. %prep %setup -q -n String-RewritePrefix-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Wed Jul 01 2009 Chris Weyl 0.004-1 - submission * Wed Jul 01 2009 Chris Weyl 0.004-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)