From 7162938c8cfbdb416d8ff8d60aa729417d144ab2 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Mon, 25 Jul 2022 08:35:23 +0900 Subject: Bump to perl-WWW-Curl 4.17 Change-Id: I6f68ca093aa5f9727633becc84955962876afd39 --- packaging/perl-WWW-Curl.manifest | 5 +++++ packaging/perl-WWW-Curl.spec | 44 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 packaging/perl-WWW-Curl.manifest create mode 100644 packaging/perl-WWW-Curl.spec (limited to 'packaging') 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 @@ + + + + + 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 -- cgit v1.2.3