diff options
Diffstat (limited to 'packaging/perl-WWW-Curl.spec')
-rw-r--r-- | packaging/perl-WWW-Curl.spec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/perl-WWW-Curl.spec b/packaging/perl-WWW-Curl.spec new file mode 100644 index 0000000..59d8c21 --- /dev/null +++ b/packaging/perl-WWW-Curl.spec @@ -0,0 +1,44 @@ +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 |