parent
e70f5dd6e4
commit
89b7600fda
@ -0,0 +1 @@
|
|||||||
|
Regexp-Assemble-0.34.tar.gz
|
@ -0,0 +1,58 @@
|
|||||||
|
Name: perl-Regexp-Assemble
|
||||||
|
Version: 0.34
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Assemble multiple Regular Expressions into a single RE
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Regexp-Assemble/
|
||||||
|
Source0: http://www.cpan.org/authors/id/D/DL/DLAND/Regexp-Assemble-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test::File::Contents)
|
||||||
|
BuildRequires: perl(Test::Warn)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Regexp::Assemble takes an arbitrary number of regular expressions and
|
||||||
|
assembles them into a single regular expression (or RE) that matches all
|
||||||
|
that the individual REs match.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Regexp-Assemble-%{version}
|
||||||
|
# tidy up the examples
|
||||||
|
find eg -type f | xargs chmod -x
|
||||||
|
find eg -type f | xargs perl -pi -e 's|^#!\s*/usr/local/bin/perl\S*|%{__perl}|'
|
||||||
|
for f in Changes eg/ircwatcher; do
|
||||||
|
iconv -f iso8859-1 -t utf-8 $f >$f.conf && mv $f.conf $f
|
||||||
|
done
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes eg README TODO
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Nov 18 2008 Iain Arnell <iarnell@gmail.com> 0.34-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.77.
|
Loading…
Reference in new issue