89b7600
Name:           perl-Regexp-Assemble
2040875
Version:        0.35
7fc2736
Release:        6%{?dist}
89b7600
Summary:        Assemble multiple Regular Expressions into a single RE
89b7600
License:        GPL+ or Artistic
89b7600
Group:          Development/Libraries
89b7600
URL:            http://search.cpan.org/dist/Regexp-Assemble/
89b7600
Source0:        http://www.cpan.org/authors/id/D/DL/DLAND/Regexp-Assemble-%{version}.tar.gz
89b7600
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
89b7600
BuildArch:      noarch
89b7600
BuildRequires:  perl(ExtUtils::MakeMaker)
89b7600
BuildRequires:  perl(Test::File::Contents)
89b7600
BuildRequires:  perl(Test::Warn)
89b7600
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
89b7600
89b7600
%description
89b7600
Regexp::Assemble takes an arbitrary number of regular expressions and
89b7600
assembles them into a single regular expression (or RE) that matches all
89b7600
that the individual REs match.
89b7600
89b7600
%prep
89b7600
%setup -q -n Regexp-Assemble-%{version}
89b7600
# tidy up the examples
89b7600
find eg -type f | xargs chmod -x
89b7600
find eg -type f | xargs perl -pi -e 's|^#!\s*/usr/local/bin/perl\S*|%{__perl}|'
89b7600
for f in Changes eg/ircwatcher; do
89b7600
        iconv -f iso8859-1 -t utf-8 $f >$f.conf && mv $f.conf $f
89b7600
done
89b7600
89b7600
%build
89b7600
%{__perl} Makefile.PL INSTALLDIRS=vendor
89b7600
make %{?_smp_mflags}
89b7600
89b7600
%install
89b7600
rm -rf $RPM_BUILD_ROOT
89b7600
89b7600
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
89b7600
89b7600
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
89b7600
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
89b7600
89b7600
%{_fixperms} $RPM_BUILD_ROOT/*
89b7600
89b7600
%check
89b7600
make test
89b7600
89b7600
%clean
89b7600
rm -rf $RPM_BUILD_ROOT
89b7600
89b7600
%files
89b7600
%defattr(-,root,root,-)
89b7600
%doc Changes eg README TODO
89b7600
%{perl_vendorlib}/*
89b7600
%{_mandir}/man3/*
89b7600
89b7600
%changelog
7fc2736
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-6
7fc2736
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7fc2736
463c9b8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-5
463c9b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
463c9b8
fdff96b
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.35-4
fdff96b
- Perl 5.16 rebuild
fdff96b
afae7c7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-3
afae7c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
afae7c7
Petr Sabata a9bf638
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.35-2
Petr Sabata a9bf638
- Perl mass rebuild
Petr Sabata a9bf638
2040875
* Sat Apr 09 2011 Iain Arnell <iarnell@gmail.com> 0.35-1
2040875
- update to latest upstream version
2040875
101a46a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-7
101a46a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
101a46a
9b39116
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.34-6
9b39116
- 661697 rebuild for fixing problems with vendorach/lib
9b39116
12a060e
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.34-5
12a060e
- Mass rebuild with perl-5.12.0
12a060e
cf7f873
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.34-4
cf7f873
- rebuild against perl 5.10.1
cf7f873
b15275e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-3
b15275e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b15275e
4d74067
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
4d74067
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4d74067
89b7600
* Tue Nov 18 2008 Iain Arnell <iarnell@gmail.com> 0.34-1
89b7600
- Specfile autogenerated by cpanspec 1.77.