]> git.pld-linux.org Git - packages/curl.git/blob - curl.spec
- up to 7.15.3, resolves CVE-2006-1061
[packages/curl.git] / curl.spec
1 #
2 # Conditional build:
3 %bcond_without  ssl     # without SSL support
4 %bcond_without  heimdal # without HEIMDAL support
5 #
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 ÔÁ ¦ÎÛÉÈ
12 Name:           curl
13 Version:        7.15.3
14 Release:        1
15 License:        MIT-like
16 Group:          Applications/Networking
17 Source0:        http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
18 # Source0-md5:  d71b2ee8febfde2c7dc30a43638ec0d9
19 Patch0:         %{name}-no_strip.patch
20 Patch1:         %{name}-ac.patch
21 Patch2:         %{name}-heimdal.patch
22 URL:            http://curl.haxx.se/
23 BuildRequires:  autoconf >= 2.57
24 BuildRequires:  automake
25 %{?with_heimdal:BuildRequires:  heimdal-devel >= 0.7}
26 BuildRequires:  libidn-devel >= 0.4.1
27 BuildRequires:  libtool
28 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
29 Requires:       %{name}-libs = %{version}-%{release}
30 Requires:       libidn >= 0.4.1
31 Requires:       openssl-tools >= 0.9.7d
32 Obsoletes:      libcurl2
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
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.
42
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.
48
49 %description -l pl
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.}
58
59 %description -l pt_BR
60 Curl é um cliente para baixar/enviar arquivos de/para servidores
61 usando um dos protocolos suportados. É projetado para funcionar sem a
62 interação do usuário.
63
64 Curl trabalha com proxy, autenticação, FTP put, HTTP post, e pode
65 continuar transferências interrompidas, e mais...
66
67 %description -l ru
68 curl - ÜÔÏ ËÌÉÅÎÔ Ó ÍÎÏÖÅÓÔ×ÏÍ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ÐÒÏÔÏËÏÌÏ× ÄÌÑ ÐÏÌÕÞÅÎÉÑ
69 ÆÁÊÌÏ× Ó ÓÅÒ×ÅÒÏ×, ÓÐÒÏÅËÔÉÒÏ×ÁÎÎÙÊ ÄÌÑ ÒÁÂÏÔÙ ËÁË × ÎÅÉÎÔÅÒÁËÔÉ×ÎÏÍ
70 ÒÅÖÉÍÅ, ÔÁË É Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÄÉÁÌÏÇÁ Ó ÐÏÌØÚÏ×ÁÔÅÌÅÍ.
71
72 curl ÐÏÄÄÅÒÖÉ×ÁÅÔ ÍÎÏÇÏ ÐÏÌÅÚÎÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ, ÓÒÅÄÉ ËÏÔÏÒÙÈ ÐÏÄÄÅÒÖËÁ
73 ÐÒÏËÓÉ, Á×ÔÏÒÉÚÁÃÉÑ ÐÏÌØÚÏ×ÁÔÅÌÑ, ÚÁËÁÞÉ×ÁÎÉÅ ÐÏ FTP, ÐÏÄÄÅÒÖËÁ HTTP
74 POST, ×ÏÓÓÔÁÎÏ×ÌÅÎÉÅ ÐÒÅÒ×ÁÎÎÏÊ ÐÅÒÅÓÙÌËÉ É ÍÎÏÇÏÅ ÄÒÕÇÏÅ.
75
76 curl - ÃÅ Ë̦¤ÎÔ Ú ÂÁÇÁÔØÍÁ Ð¦ÄÔÒÉÍÕ×ÁÎÉÍÉ ÐÒÏÔÏËÏÌÁÍÉ ÄÌÑ ÏÔÒÉÍÁÎÎÑ
77 ÆÁÊ̦נڠÓÅÒ×ÅÒ¦×, ÓÐÒÏÅËÔÏ×ÁÎÉÊ ÄÌÑ ÒÏÂÏÔÉ ÑË × ÎŦÎÔÅÒÁËÔÉ×ÎÏÍÕ
78 ÒÅÖÉͦ, ÔÁË ¦ Ú ÍÏÖÌÉצÓÔÀ Ä¦ÁÌÏÇÕ Ú ËÏÒÉÓÔÕ×ÁÞÅÍ.
79
80 curl Ð¦ÄÔÒÉÍÕ¤ ÂÁÇÁÔÏ ËÏÒÉÓÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ, ÓÅÒÅÄ ÑËÉȠЦÄÔÒÉÍËÁ
81 ÐÒÏËÓ¦, Á×ÔÏÒÉÚÁæѠËÏÒÉÓÔÕ×ÁÞÁ, ×¦Ä×ÁÎÔÁÖÅÎÎÑ ÐÏ FTP, HTTP POST,
82 צÄÎÏ×ÌÅÎÎÑ ÐÅÒÅÒ×ÁÎϧ ÐÅÒÅÓÉÌËÉ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
83
84 %package libs
85 Summary:        curl library
86 Summary(pl):    Biblioteka curl
87 Group:          Libraries
88
89 %description libs
90 curl library.
91
92 %description libs -l pl
93 Biblioteka curl.
94
95 %package devel
96 Summary:        Header files and development documentation for curl library
97 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki curl
98 Summary(pt_BR): Arquivos de cabeçalho e bibliotecas de desenvolvimento
99 Summary(ru):    æÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
100 Summary(uk):    æÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
101 Group:          Development/Libraries
102 Requires:       %{name}-libs = %{version}-%{release}
103 %{?with_heimdal:Requires:       heimdal-devel}
104 Requires:       libidn-devel >= 0.4.1
105 %{?with_ssl:Requires:   openssl-devel >= 0.9.7c}
106 Obsoletes:      libcurl2-devel
107
108 %description devel
109 Header files and development documentation for curl library.
110
111 %description devel -l pl
112 Pliki nag³ówkowe i dokumentacja do biblioteki curl.
113
114 %description devel -l pt_BR
115 Arquivos de cabeçalho e bibliotecas de desenvolvimento.
116
117 %description devel -l ru
118 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
119 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
120
121 %description devel -l uk
122 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
123 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
124
125 %package static
126 Summary:        Static version of curl library
127 Summary(pl):    Statyczna wersja biblioteki curl
128 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o curl
129 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
130 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
131 Group:          Development/Libraries
132 Requires:       %{name}-devel = %{version}-%{release}
133
134 %description static
135 Static version of curl library.
136
137 %description static -l pl
138 Statyczna wersja biblioteki curl.
139
140 %description static -l pt_BR
141 Bibliotecas estáticas para desenvolvimento com o curl.
142
143 %description static -l ru
144 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÕÀ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
145 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
146
147 %description static -l uk
148 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞÎՠ¦Â̦ÏÔÅËÕ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
149 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
150
151 %prep
152 %setup -q
153 %patch0 -p1
154 %patch1 -p1
155 %{?with_heimdal:%patch2 -p0}
156
157 %build
158 %{__libtoolize}
159 %{__aclocal}
160 %{__autoconf}
161 %{__autoheader}
162 %{__automake}
163 %configure \
164         %{?with_ssl:--with-ssl=%{_prefix}} \
165         %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
166         %{?with_heimdal:--with-gssapi=%{_prefix}} \
167         --with-ipv6
168
169 %{__make}
170
171 %install
172 rm -rf $RPM_BUILD_ROOT
173
174 %{__make} install \
175         DESTDIR=$RPM_BUILD_ROOT
176
177 %clean
178 rm -rf $RPM_BUILD_ROOT
179
180 %post   libs -p /sbin/ldconfig
181 %postun libs -p /sbin/ldconfig
182
183 %files
184 %defattr(644,root,root,755)
185 %doc CHANGES COPYING README docs/{BUGS,FAQ,FEATURES,HISTORY,KNOWN_BUGS,MANUAL,SSLCERTS,THANKS,TODO,TheArtOfHttpScripting}
186 %attr(755,root,root) %{_bindir}/curl
187 %{_mandir}/man1/curl.1*
188
189 %files libs
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_libdir}/libcurl.so.*.*.*
192
193 %files devel
194 %defattr(644,root,root,755)
195 %doc docs/{CONTRIBUTE,INTERNALS,LICENSE-MIXING,RESOURCES}
196 %attr(755,root,root) %{_bindir}/curl-config
197 %attr(755,root,root) %{_libdir}/libcurl.so
198 %{_libdir}/libcurl.la
199 %{_includedir}/curl
200 %{_pkgconfigdir}/libcurl.pc
201 %{_mandir}/man1/curl-config.1*
202 %{_mandir}/man3/*curl*.3*
203
204 %files static
205 %defattr(644,root,root,755)
206 %{_libdir}/libcurl.a
This page took 0.034253 seconds and 3 git commands to generate.