commit 225cfcae0303be2e0110898849dbcfda8cf4fc81 Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Wed Jan 18 17:18:57 2012 +0100 Import. .gitignore | 1 + perl-LWP-Protocol-http10.spec | 62 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..6092435 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/LWP-Protocol-http10-6.02.tar.gz diff --git a/perl-LWP-Protocol-http10.spec b/perl-LWP-Protocol-http10.spec new file mode 100644 index 0000000..2148a24 --- /dev/null +++ b/perl-LWP-Protocol-http10.spec @@ -0,0 +1,62 @@ +Name: perl-LWP-Protocol-http10 +Version: 6.02 +Release: 3%{?dist} +Summary: Legacy HTTP/1.0 support for LWP +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/LWP-Protocol-http10/ +Source0: http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-http10-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(HTTP::Response) >= 6 +BuildRequires: perl(HTTP::Status) >= 6 +BuildRequires: perl(LWP::Protocol) >= 6 + +Requires: perl(HTTP::Response) >= 6 +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(HTTP::Response\\) +Requires: perl(HTTP::Status) >= 6 +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(HTTP::Status\\) +Requires: perl(LWP::Protocol) >= 6 +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(LWP::Protocol\\) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Make optional dependency mandatory +Requires: perl(URI::Escape) + +%description +The LWP::Protocol::http10 module provides support for using HTTP/1.0 +protocol with LWP. To use it you need to call LWP::Protocol::implementor() +to override the standard handler for http URLs. + +%prep +%setup -q -n LWP-Protocol-http10-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +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 + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jan 16 2012 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 6.02-3 +- Rework filters. + +* Fri Jun 19 2011 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 6.02-2 +- Reflect feedback from package review. + +* Mon Apr 18 2011 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 6.02-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..13d4e29 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +112c39e0bf0c58a6c092f24643f8e37c LWP-Protocol-http10-6.02.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