summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2022-07-25 08:35:23 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2022-07-25 08:35:23 +0900
commit7162938c8cfbdb416d8ff8d60aa729417d144ab2 (patch)
tree833780a4c2181bbd328b5348cc8e15e28c91ba36 /packaging
parent9b3f69794dbf1f525bc1d1f15aa3403f55da92fe (diff)
downloadperl-WWW-Curl-tizen.tar.gz
perl-WWW-Curl-tizen.tar.bz2
perl-WWW-Curl-tizen.zip
Change-Id: I6f68ca093aa5f9727633becc84955962876afd39
Diffstat (limited to 'packaging')
-rw-r--r--packaging/perl-WWW-Curl.manifest5
-rw-r--r--packaging/perl-WWW-Curl.spec44
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