commit a5997950d1a444e0cdef4694f398d4176bb366d2 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Thu Mar 7 23:49:18 2013 +0100 Initial import. .gitignore | 1 + perl-URI-Escape-XS.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3111afa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/URI-Escape-XS-0.10.tar.gz diff --git a/perl-URI-Escape-XS.spec b/perl-URI-Escape-XS.spec new file mode 100644 index 0000000..b34ebb7 --- /dev/null +++ b/perl-URI-Escape-XS.spec @@ -0,0 +1,65 @@ +Name: perl-URI-Escape-XS +Version: 0.10 +Release: 3%{?dist} +Summary: Drop-In replacement for URI::Escape +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/URI-Escape-XS/ +Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/URI-Escape-XS-%{version}.tar.gz + +BuildRequires: perl(base) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Carp) + +%{?perl_default_filter} + +%description +This is a drop-in replacement for the URI::Escape module. Since it +uses XS, it is really fast except for uri_escape("noop"). + +%prep +%setup -q -n URI-Escape-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/URI* +%{perl_vendorarch}/URI* +%{_mandir}/man3/* + +%changelog +* Tue Mar 05 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.10-3 +- Change perl(Carp) from a BR to a R + +* Tue Mar 05 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.10-2 +- Take into account comments of review (#916670) + +* Thu Feb 28 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.10-1 +- Update to 0.10 + +* Mon Aug 13 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.09-1 +- Update to 0.09 + +* Mon Jul 30 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.08-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..23caf82 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +23453334534498de37a758de3b077793 URI-Escape-XS-0.10.tar.gz -- 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