]> git.pld-linux.org Git - packages/curl.git/blob - curl.spec
- release 2
[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:        2
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_heimdal:Requires:       heimdal-devel}
100 %{?with_ssl:Requires:   openssl-devel >= 0.9.7c}
101 Obsoletes:      libcurl2-devel
102
103 %description devel
104 Header files and development documentation for curl library.
105
106 %description devel -l pl
107 Pliki nag³ówkowe i dokumentacja do biblioteki curl.
108
109 %description devel -l pt_BR
110 Arquivos de cabeçalho e bibliotecas de desenvolvimento.
111
112 %description devel -l ru
113 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
114 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
115
116 %description devel -l uk
117 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
118 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
119
120 %package static
121 Summary:        Static version of curl library
122 Summary(pl):    Statyczna wersja biblioteki curl
123 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o curl
124 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
125 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
126 Group:          Development/Libraries
127 Requires:       %{name}-devel = %{version}-%{release}
128
129 %description static
130 Static version of curl library.
131
132 %description static -l pl
133 Statyczna wersja biblioteki curl.
134
135 %description static -l pt_BR
136 Bibliotecas estáticas para desenvolvimento com o curl.
137
138 %description static -l ru
139 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÕÀ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
140 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
141
142 %description static -l uk
143 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞÎՠ¦Â̦ÏÔÅËÕ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
144 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
145
146 %prep
147 %setup -q
148 %patch0 -p1
149 %patch1 -p1
150
151 %build
152 cp -f /usr/share/automake/config.* .
153 %{__autoconf}
154 %{__autoheader}
155 %configure \
156         %{?with_ssl:--with-ssl=%{_prefix}} \
157         %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
158         %{?with_heimdal:--with-gssapi-includes=%{_includedir}} \
159         --with-ipv6
160
161 %{__make}
162
163 %install
164 rm -rf $RPM_BUILD_ROOT
165
166 %{__make} install \
167         DESTDIR=$RPM_BUILD_ROOT
168
169 %clean
170 rm -rf $RPM_BUILD_ROOT
171
172 %post   -p /sbin/ldconfig
173 %postun -p /sbin/ldconfig
174
175 %files
176 %defattr(644,root,root,755)
177 %attr(755,root,root) %{_bindir}/%{name}
178 %attr(755,root,root) %{_libdir}/lib*.so.*.*
179 %{_mandir}/man1/*
180
181 %files devel
182 %defattr(644,root,root,755)
183 %doc CHANGES README docs/TheArtOfHttpScripting
184 %doc docs/{BUGS,CONTRIBUTE,FAQ,FEATURES,INTERNALS,MANUAL,README*,RESOURCES,THANKS,TODO}
185 %attr(755,root,root) %{_bindir}/%{name}-config
186 %attr(755,root,root) %{_libdir}/lib*.so
187 %{_libdir}/lib*.la
188 %{_includedir}/*
189 %{_mandir}/man3/*
190
191 %files static
192 %defattr(644,root,root,755)
193 %{_libdir}/lib*.a
This page took 0.038114 seconds and 4 git commands to generate.