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