Bump to perl-WWW-Curl 4.17 51/278651/1 sandbox/dh0128.kwak/perl-WWW-Curl-4.17-20220725 tizen submit/tizen/20220725.044910
authorDongHun Kwak <dh0128.kwak@samsung.com>
Sun, 24 Jul 2022 23:35:23 +0000 (08:35 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Sun, 24 Jul 2022 23:35:23 +0000 (08:35 +0900)
Change-Id: I6f68ca093aa5f9727633becc84955962876afd39

packaging/perl-WWW-Curl.manifest [new file with mode: 0644]
packaging/perl-WWW-Curl.spec [new file with mode: 0644]

diff --git a/packaging/perl-WWW-Curl.manifest b/packaging/perl-WWW-Curl.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -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 (file)
index 0000000..59d8c21
--- /dev/null
@@ -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