|
@@ -1,10 +1,14 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
|
|
+%if %{?_dist_release} != "vl6"
|
|
|
|
+%global with_http2 1
|
|
|
|
+%endif
|
|
|
|
+
|
|
Summary: A utility for getting files from remote servers (FTP, HTTP, and others).
|
|
Summary: A utility for getting files from remote servers (FTP, HTTP, and others).
|
|
Summary(ja): リモートサーバ(FTP,HTTPなど)からファイルを取得するためのユーティリティ
|
|
Summary(ja): リモートサーバ(FTP,HTTPなど)からファイルを取得するためのユーティリティ
|
|
Name: curl
|
|
Name: curl
|
|
-Version: 7.49.1
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 7.50.0
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
License: MIT
|
|
License: MIT
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
@@ -21,7 +25,6 @@ Patch104: 0104-curl-7.19.7-localhost6.patch
|
|
Patch107: 0107-curl-7.21.4-libidn-valgrind.patch
|
|
Patch107: 0107-curl-7.21.4-libidn-valgrind.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: libnghttp2-devel
|
|
|
|
BuildRequires: openssl-devel libidn-devel zlib-devel
|
|
BuildRequires: openssl-devel libidn-devel zlib-devel
|
|
BuildRequires: openldap-devel gnutls-devel
|
|
BuildRequires: openldap-devel gnutls-devel
|
|
BuildRequires: openssh-server
|
|
BuildRequires: openssh-server
|
|
@@ -30,6 +33,10 @@ BuildRequires: pkgconfig
|
|
%if "%{?_dist_release}" != "vl6"
|
|
%if "%{?_dist_release}" != "vl6"
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: libssh2-devel
|
|
%endif
|
|
%endif
|
|
|
|
+%if 0%{?with_http2}
|
|
|
|
+BuildRequires: libnghttp2-devel
|
|
|
|
+%endif
|
|
|
|
+
|
|
Requires: ca-certificates
|
|
Requires: ca-certificates
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -95,12 +102,14 @@ use cURL's capabilities internally.
|
|
--with-ssl=%{_prefix} \
|
|
--with-ssl=%{_prefix} \
|
|
--with-gnutls \
|
|
--with-gnutls \
|
|
--with-libidn \
|
|
--with-libidn \
|
|
- --with-nghttp2 \
|
|
|
|
--enable-ipv6 \
|
|
--enable-ipv6 \
|
|
--enable-threaded-resolver \
|
|
--enable-threaded-resolver \
|
|
--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
|
|
--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
|
|
%if "%{?_dist_release}" != "vl6"
|
|
%if "%{?_dist_release}" != "vl6"
|
|
--with-libssh2 \
|
|
--with-libssh2 \
|
|
|
|
+%endif
|
|
|
|
+%if 0%{?with_http2}
|
|
|
|
+ --with-nghttp2 \
|
|
%endif
|
|
%endif
|
|
--enable-ldaps \
|
|
--enable-ldaps \
|
|
--disable-static \
|
|
--disable-static \
|
|
@@ -123,6 +132,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
|
|
+%{!?_licensedir:%global license %%doc}
|
|
%license COPYING
|
|
%license COPYING
|
|
%doc CHANGES README
|
|
%doc CHANGES README
|
|
%doc docs/BUGS docs/CONTRIBUTE docs/examples docs/FAQ docs/FEATURES
|
|
%doc docs/BUGS docs/CONTRIBUTE docs/examples docs/FAQ docs/FEATURES
|
|
@@ -157,6 +167,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Jul 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.50.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- disabled HTTP/2 on Vine6.
|
|
|
|
+
|
|
* Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.49.1-2
|
|
* Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.49.1-2
|
|
- added HTTP/2 support.
|
|
- added HTTP/2 support.
|
|
|
|
|