X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=curl%2Fmingw32-curl.spec;h=14bffee3ab1993445e5d148ba930bf8c0031a824;hb=c76b6c3e4ebfd3b43b138dbf511f55340e822e18;hp=ece71f64a7c427f833b9cd0338fcf623cd7a7ee1;hpb=a0117551dc940249c9aa4fd53e24dac6ab57e541;p=fedora-mingw.git diff --git a/curl/mingw32-curl.spec b/curl/mingw32-curl.spec index ece71f6..14bffee 100644 --- a/curl/mingw32-curl.spec +++ b/curl/mingw32-curl.spec @@ -5,7 +5,7 @@ %define __find_provides %{_mingw32_findprovides} Name: mingw32-curl -Version: 7.18.2 +Version: 7.19.4 Release: 1%{?dist} Summary: MinGW Windows port of curl and libcurl @@ -21,13 +21,13 @@ BuildArch: noarch Patch1: curl-7.15.3-multilib.patch Patch2: curl-7.16.0-privlibs.patch Patch3: curl-7.17.1-badsocket.patch -Patch4: curl-7.18.2-nssproxy.patch -Patch5: curl-7.18.2-nss-thread-safety.patch +Patch4: curl-7.19.4-tool-leak.patch +Patch5: curl-7.19.4-enable-aes.patch # MinGW-specific patches. Patch1000: mingw-curl-7.18.2-getaddrinfo.patch -BuildRequires: mingw32-filesystem >= 34 +BuildRequires: mingw32-filesystem >= 35 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils BuildRequires: pkgconfig @@ -48,6 +48,8 @@ BuildRequires: mingw32-openssl # Not started porting this package yet. #BuildRequires: mingw32-krb5 +Requires: pkgconfig + %description cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS, @@ -60,14 +62,23 @@ resume. This is the MinGW cross-compiled Windows library. +%package static +Summary: Static version of the MinGW Windows Curl library +Requires: %{name} = %{version}-%{release} +Group: Development/Libraries + +%description static +Static version of the MinGW Windows Curl library. + + %prep %setup -q -n curl-%{version} %patch1 -p1 -b .multilib %patch2 -p1 -b .privlibs %patch3 -p1 -b .badsocket -%patch4 -p1 -b .nssproxy -%patch5 -p1 -b .nssthreadsafety +%patch4 -p1 -b .toolleak +%patch5 -p1 -b .enableaes %patch1000 -p1 -b .getaddrinfo @@ -77,9 +88,14 @@ This is the MinGW cross-compiled Windows library. --with-ssl --enable-ipv6 \ --with-ca-bundle=%{_mingw32_sysconfdir}/pki/tls/certs/ca-bundle.crt \ --with-libidn \ - --disable-static --with-libssh2 \ + --enable-static --with-libssh2 \ --without-random +# It's not clear where to set the --with-ca-bundle path. This is the +# default for CURLOPT_CAINFO. If this doesn't exist, you'll get an +# error from all https transfers unless the program sets +# CURLOPT_CAINFO to point to the correct ca-bundle.crt file. + # --without-random disables random number collection (eg. from # /dev/urandom). There isn't an obvious alternative for Windows: # Perhaps we can port EGD or use a library such as Yarrow. @@ -109,7 +125,8 @@ rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root) +%defattr(-,root,root,-) +%doc COPYING %{_mingw32_bindir}/curl-config %{_mingw32_bindir}/curl.exe %{_mingw32_bindir}/libcurl-4.dll @@ -119,6 +136,32 @@ rm -rf $RPM_BUILD_ROOT %{_mingw32_includedir}/curl/ +%files static +%defattr(-,root,root,-) +%{_mingw32_libdir}/libcurl.a + %changelog +* Fri Apr 3 2009 Erik van Pienbroek - 7.19.4-1 +- Update to version 7.19.4 +- Fixed %%defattr line +- Added -static subpackage. Applications which want to use this + static library need to add -DCURL_STATICLIB to the CFLAGS +- Merged the patches of the native .spec file (7.19.4-5) + +* Fri Feb 20 2009 Richard W.M. Jones - 7.18.2-6 +- Rebuild for mingw32-gcc 4.4 + +* Fri Feb 6 2009 Richard W.M. Jones - 7.18.2-5 +- Include license. + +* Fri Feb 6 2009 Richard W.M. Jones - 7.18.2-4 +- Rebuild against new OpenSSH (because of soname bump). + +* Fri Jan 30 2009 Richard W.M. Jones - 7.18.2-3 +- Requires pkgconfig. + +* Thu Nov 13 2008 Richard W.M. Jones - 7.18.2-2 +- Requires mingw32-filesystem >= 35. + * Thu Nov 13 2008 Richard W.M. Jones - 7.18.2-1 - Initial RPM release.