3 %bcond_without ssl # without SSL support
4 %bcond_without heimdal # without HEIMDAL support
6 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
7 Summary(es): Un cliente para bajar archivos de servidores (FTP, HTTP, y otros)
8 Summary(pl): Narzêdzie do ¶ci±gania plików z serwerów (FTP, HTTP i innych)
9 Summary(pt_BR): Busca URL (suporta FTP, TELNET, LDAP, GOPHER, DICT, HTTP e HTTPS)
10 Summary(ru): õÔÉÌÉÔÁ ÄÌÑ ÐÏÌÕÞÅÎÉÑ ÆÁÊÌÏ× Ó ÓÅÒ×ÅÒÏ× FTP, HTTP É ÄÒÕÇÉÈ
11 Summary(uk): õÔÉ̦ÔÁ ÄÌÑ ÏÔÒÉÍÁÎÎÑ ÆÁÊÌ¦× Ú ÓÅÒ×ÅÒ¦× FTP, HTTP ÔÁ ¦ÎÛÉÈ
16 Vendor: Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
17 Group: Applications/Networking
18 Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
19 # Source0-md5: e3b130320d3704af375c097606f49c01
20 Patch0: %{name}-no_strip.patch
21 Patch1: %{name}-ac.patch
22 Patch2: %{name}-heimdal.patch
23 URL: http://curl.haxx.se/
24 BuildRequires: autoconf >= 2.57
25 BuildRequires: automake
26 BuildRequires: libidn-devel >= 0.4.1
27 %{?with_heimdal:BuildRequires: heimdal-devel >= 0.7}
28 BuildRequires: libtool
29 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
30 Requires: openssl-tools >= 0.9.7d
31 Requires: libidn >= 0.4.1
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 cURL is a tool for getting files with URL syntax, supporting FTP,
37 HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. cURL supports HTTP
38 POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies,
39 cookies, user+password authentication and a busload of other useful
40 tricks. The main use for curl is when you want to get or send files
41 automatically to or from a site using one of the supported protocols.
43 cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
44 Dict servers, using any of the supported protocols. cURL is designed
45 to work without user interaction or any kind of interactivity. cURL
46 offers many useful capabilities, like proxy support, user
47 authentication, FTP upload, HTTP post, and file transfer resume.
50 cURL jest narzêdziem do ¶ci±gania plików o sk³adni URL. Obs³uguje FTP,
51 HTTP, HTTPS, GOPHER, TELNET, DICT, FILE i LDAP. cURL obs³uguje równie¿
52 HTTP POST, HTTP PUT, za³adowywanie (uploading) FTP, za³adowywanie HTTP
53 oparte na formularzu, serwery proksy, ciasteczka, autoryzacja
54 u¿ytkownik/has³o oraz wiele innych u¿ytecznych sztuczek. Curla u¿ywa
55 siê g³ównie wtedy, kiedy chce siê automatycznie ¶ci±gn±æ lub wys³aæ
56 pliki z/na serwer u¿ywaj±c jednego z dostêpnych protoko³ów.
57 %{?with_ssl:Ten pakiet obs³uguje tak¿e SSL.}
60 Curl é um cliente para baixar/enviar arquivos de/para servidores
61 usando um dos protocolos suportados. É projetado para funcionar sem a
64 Curl trabalha com proxy, autenticação, FTP put, HTTP post, e pode
65 continuar transferências interrompidas, e mais...
68 curl - ÜÔÏ ËÌÉÅÎÔ Ó ÍÎÏÖÅÓÔ×ÏÍ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ÐÒÏÔÏËÏÌÏ× ÄÌÑ ÐÏÌÕÞÅÎÉÑ
69 ÆÁÊÌÏ× Ó ÓÅÒ×ÅÒÏ×, ÓÐÒÏÅËÔÉÒÏ×ÁÎÎÙÊ ÄÌÑ ÒÁÂÏÔÙ ËÁË × ÎÅÉÎÔÅÒÁËÔÉ×ÎÏÍ
70 ÒÅÖÉÍÅ, ÔÁË É Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÄÉÁÌÏÇÁ Ó ÐÏÌØÚÏ×ÁÔÅÌÅÍ.
72 curl ÐÏÄÄÅÒÖÉ×ÁÅÔ ÍÎÏÇÏ ÐÏÌÅÚÎÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ, ÓÒÅÄÉ ËÏÔÏÒÙÈ ÐÏÄÄÅÒÖËÁ
73 ÐÒÏËÓÉ, Á×ÔÏÒÉÚÁÃÉÑ ÐÏÌØÚÏ×ÁÔÅÌÑ, ÚÁËÁÞÉ×ÁÎÉÅ ÐÏ FTP, ÐÏÄÄÅÒÖËÁ HTTP
74 POST, ×ÏÓÓÔÁÎÏ×ÌÅÎÉÅ ÐÒÅÒ×ÁÎÎÏÊ ÐÅÒÅÓÙÌËÉ É ÍÎÏÇÏÅ ÄÒÕÇÏÅ.
76 curl - ÃÅ Ë̦¤ÎÔ Ú ÂÁÇÁÔØÍÁ ЦÄÔÒÉÍÕ×ÁÎÉÍÉ ÐÒÏÔÏËÏÌÁÍÉ ÄÌÑ ÏÔÒÉÍÁÎÎÑ
77 ÆÁÊÌ¦× Ú ÓÅÒ×ÅÒ¦×, ÓÐÒÏÅËÔÏ×ÁÎÉÊ ÄÌÑ ÒÏÂÏÔÉ ÑË × ÎŦÎÔÅÒÁËÔÉ×ÎÏÍÕ
78 ÒÅÖÉͦ, ÔÁË ¦ Ú ÍÏÖÌÉצÓÔÀ ĦÁÌÏÇÕ Ú ËÏÒÉÓÔÕ×ÁÞÅÍ.
80 curl ЦÄÔÒÉÍÕ¤ ÂÁÇÁÔÏ ËÏÒÉÓÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ, ÓÅÒÅÄ ÑËÉÈ Ð¦ÄÔÒÉÍËÁ
81 ÐÒÏËÓ¦, Á×ÔÏÒÉÚÁÃ¦Ñ ËÏÒÉÓÔÕ×ÁÞÁ, צÄ×ÁÎÔÁÖÅÎÎÑ ÐÏ FTP, HTTP POST,
82 צÄÎÏ×ÌÅÎÎÑ ÐÅÒÅÒ×ÁÎϧ ÐÅÒÅÓÉÌËÉ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
85 Summary: Header files and development documentation for curl library
86 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki curl
87 Summary(pt_BR): Arquivos de cabeçalho e bibliotecas de desenvolvimento
88 Summary(ru): æÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
89 Summary(uk): æÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ Â¦Â̦ÏÔÅËÉ curl
90 Group: Development/Libraries
91 Requires: %{name} = %{version}-%{release}
92 Requires: libidn-devel >= 0.4.1
93 %{?with_heimdal:Requires: heimdal-devel}
94 %{?with_ssl:Requires: openssl-devel >= 0.9.7c}
95 Obsoletes: libcurl2-devel
98 Header files and development documentation for curl library.
100 %description devel -l pl
101 Pliki nag³ówkowe i dokumentacja do biblioteki curl.
103 %description devel -l pt_BR
104 Arquivos de cabeçalho e bibliotecas de desenvolvimento.
106 %description devel -l ru
107 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
108 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
110 %description devel -l uk
111 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
112 ×ÉËÏÒÉÓÔÁÎÎÑÍ Â¦Â̦ÏÔÅËÉ curl.
115 Summary: Static version of curl library
116 Summary(pl): Statyczna wersja biblioteki curl
117 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o curl
118 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
119 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ Â¦Â̦ÏÔÅËÉ curl
120 Group: Development/Libraries
121 Requires: %{name}-devel = %{version}-%{release}
124 Static version of curl library.
126 %description static -l pl
127 Statyczna wersja biblioteki curl.
129 %description static -l pt_BR
130 Bibliotecas estáticas para desenvolvimento com o curl.
132 %description static -l ru
133 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÕÀ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
134 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
136 %description static -l uk
137 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞÎÕ Â¦Â̦ÏÔÅËÕ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
138 ×ÉËÏÒÉÓÔÁÎÎÑÍ Â¦Â̦ÏÔÅËÉ curl.
144 %{?with_heimdal:%patch2 -p0}
153 %{?with_ssl:--with-ssl=%{_prefix}} \
154 %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
155 %{?with_heimdal:--with-gssapi-includes=%{_includedir}} \
161 rm -rf $RPM_BUILD_ROOT
164 DESTDIR=$RPM_BUILD_ROOT
167 rm -rf $RPM_BUILD_ROOT
169 %post -p /sbin/ldconfig
170 %postun -p /sbin/ldconfig
173 %defattr(644,root,root,755)
174 %doc CHANGES COPYING README docs/{BUGS,FAQ,FEATURES,HISTORY,KNOWN_BUGS,MANUAL,SSLCERTS,THANKS,TODO,TheArtOfHttpScripting}
175 %attr(755,root,root) %{_bindir}/curl
176 %attr(755,root,root) %{_libdir}/libcurl.so.*.*.*
177 %{_mandir}/man1/curl.1*
180 %defattr(644,root,root,755)
181 %doc docs/{CONTRIBUTE,INTERNALS,LICENSE-MIXING,RESOURCES}
182 %attr(755,root,root) %{_bindir}/curl-config
183 %attr(755,root,root) %{_libdir}/libcurl.so
184 %{_libdir}/libcurl.la
186 %{_mandir}/man1/curl-config.1*
187 %{_mandir}/man3/*curl*.3*
190 %defattr(644,root,root,755)