%define upstream_name HTTP-Lite %define upstream_version 2.42 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Lightweight HTTP implementation License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/HTTP/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) >= 6.420.0 BuildArch: noarch %description HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation for perl. It is not intended as a replacement for the fully-features LWP module. Instead, it is intended for use in situations where it is desirable to install the minimal number of modules to achieve HTTP support, or where LWP is not a good candidate due to CPU overhead, such as slower processors. HTTP::Lite is also significantly faster than LWP. HTTP::Lite is ideal for CGI (or mod_perl) programs or for bundling for redistribution with larger packages where only HTTP GET and POST functionality are necessary. HTTP::Lite supports basic POST and GET operations only. As of 0.2.1, HTTP::Lite supports HTTP/1.1 and is compliant with the Host header, necessary for name based virtual hosting. Additionally, HTTP::Lite now supports Proxies. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes LICENSE META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sat Oct 19 2013 umeabot <umeabot> 2.420.0-2.mga4 + Revision: 530329 - Mageia 4 Mass Rebuild * Mon Jul 22 2013 sander85 <sander85> 2.420.0-1.mga4 + Revision: 457261 - update to 2.42 * Mon Jul 22 2013 sander85 <sander85> 2.410.0-1.mga4 + Revision: 457084 - update to 2.41 * Sun Jan 13 2013 umeabot <umeabot> 2.400.0-2.mga3 + Revision: 368288 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Aug 31 2012 kharec <kharec> 2.400.0-1.mga3 + Revision: 286183 - update to 2.4 * Tue Jan 18 2011 jquelin <jquelin> 2.300.0-1.mga1 + Revision: 22019 - cleaning spec file - imported package perl-HTTP-Lite * Fri Dec 17 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.300.0-1mdv2011.0 + Revision: 622698 - update to new version 2.3 * Sun Oct 17 2010 Thierry Vignaud <tv@mandriva.org> 2.200.0-2mdv2011.0 + Revision: 586146 - fix description * Sat Oct 16 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.200.0-1mdv2011.0 + Revision: 586065 - import perl-HTTP-Lite