%define module WWW-Curl %define name perl-%{module} %define version 3.02 %define release %mkrel 5 Summary: Perl extension interface for libcurl Name: %{name} Version: %{version} Release: %{release} License: Artistic/GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{module}/ Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/WWW/%{module}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRequires: libcurl-devel Obsoletes: perl-Curl-easy Provides: perl-Curl-easy Buildroot: %{_tmppath}/%{name}-root %description WWW::Curl is a Perl extension interface for libcurl. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} # yes, some tests are interactive. that's Evil. # no point in running them, then: they'll be skipped #%{__make} test < /dev/null %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc README Changes %{perl_vendorarch}/WWW/* %{perl_vendorarch}/auto/WWW/* %{_mandir}/*/* %clean rm -rf $RPM_BUILD_ROOT %changelog * Sat Jan 27 2007 Emmanuel Andry <eandry@mandriva.org> 3.02-5mdv2007.0 + Revision: 114330 - rebuild for libcurl - Import perl-WWW-Curl * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 3.02-4mdk - Fix SPEC according to Perl Policy - Source URL * Mon Mar 20 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 3.02-3mdk - rebuild * Wed Nov 30 2005 Oden Eriksson <oeriksson@mandriva.com> 3.02-2mdk - rebuilt against openssl-0.9.8a * Mon Oct 03 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 3.02-1mdk - First Mandriva release. Replaces perl-Curl-easy.