3 %bcond_without ssl # without SSL support
5 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
6 Summary(es): Busca URL (soporta FTP, TELNET, LDAP, GOPHER, DICT, HTTP y HTTPS)
7 Summary(pl): Narzêdzie do ¶ci±gania plików z serwerów (FTP, HTTP i innych)
8 Summary(pt_BR): Busca URL (suporta FTP, TELNET, LDAP, GOPHER, DICT, HTTP e HTTPS)
9 Summary(ru): õÔÉÌÉÔÁ ÄÌÑ ÐÏÌÕÞÅÎÉÑ ÆÁÊÌÏ× Ó ÓÅÒ×ÅÒÏ× FTP, HTTP É ÄÒÕÇÉÈ
10 Summary(uk): õÔÉ̦ÔÁ ÄÌÑ ÏÔÒÉÍÁÎÎÑ ÆÁÊÌ¦× Ú ÓÅÒ×ÅÒ¦× FTP, HTTP ÔÁ ¦ÎÛÉÈ
15 Vendor: Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
16 Group: Applications/Networking
17 Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
18 # Source0-md5: cf511e78eb12fbb1efc6c4e0ca4e5120
19 Patch0: %{name}-no_strip.patch
20 URL: http://curl.haxx.se/
21 BuildRequires: automake
22 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
23 Requires: openssl-tools >= 0.9.7c
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 cURL is a tool for getting files with URL syntax, supporting FTP,
29 HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. cURL supports HTTP
30 POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies,
31 cookies, user+password authentication and a busload of other useful
32 tricks. The main use for curl is when you want to get or send files
33 automatically to or from a site using one of the supported protocols.
35 cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
36 Dict servers, using any of the supported protocols. cURL is designed
37 to work without user interaction or any kind of interactivity. cURL
38 offers many useful capabilities, like proxy support, user
39 authentication, FTP upload, HTTP post, and file transfer resume.
42 Curl es un cliente para bajar documentos/archivos de servidores usando
43 uno de los protocolos soportados. Está proyectado para funcionar sin
44 interacción del usuario.
46 Curl trabaja con proxy, autenticación, ftp put, HTTP post, y puede
47 continuar transferencias interrumpidas, y además...
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}
92 %{?with_ssl:Requires: openssl-devel >= 0.9.7c}
93 Obsoletes: libcurl2-devel
96 Header files and development documentation for curl library.
98 %description devel -l pl
99 Pliki nag³ówkowe i dokumentacja do biblioteki curl.
101 %description devel -l pt_BR
102 Arquivos de cabeçalho e bibliotecas de desenvolvimento.
104 %description devel -l ru
105 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
106 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
108 %description devel -l uk
109 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
110 ×ÉËÏÒÉÓÔÁÎÎÑÍ Â¦Â̦ÏÔÅËÉ curl.
113 Summary: Static version of curl library
114 Summary(pl): Statyczna wersja biblioteki curl
115 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o curl
116 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
117 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ Â¦Â̦ÏÔÅËÉ curl
118 Group: Development/Libraries
119 Requires: %{name}-devel = %{version}
122 Static version of curl library.
124 %description static -l pl
125 Statyczna wersja biblioteki curl.
127 %description static -l pt_BR
128 Bibliotecas estáticas para desenvolvimento com o curl.
130 %description static -l ru
131 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÕÀ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
132 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
134 %description static -l uk
135 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞÎÕ Â¦Â̦ÏÔÅËÕ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
136 ×ÉËÏÒÉÓÔÁÎÎÑÍ Â¦Â̦ÏÔÅËÉ curl.
143 install /usr/share/automake/config.* .
145 %{?with_ssl:--with-ssl=%{_prefix}} \
146 %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
152 rm -rf $RPM_BUILD_ROOT
155 DESTDIR=$RPM_BUILD_ROOT
158 rm -rf $RPM_BUILD_ROOT
160 %post -p /sbin/ldconfig
161 %postun -p /sbin/ldconfig
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_bindir}/%{name}
166 %attr(755,root,root) %{_libdir}/lib*.so.*.*
170 %defattr(644,root,root,755)
171 %doc CHANGES README docs/TheArtOfHttpScripting
172 %doc docs/{BUGS,CONTRIBUTE,FAQ,FEATURES,INTERNALS,MANUAL,README*,RESOURCES,THANKS,TODO}
173 %attr(755,root,root) %{_bindir}/%{name}-config
174 %attr(755,root,root) %{_libdir}/lib*.so
180 %defattr(644,root,root,755)