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