Name: perl-CGI-Deurl-XS Version: 0.07 Release: 1%{?dist} Summary: Fast decoder for URL parameter strings License: (GPL+ or Artistic) and ASL 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Deurl-XS/ Source0: http://www.cpan.org/modules/by-module/CGI/CGI-Deurl-XS-%{version}.tar.gz BuildRequires: perl BuildRequires: perl(AutoLoader) BuildRequires: perl(Carp) BuildRequires: perl(encoding) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::Constant) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Spec) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module decodes a URL-encoded parameter string in the manner of CGI.pm. However, as it uses C code from libapreq to perform the task, it's somewhere from slightly to much faster (depending on your strings) than using CGI or a functionally similar module like CGI::Deurl. %prep %setup -q -n CGI-Deurl-XS-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/CGI* %{_mandir}/man3/* %changelog * Fri Oct 03 2014 David Dick - 0.07-1 - Initial release