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