Ver código fonte

curl:
- update to 7.28.0
- add configure options
- --enable-ssh2, --enable-threaded-resolver, --enable-ldaps
- add BR: libssh2-devel, openssh-clients, openssh-server, pkgconfig

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7033 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 12 anos atrás
pai
commit
09427b37bf
1 arquivos alterados com 29 adições e 8 exclusões
  1. 29 8
      c/curl/curl-vl.spec

+ 29 - 8
c/curl/curl-vl.spec

@@ -3,7 +3,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others).
 Summary(ja): リモートサーバ(FTP,HTTPなど)からファイルを取得するためのユーティリティ
 Name: curl 
-Version: 7.24.0
+Version: 7.28.0
 Release: 1%{?_dist_release}
 License: MIT/X
 Group: Applications/Internet
@@ -13,10 +13,15 @@ URL: http://curl.haxx.se/
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: openssl-devel libidn-devel zlib-devel
 BuildRequires: openldap-devel gnutls-devel
-Requires: openssl libidn zlib
+BuildRequires: libssh2-devel
+BuildRequires: openssh-clients
+BuildRequires: openssh-server
+BuildRequires: pkgconfig
+Requires: ca-certificates
 
 Vendor: Project Vine
 Distribution: Vine Linux
+Packager: daisuke
 
 %description
 cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
@@ -67,12 +72,18 @@ use cURL's capabilities internally.
 %setup -q 
 
 %build
-%configure --with-ssl=%{_prefix} --with-gnutls --with-libidn --enable-ipv6 --disable-static
-%ifarch alpha
-make %{?_smp_mflags} CFLAGS=""
-%else
+%configure \
+  --with-ssl=%{_prefix} \
+  --with-gnutls \
+  --with-libidn \
+  --enable-ipv6 \
+  --enable-threaded-resolver \
+  --with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
+  --with-libssh2 \
+  --enable-ldaps \
+  --disable-static
+
 make %{?_smp_mflags}
-%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -96,7 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/curl
 #{_datadir}/curl/*
 %{_libdir}/*.so.*
-%{_mandir}/man1/curl.1*
+%{_mandir}/man1/*.1*
 
 %files devel
 %defattr(-,root,root)
@@ -121,6 +132,16 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Sun Oct 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 7.28.0-1
+- update to 7.28.0
+- add configure options
+  - --enable-ssh2, --enable-threaded-resolver, --enable-ldaps
+- add BR: libssh2-devel, openssh-clients, openssh-server, pkgconfig
+  
+- use ca-certificates package
+  - --with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt
+  - R: ca-certificates
+
 * Tue Feb 21 2012 NAKAMURA Kenta <kenta@vinelinux.org> 7.24.0-1
 - new upstream release