diff options
-rw-r--r-- | packaging/perl-WWW-Curl.manifest | 5 | ||||
-rw-r--r-- | packaging/perl-WWW-Curl.spec | 44 |
2 files changed, 49 insertions, 0 deletions
diff --git a/packaging/perl-WWW-Curl.manifest b/packaging/perl-WWW-Curl.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/perl-WWW-Curl.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> 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 |