+Name: perl-WWW-Curl
+Version: 4.17
+Release: 0
+%define cpan_name WWW-Curl
+Summary: Perl extension interface for libcurl
+License: MIT
+Group: Development/Libraries/Perl
+URL: http://search.cpan.org/dist/WWW-Curl/
+Source: %{cpan_name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(Module::Install)
+
+BuildRequires: libcurl-devel
+Requires: curl
+
+%description
+WWW::Curl is a Perl extension interface for libcurl.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%{__make} %{?_smp_mflags}
+
+%check
+# MANUAL requires online access
+#%{__make} test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%remove_docs
+%perl_gen_filelist
+
+%files -f %{name}.files
+%manifest %{name}.manifest
+%license LICENSE
+
+%changelog