%define major 4 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d Summary: Gets a file from a FTP, GOPHER or HTTP server Name: curl Version: 7.26.0 Release: 2 Epoch: 1 License: BSD-like Group: Networking/Other URL: http://curl.haxx.se Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma Source1: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma.asc Patch3: %{name}-7.21.5-privlibs.patch Patch4: %{name}-7.15.3-multilib.patch Patch6: %{name}-7.26.0-do-not-build-examples.patch BuildRequires: groff-for-man BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: libidn-devel BuildRequires: libssh2-devel BuildRequires: openldap-devel BuildRequires: krb5-devel #BuildRequires: c-ares-devel # (misc) required for testing BuildRequires: stunnel Provides: webfetch Requires: %{libname} = %{EVRD} %description curl is a client to get documents/files from servers, using any of the supported protocols. The command is designed to work without user interaction or any kind of interactivity. curl offers a busload of useful tricks like proxy support, user authentication, ftp upload, HTTP post, file transfer resume and more. This version is compiled with SSL (https) support. %package -n %{libname} Summary: A library of functions for file transfer Group: Networking/Other Requires: rootcerts >= 1:20070713.00 %description -n %{libname} libcurl is a library of functions for sending and receiving files through various protocols, including http and ftp. You should install this package if you plan to use any applications that use libcurl. %package -n %{develname} Summary: Header files and static libraries for libcurl Group: Development/C Requires: %{libname} = %{EVRD} Provides: %{name}-devel = %{EVRD} Provides: lib%{name}-devel = %{EVRD} Provides: libcurl%{major}-devel = %{EVRD} %description -n %{develname} libcurl is a library of functions for sending and receiving files through various protocols, including http and ftp. You should install this package if you wish to develop applications that use libcurl. %package examples Summary: Example files for %{name} development Group: Development/C Requires: %{develname} = %{EVRD} %description examples Example files for %{name} development. %prep %setup -q %patch3 -p1 -b .privlib~ %patch4 -p1 -b .multilib~ %patch6 -p1 -b .examples~ %build autoreconf -fiv %configure2_5x \ --with-ssl \ --without-gnutls \ --with-zlib \ --with-libidn \ --with-ssh2 \ --with-random \ --enable-hidden-symbols \ --enable-optimize \ --enable-nonblocking \ --enable-thread \ --enable-crypto-auth \ --enable-libgcc \ --enable-ldaps \ --enable-ipv6 \ --with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \ --with-gssapi=%{_prefix} \ --disable-ares # we don't want them in curl-examples: %__rm -r docs/examples/.deps %make # disable tests that want to connect/run sshd, which is quite impossible %check %__make test TEST_Q='-a -p -v !SCP !SFTP !SOCKS4 !SOCKS5 !TFTP !198' %install %__rm -rf %{buildroot} %makeinstall_std # [july 2008] HACK. to be replaced by a real fix %__sed -i -e 's!-Wl,--as-needed!!' -e 's!-Wl,--no-undefined!!' %{buildroot}%{_bindir}/%{name}-config %__sed -i -e 's!-Wl,--as-needed!!' -e 's!-Wl,--no-undefined!!' %{buildroot}%{_libdir}/pkgconfig/*.pc %multiarch_binaries %{buildroot}%{_bindir}/%{name}-config # (tpg) use rootcerts's certificates #35917 find %{buildroot} -name ca-bundle.crt -exec rm -f '{}' \; # nuke the static lib %__rm -f %{buildroot}%{_libdir}/*.a # we don't package mk-ca-bundle so we don't need man for it %__rm -f %{buildroot}%{_mandir}/man1/mk-ca-bundle.1* %files %{_bindir}/curl %{_mandir}/man1/curl.1* %files -n %{libname} %{_libdir}/*.so.%{major}* %files -n %{develname} %docdir docs/ %doc docs/BUGS docs/KNOWN_BUGS docs/CONTRIBUTE docs/FAQ CHANGES %doc docs/FEATURES docs/RESOURCES docs/TODO docs/THANKS docs/INTERNALS %{_bindir}/curl-config %{multiarch_bindir}/curl-config %{_libdir}/libcurl.so %{_includedir}/curl %{_libdir}/pkgconfig/*.pc %{_mandir}/man1/curl-config.1* %{_mandir}/man3/* %files examples %doc docs/examples %changelog * Fri May 25 2012 Andrey Bondrov 1:7.26.0-1mdv2012.0 + Revision: 800634 - New version 7.26.0, keep .la file for < 201200, re-diff examples patch * Fri Mar 23 2012 Bernhard Rosenkraenzer 1:7.25.0-1 + Revision: 786368 - 7.25.0 * Mon Feb 13 2012 Andrey Bondrov 1:7.24.0-1 + Revision: 773770 - New version 7.24.0 * Tue Jan 10 2012 Bernhard Rosenkraenzer 1:7.23.1-1 + Revision: 759630 - Update to 7.23.1 * Mon Nov 28 2011 Oden Eriksson 1:7.23.0-2 + Revision: 734996 - remove the static lib and the libtool *.la file * Thu Nov 17 2011 Andrey Bondrov 1:7.23.0-1 + Revision: 731260 - New version 7.23.0 * Wed Oct 05 2011 Andrey Bondrov 1:7.22.0-1 + Revision: 703091 - New version: 7.22.0 * Thu Jun 23 2011 Funda Wang 1:7.21.7-1 + Revision: 686821 - update to new version 7.21.7 * Mon Jun 20 2011 Oden Eriksson 1:7.21.6-2 + Revision: 686306 - avoid pulling 32 bit libraries on 64 bit arch * Sun Apr 24 2011 Funda Wang 1:7.21.6-1 + Revision: 658215 - update to new version 7.21.6 * Mon Apr 18 2011 Funda Wang 1:7.21.5-1 + Revision: 655424 - rediff privlibs pathc - update to new version 7.21.5 * Sun Mar 20 2011 Funda Wang 1:7.21.4-1 + Revision: 647103 - drop old patch, do not know where it comes and breaks test - update to new version 7.21.4 - new version 7.21.3 * Wed Oct 13 2010 Oden Eriksson 1:7.21.2-1mdv2011.0 + Revision: 585378 - 7.21.2 * Fri Aug 13 2010 Funda Wang 1:7.21.1-1mdv2011.0 + Revision: 569377 - new version 7.21.1 * Sat Jul 10 2010 Tomasz Pawel Gajc 1:7.21.0-1mdv2011.0 + Revision: 550163 - ipdate to new version 7.21.0 - drop patch 5 * Wed Apr 28 2010 Christophe Fergeau 1:7.20.1-2mdv2010.1 + Revision: 540021 - rebuild so that shared libraries are properly stripped again * Sun Apr 18 2010 Funda Wang 1:7.20.1-1mdv2010.1 + Revision: 536086 - New version 7.20.1 * Mon Apr 05 2010 Funda Wang 1:7.20.0-3mdv2010.1 + Revision: 531736 - rebuild for new openssl * Fri Feb 26 2010 Oden Eriksson 1:7.20.0-2mdv2010.1 + Revision: 511556 - rebuilt against openssl-0.9.8m * Wed Feb 10 2010 Funda Wang 1:7.20.0-1mdv2010.1 + Revision: 503522 - New version 7.20.0 * Sun Nov 08 2009 Funda Wang 1:7.19.7-1mdv2010.1 + Revision: 462773 - New version 7.19.7 * Wed Oct 07 2009 Tomasz Pawel Gajc 1:7.19.6-3mdv2010.0 + Revision: 455686 - reeanble OpenSSL support instead of GnuTLS (mdvbz #49415) * Sun Sep 13 2009 Tomasz Pawel Gajc 1:7.19.6-2mdv2010.0 + Revision: 439031 - disable c-ares support (mdvbz #47680) * Wed Aug 12 2009 Frederik Himpe 1:7.19.6-1mdv2010.0 + Revision: 415707 - Update to new version 7.19.6 - Remove gnutls 2.8 patch: not needed anymore * Sat May 30 2009 Funda Wang 1:7.19.5-3mdv2010.0 + Revision: 381484 - fix gnutls patch * Sat May 30 2009 Funda Wang 1:7.19.5-2mdv2010.0 + Revision: 381444 - build with latest gnutls 2.8 * Tue May 19 2009 Frederik Himpe 1:7.19.5-1mdv2010.0 + Revision: 377804 - Update to new version 7.19.5 * Sat Mar 07 2009 Tomasz Pawel Gajc 1:7.19.4-1mdv2009.1 + Revision: 350719 - update to new version - drop some libtool hacks * Sun Jan 25 2009 Funda Wang 1:7.19.3-1mdv2009.1 + Revision: 333367 - BR our own libtool + Tomasz Pawel Gajc - update to new version 7.19.3 * Tue Dec 16 2008 Oden Eriksson 1:7.19.2-2mdv2009.1 + Revision: 314898 - rebuild - rediffed one fuzzy patch * Fri Nov 28 2008 Tomasz Pawel Gajc 1:7.19.2-1mdv2009.1 + Revision: 307485 - disable test 198 and TFTP , as it fails while building in iurt chroot > - use GnuTLS instead of OpenSSL > - enable optimizations > - enable support for c-ares - update to new version 7.19.2 - update to new version 7.19.1 - patch 7 was applied by upstream * Fri Oct 24 2008 Adam Williamson 1:7.19.0-3mdv2009.1 + Revision: 296893 - from upstream CVS: add turkish.patch (backported), to fix a string comparison bug which ultimately resulted in MCC being unable to render icons in Turkish locale (MDV bug #44710) * Mon Sep 08 2008 Tomasz Pawel Gajc 1:7.19.0-2mdv2009.0 + Revision: 282826 - drop patch2, fixed differently by upstream * Thu Sep 04 2008 Tomasz Pawel Gajc 1:7.19.0-1mdv2009.0 + Revision: 280095 - update to new version 7.19.0 - Patch2: rediff - Patch5: patch configure.ac to pass -llber to LIBS if found and LDAP support is enabled * Wed Jul 02 2008 Pixel 1:7.18.2-3mdv2009.0 + Revision: 230745 - do not export --no-undefined in curl-config/libcurl.pc - allow to rpmbuild --without build * Mon Jun 16 2008 Anssi Hannula 1:7.18.2-2mdv2009.0 + Revision: 219521 - re-enable --no-undefined and add fix-underlinking.patch + Pixel - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Fri Jun 06 2008 Tomasz Pawel Gajc 1:7.18.2-1mdv2009.0 + Revision: 216302 - enable support for ipv6 - disable --no-undefinied as it fails on ldap part - update to new version 7.18.2 * Tue Apr 08 2008 Tomasz Pawel Gajc 1:7.18.1-1mdv2009.0 + Revision: 192382 - new version * Tue Jan 29 2008 Funda Wang 1:7.18.0-1mdv2008.1 + Revision: 159627 - New version 7.18.0 * Thu Jan 24 2008 Tomasz Pawel Gajc 1:7.17.1-10mdv2008.1 + Revision: 157617 + rebuild (emptylog) * Wed Jan 23 2008 Tomasz Pawel Gajc 1:7.17.1-9mdv2008.1 + Revision: 157221 - sync with Fedora patches - license is now BSD-like - mark curl-config as a multiarch binary - do not obsolete devel library by itself * Fri Dec 21 2007 Adam Williamson 1:7.17.1-8mdv2008.1 + Revision: 136160 - rebuild for new libldap * Thu Dec 20 2007 Oden Eriksson 1:7.17.1-7mdv2008.1 + Revision: 135416 - fix deps (whoops!) - use the correct syntax for the rootcerts dependency + Thierry Vignaud - kill re-definition of %%buildroot on Pixel's request * Fri Dec 14 2007 Tomasz Pawel Gajc 1:7.17.1-6mdv2008.1 + Revision: 119597 - move requires of rootcerts to the library - compile with kerberos support - add some options to the configure * Thu Dec 13 2007 Tomasz Pawel Gajc 1:7.17.1-5mdv2008.1 + Revision: 119182 - enable OpenLDAP support (fixes bug #35919) - use rootcerts certificates (fixes bug #35917) * Wed Nov 14 2007 Funda Wang 1:7.17.1-4mdv2008.1 + Revision: 108624 - fix requirs of example package * Mon Nov 05 2007 Tomasz Pawel Gajc 1:7.17.1-3mdv2008.1 + Revision: 106222 - rebuild for lzma permissions issue (#35309) - manpages had wrong permissions due to lzma bug ##35309 * Fri Nov 02 2007 Funda Wang 1:7.17.1-2mdv2008.1 + Revision: 105095 - Merge spec changes from bug#35225 (run regression check when building) * Mon Oct 29 2007 Tomasz Pawel Gajc 1:7.17.1-1mdv2008.1 + Revision: 103651 - new version * Sat Oct 27 2007 Tomasz Pawel Gajc 1:7.17.0-1mdv2008.1 + Revision: 102482 - disable check, because they want to connect to or run sshd, and this is quite impossible in mdv's buildsystem (other tests are fine and passes) - new version - kill patches 2 and 6 - remove old patch entries - remove libtoolize, use macros for configure script - enable checks by default - compile with unchanged optflags - remove rpath - move examples from devel package to its own - all docs goes to devel package - compile with support for libssh - spec file clean * Fri Aug 03 2007 Tomasz Pawel Gajc 1:7.16.4-2mdv2008.0 + Revision: 58744 - provide patch 6 (hopefully fixes bug #32261) * Thu Jul 12 2007 Tomasz Pawel Gajc 1:7.16.4-1mdv2008.0 + Revision: 51466 - new version * Tue Jun 26 2007 Tomasz Pawel Gajc 1:7.16.3-1mdv2008.0 + Revision: 44577 - new version - new devel library policy - spec file clean * Mon May 21 2007 Jérôme Soyer 1:7.16.2-1mdv2008.0 + Revision: 29220 - Sync - Build without test * Mon Apr 02 2007 Adam Williamson 7.16.0-9mdv2007.1 + Revision: 150180 - fix patch5 (remove header change) - bump release - patch5 (CVS): fix -f with username / password in URL (fixes Club urpmi media with curl) * Wed Feb 14 2007 Gwenole Beauchesne 1:7.16.0-8mdv2007.1 + Revision: 120832 - fix tests (CVS) * Sat Jan 13 2007 Olivier Blin 1:7.16.0-7mdv2007.1 + Revision: 108344 - set magic number for easy handles (fix git-http-fetch with curl) - bunzip2 patches + Pascal Terjan - Fix group + Pixel - fix group (#28147) * Fri Dec 01 2006 Andreas Hasenack 1:7.16.0-5mdv2007.1 + Revision: 89669 - bump release - one more provides for libcurl-devel * Mon Nov 27 2006 Andreas Hasenack 1:7.16.0-4mdv2007.1 + Revision: 87654 - new release - one more provides for the devel package + Michael Scherer - move check in their own section %%check * Thu Nov 23 2006 Andreas Hasenack 1:7.16.0-3mdv2007.1 + Revision: 86681 - final update to 7.16.0 - this is our default devel library now (7.16.0, soname 4) * Thu Nov 23 2006 Andreas Hasenack 1:7.15.5-3mdv2007.1 + Revision: 86627 - drop devel provides for this version of libcurl: major 4 is the next one - include epoch in provides and requires also + Götz Waschk - fix file list * Wed Nov 22 2006 Andreas Hasenack 1:7.15.5-2mdv2007.1 + Revision: 86445 - revert 7.16.0 update: we need libcurl.so.3 around for a while + Anssi Hannula - ensure library major correctness * Wed Nov 22 2006 Pixel 7.16.0-2mdv2007.1 + Revision: 86270 - library major is now 4 (libcurl.so.4) * Wed Nov 22 2006 Jérôme Soyer 7.16.0-1mdv2007.1 + Revision: 86135 - New release 7.16.0 - Import curl * Fri Aug 18 2006 Jerome Soyer 7.15.5-1mdv2007.0 - New release 7.15.5 * Thu Jun 22 2006 Jerome Soyer 7.15.4-1mdv2007.0 - New release 7.15.4 * Mon Mar 20 2006 Rafael Garcia-Suarez 7.15.3-1mdk - New version 7.15.3 * Wed Mar 15 2006 Rafael Garcia-Suarez 7.15.2-3mdk - Add libidn in buildrequires * Wed Mar 01 2006 Rafael Garcia-Suarez 7.15.2-2mdk - Skip test 252 for x86_64 * Tue Feb 28 2006 Rafael Garcia-Suarez 7.15.2-1mdk - 7.15.2 - Don't skip test 241 * Thu Jan 05 2006 Oden Eriksson 7.15.1-2mdk - rebuilt to fix one /lib6464 issue in openssl-devel * Wed Dec 07 2005 Rafael Garcia-Suarez 7.15.1-1mdk - New version 7.15.1 * Sun Nov 13 2005 Oden Eriksson 7.15.0-2mdk - rebuilt against openssl-0.9.8a * Fri Oct 14 2005 Rafael Garcia-Suarez 7.15.0-1mdk - 7.15.0 - Fix build issue on x86_64 (Oden) * Tue Oct 04 2005 Rafael Garcia-Suarez 7.14.1-1mdk - New version - Now OK with valgrind * Wed May 18 2005 Rafael Garcia-Suarez 7.14.0-2mdk - Make curl require libcurl of same version - Remove special case for test 517 on x86_64 and disable patch 2 * Tue May 17 2005 Rafael Garcia-Suarez 7.14.0-1mdk - 7.14.0 - Force -O0 on CFLAGS, otherwise the produced executable segfaults * Fri Apr 22 2005 Rafael Garcia-Suarez 7.13.2-1mdk - 7.13.2 - Remove patch 3, merged upstream * Tue Mar 08 2005 Rafael Garcia-Suarez 7.13.1-2mdk - Patch 3: curl was writing Last-Modified-Since header to files downloaded from FTP with the -R option * Mon Mar 07 2005 Rafael Garcia-Suarez 7.13.1-1mdk - New version. * Wed Feb 09 2005 Gwenole Beauchesne 7.13.0-2mdk - 64-bit fixes in the testsuite for curl_getdate() with 64-bit time_t * Tue Feb 01 2005 Rafael Garcia-Suarez 7.13.0-1mdk - New release - Remove patch 2 * Mon Jan 31 2005 Christiaan Welvaart 7.12.3-2mdk - patch2 (from cvs): fix segfault on ppc * Mon Dec 20 2004 Rafael Garcia-Suarez 7.12.3-1mdk - New version - Skip (new) test 241 * Mon Nov 08 2004 Rafael Garcia-Suarez 7.12.2-1mdk - New version 7.12.2 - Remove patch 0 * Wed Aug 11 2004 Rafael Garcia-Suarez 7.12.1-1mdk - New version 7.12.1 * Tue Jun 29 2004 Rafael Garcia-Suarez 7.12.0-1mdk - New version 7.12.0 * Mon May 24 2004 Guillaume Cottenceau 7.11.2-2mdk - use lib/progress.c from cvs to have working percentage of download to have it working in urpmi * Fri May 14 2004 Michael Scherer 7.11.2-1mdk - New release 7.11.2 - remove not really documented oneliner * Sat Apr 24 2004 Michael Scherer 7.11.1-1mdk - New release 7.11.1 - add BuildRequires