]> git.pld-linux.org Git - packages/curl.git/blob - curl.spec
- rel2 (enable ipv6 always if requested; enabled gssapi via heimdal)
[packages/curl.git] / curl.spec
1 #
2 # Conditional build:
3 %bcond_without  ssl     # without SSL support
4 #
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 ÔÁ ¦ÎÛÉÈ
11 Name:           curl
12 Version:        7.12.1
13 Release:        2
14 License:        MPL
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:  ffa1386d7473fdc419441cb0156d0005
19 Patch0:         %{name}-no_strip.patch
20 Patch1:         %{name}-ac.patch
21 URL:            http://curl.haxx.se/
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  libidn-devel >= 0.4.1
25 BuildRequires:  heimdal-devel
26 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
27 Requires:       openssl-tools >= 0.9.7d
28 Requires:       libidn >= 0.4.1
29 Obsoletes:      libcurl2
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 cURL is a tool for getting files with URL syntax, supporting FTP,
34 HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. cURL supports HTTP
35 POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies,
36 cookies, user+password authentication and a busload of other useful
37 tricks. The main use for curl is when you want to get or send files
38 automatically to or from a site using one of the supported protocols.
39
40 cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
41 Dict servers, using any of the supported protocols. cURL is designed
42 to work without user interaction or any kind of interactivity. cURL
43 offers many useful capabilities, like proxy support, user
44 authentication, FTP upload, HTTP post, and file transfer resume.
45
46 %description -l es
47 Curl es un cliente para bajar documentos/archivos de servidores usando
48 uno de los protocolos soportados. Está proyectado para funcionar sin
49 interacción del usuario.
50
51 Curl trabaja con proxy, autenticación, ftp put, HTTP post, y puede
52 continuar transferencias interrumpidas, y además...
53
54 %description -l pl
55 cURL jest narzêdziem do ¶ci±gania plików o sk³adni URL. Obs³uguje FTP,
56 HTTP, HTTPS, GOPHER, TELNET, DICT, FILE i LDAP. cURL obs³uguje równie¿
57 HTTP POST, HTTP PUT, za³adowywanie (uploading) FTP, za³adowywanie HTTP
58 oparte na formularzu, serwery proksy, ciasteczka, autoryzacja
59 u¿ytkownik/has³o oraz wiele innych u¿ytecznych sztuczek. Curla u¿ywa
60 siê g³ównie wtedy, kiedy chce siê automatycznie ¶ci±gn±æ lub wys³aæ
61 pliki z/na serwer u¿ywaj±c jednego z dostêpnych protoko³ów.
62 %{?with_ssl:Ten pakiet obs³uguje tak¿e SSL.}
63
64 %description -l pt_BR
65 Curl é um cliente para baixar/enviar arquivos de/para servidores
66 usando um dos protocolos suportados. É projetado para funcionar sem a
67 interação do usuário.
68
69 Curl trabalha com proxy, autenticação, ftp put, HTTP post, e pode
70 continuar transferências interrompidas, e mais...
71
72 %description -l ru
73 curl - ÜÔÏ ËÌÉÅÎÔ Ó ÍÎÏÖÅÓÔ×ÏÍ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ÐÒÏÔÏËÏÌÏ× ÄÌÑ ÐÏÌÕÞÅÎÉÑ
74 ÆÁÊÌÏ× Ó ÓÅÒ×ÅÒÏ×, ÓÐÒÏÅËÔÉÒÏ×ÁÎÎÙÊ ÄÌÑ ÒÁÂÏÔÙ ËÁË × ÎÅÉÎÔÅÒÁËÔÉ×ÎÏÍ
75 ÒÅÖÉÍÅ, ÔÁË É Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÄÉÁÌÏÇÁ Ó ÐÏÌØÚÏ×ÁÔÅÌÅÍ.
76
77 curl ÐÏÄÄÅÒÖÉ×ÁÅÔ ÍÎÏÇÏ ÐÏÌÅÚÎÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ, ÓÒÅÄÉ ËÏÔÏÒÙÈ ÐÏÄÄÅÒÖËÁ
78 ÐÒÏËÓÉ, Á×ÔÏÒÉÚÁÃÉÑ ÐÏÌØÚÏ×ÁÔÅÌÑ, ÚÁËÁÞÉ×ÁÎÉÅ ÐÏ FTP, ÐÏÄÄÅÒÖËÁ HTTP
79 POST, ×ÏÓÓÔÁÎÏ×ÌÅÎÉÅ ÐÒÅÒ×ÁÎÎÏÊ ÐÅÒÅÓÙÌËÉ É ÍÎÏÇÏÅ ÄÒÕÇÏÅ.
80
81 curl - ÃÅ Ë̦¤ÎÔ Ú ÂÁÇÁÔØÍÁ Ð¦ÄÔÒÉÍÕ×ÁÎÉÍÉ ÐÒÏÔÏËÏÌÁÍÉ ÄÌÑ ÏÔÒÉÍÁÎÎÑ
82 ÆÁÊ̦נڠÓÅÒ×ÅÒ¦×, ÓÐÒÏÅËÔÏ×ÁÎÉÊ ÄÌÑ ÒÏÂÏÔÉ ÑË × ÎŦÎÔÅÒÁËÔÉ×ÎÏÍÕ
83 ÒÅÖÉͦ, ÔÁË ¦ Ú ÍÏÖÌÉצÓÔÀ Ä¦ÁÌÏÇÕ Ú ËÏÒÉÓÔÕ×ÁÞÅÍ.
84
85 curl Ð¦ÄÔÒÉÍÕ¤ ÂÁÇÁÔÏ ËÏÒÉÓÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ, ÓÅÒÅÄ ÑËÉȠЦÄÔÒÉÍËÁ
86 ÐÒÏËÓ¦, Á×ÔÏÒÉÚÁæѠËÏÒÉÓÔÕ×ÁÞÁ, ×¦Ä×ÁÎÔÁÖÅÎÎÑ ÐÏ FTP, HTTP POST,
87 צÄÎÏ×ÌÅÎÎÑ ÐÅÒÅÒ×ÁÎϧ ÐÅÒÅÓÉÌËÉ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
88
89 %package devel
90 Summary:        Header files and development documentation for curl library
91 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki curl
92 Summary(pt_BR): Arquivos de cabeçalho e bibliotecas de desenvolvimento
93 Summary(ru):    æÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
94 Summary(uk):    æÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
95 Group:          Development/Libraries
96 Requires:       %{name} = %{version}-%{release}
97 Requires:       libidn-devel >= 0.4.1
98 %{?with_ssl:Requires:   openssl-devel >= 0.9.7c}
99 Obsoletes:      libcurl2-devel
100
101 %description devel
102 Header files and development documentation for curl library.
103
104 %description devel -l pl
105 Pliki nag³ówkowe i dokumentacja do biblioteki curl.
106
107 %description devel -l pt_BR
108 Arquivos de cabeçalho e bibliotecas de desenvolvimento.
109
110 %description devel -l ru
111 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
112 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
113
114 %description devel -l uk
115 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
116 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
117
118 %package static
119 Summary:        Static version of curl library
120 Summary(pl):    Statyczna wersja biblioteki curl
121 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o curl
122 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
123 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
124 Group:          Development/Libraries
125 Requires:       %{name}-devel = %{version}-%{release}
126
127 %description static
128 Static version of curl library.
129
130 %description static -l pl
131 Statyczna wersja biblioteki curl.
132
133 %description static -l pt_BR
134 Bibliotecas estáticas para desenvolvimento com o curl.
135
136 %description static -l ru
137 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÕÀ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
138 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
139
140 %description static -l uk
141 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞÎՠ¦Â̦ÏÔÅËÕ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
142 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
143
144 %prep
145 %setup -q
146 %patch0 -p1
147 %patch1 -p1
148
149 %build
150 cp -f /usr/share/automake/config.* .
151 %{__autoconf}
152 %{__autoheader}
153 %configure \
154         %{?with_ssl:--with-ssl=%{_prefix}} \
155         %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
156         --with-gssapi-includes=%{_includedir} \
157         --with-ipv6
158
159 %{__make}
160
161 %install
162 rm -rf $RPM_BUILD_ROOT
163
164 %{__make} install \
165         DESTDIR=$RPM_BUILD_ROOT
166
167 %clean
168 rm -rf $RPM_BUILD_ROOT
169
170 %post   -p /sbin/ldconfig
171 %postun -p /sbin/ldconfig
172
173 %files
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_bindir}/%{name}
176 %attr(755,root,root) %{_libdir}/lib*.so.*.*
177 %{_mandir}/man1/*
178
179 %files devel
180 %defattr(644,root,root,755)
181 %doc CHANGES README docs/TheArtOfHttpScripting
182 %doc docs/{BUGS,CONTRIBUTE,FAQ,FEATURES,INTERNALS,MANUAL,README*,RESOURCES,THANKS,TODO}
183 %attr(755,root,root) %{_bindir}/%{name}-config
184 %attr(755,root,root) %{_libdir}/lib*.so
185 %{_libdir}/lib*.la
186 %{_includedir}/*
187 %{_mandir}/man3/*
188
189 %files static
190 %defattr(644,root,root,755)
191 %{_libdir}/lib*.a
This page took 0.065066 seconds and 3 git commands to generate.