commit b03ff80841b105c6a62547423d5b15b7ffd45901 Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> Date: Wed Jan 2 10:26:05 2013 +0800 Initial package for Fedora This was submitted on Wed Jan 02 2013: https://bugzilla.redhat.com/show_bug.cgi?id=891152#c0 perl-Regexp-Assemble-Compressed.spec | 53 ++++++++++++++++++++++++++++++++++ 1 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/perl-Regexp-Assemble-Compressed.spec b/perl-Regexp-Assemble-Compressed.spec new file mode 100644 index 0000000..501a8f6 --- /dev/null +++ b/perl-Regexp-Assemble-Compressed.spec @@ -0,0 +1,53 @@ +Name: perl-Regexp-Assemble-Compressed +Summary: Assemble more compressed Regular Expression +Version: 0.02 +Release: 1%{?dist} +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Regexp-Assemble-Compressed/ +Source0: http://www.cpan.org/authors/id/T/TA/TANIGUCHI/Regexp-Assemble-Compressed-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::Builder::Module) +BuildRequires: perl(Regexp::Assemble) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Regexp::Assemble::Compressed is a subclass of Regexp::Assemble. It +assembles more compressed regular expressions. + + +%prep +%setup -q -n Regexp-Assemble-Compressed-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + + +%check +make test + + +%files +%doc Changes README +%{perl_vendorlib}/Regexp +%{_mandir}/man3/Regexp::Assemble::Compressed.3pm* + + +%changelog +* Wed Jan 02 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 0.02-1 +- Initial package for Fedora, with help from cpanspec. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel