]> git.pld-linux.org Git - packages/curl.git/blob - curl.spec
- spanish desc/summary fixes; many just thrown
[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):    Un cliente para bajar archivos de servidores (FTP, HTTP, y otros)
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 pl
48 cURL jest narzêdziem do ¶ci±gania plików o sk³adni URL. Obs³uguje FTP,
49 HTTP, HTTPS, GOPHER, TELNET, DICT, FILE i LDAP. cURL obs³uguje równie¿
50 HTTP POST, HTTP PUT, za³adowywanie (uploading) FTP, za³adowywanie HTTP
51 oparte na formularzu, serwery proksy, ciasteczka, autoryzacja
52 u¿ytkownik/has³o oraz wiele innych u¿ytecznych sztuczek. Curla u¿ywa
53 siê g³ównie wtedy, kiedy chce siê automatycznie ¶ci±gn±æ lub wys³aæ
54 pliki z/na serwer u¿ywaj±c jednego z dostêpnych protoko³ów.
55 %{?with_ssl:Ten pakiet obs³uguje tak¿e SSL.}
56
57 %description -l pt_BR
58 Curl é um cliente para baixar/enviar arquivos de/para servidores
59 usando um dos protocolos suportados. É projetado para funcionar sem a
60 interação do usuário.
61
62 Curl trabalha com proxy, autenticação, FTP put, HTTP post, e pode
63 continuar transferências interrompidas, e mais...
64
65 %description -l ru
66 curl - ÜÔÏ ËÌÉÅÎÔ Ó ÍÎÏÖÅÓÔ×ÏÍ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ÐÒÏÔÏËÏÌÏ× ÄÌÑ ÐÏÌÕÞÅÎÉÑ
67 ÆÁÊÌÏ× Ó ÓÅÒ×ÅÒÏ×, ÓÐÒÏÅËÔÉÒÏ×ÁÎÎÙÊ ÄÌÑ ÒÁÂÏÔÙ ËÁË × ÎÅÉÎÔÅÒÁËÔÉ×ÎÏÍ
68 ÒÅÖÉÍÅ, ÔÁË É Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÄÉÁÌÏÇÁ Ó ÐÏÌØÚÏ×ÁÔÅÌÅÍ.
69
70 curl ÐÏÄÄÅÒÖÉ×ÁÅÔ ÍÎÏÇÏ ÐÏÌÅÚÎÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ, ÓÒÅÄÉ ËÏÔÏÒÙÈ ÐÏÄÄÅÒÖËÁ
71 ÐÒÏËÓÉ, Á×ÔÏÒÉÚÁÃÉÑ ÐÏÌØÚÏ×ÁÔÅÌÑ, ÚÁËÁÞÉ×ÁÎÉÅ ÐÏ FTP, ÐÏÄÄÅÒÖËÁ HTTP
72 POST, ×ÏÓÓÔÁÎÏ×ÌÅÎÉÅ ÐÒÅÒ×ÁÎÎÏÊ ÐÅÒÅÓÙÌËÉ É ÍÎÏÇÏÅ ÄÒÕÇÏÅ.
73
74 curl - ÃÅ Ë̦¤ÎÔ Ú ÂÁÇÁÔØÍÁ Ð¦ÄÔÒÉÍÕ×ÁÎÉÍÉ ÐÒÏÔÏËÏÌÁÍÉ ÄÌÑ ÏÔÒÉÍÁÎÎÑ
75 ÆÁÊ̦נڠÓÅÒ×ÅÒ¦×, ÓÐÒÏÅËÔÏ×ÁÎÉÊ ÄÌÑ ÒÏÂÏÔÉ ÑË × ÎŦÎÔÅÒÁËÔÉ×ÎÏÍÕ
76 ÒÅÖÉͦ, ÔÁË ¦ Ú ÍÏÖÌÉצÓÔÀ Ä¦ÁÌÏÇÕ Ú ËÏÒÉÓÔÕ×ÁÞÅÍ.
77
78 curl Ð¦ÄÔÒÉÍÕ¤ ÂÁÇÁÔÏ ËÏÒÉÓÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ, ÓÅÒÅÄ ÑËÉȠЦÄÔÒÉÍËÁ
79 ÐÒÏËÓ¦, Á×ÔÏÒÉÚÁæѠËÏÒÉÓÔÕ×ÁÞÁ, ×¦Ä×ÁÎÔÁÖÅÎÎÑ ÐÏ FTP, HTTP POST,
80 צÄÎÏ×ÌÅÎÎÑ ÐÅÒÅÒ×ÁÎϧ ÐÅÒÅÓÉÌËÉ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
81
82 %package devel
83 Summary:        Header files and development documentation for curl library
84 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki curl
85 Summary(pt_BR): Arquivos de cabeçalho e bibliotecas de desenvolvimento
86 Summary(ru):    æÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
87 Summary(uk):    æÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
88 Group:          Development/Libraries
89 Requires:       %{name} = %{version}-%{release}
90 Requires:       libidn-devel >= 0.4.1
91 %{?with_heimdal:Requires:       heimdal-devel}
92 %{?with_ssl:Requires:   openssl-devel >= 0.9.7c}
93 Obsoletes:      libcurl2-devel
94
95 %description devel
96 Header files and development documentation for curl library.
97
98 %description devel -l pl
99 Pliki nag³ówkowe i dokumentacja do biblioteki curl.
100
101 %description devel -l pt_BR
102 Arquivos de cabeçalho e bibliotecas de desenvolvimento.
103
104 %description devel -l ru
105 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
106 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
107
108 %description devel -l uk
109 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
110 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
111
112 %package static
113 Summary:        Static version of curl library
114 Summary(pl):    Statyczna wersja biblioteki curl
115 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o curl
116 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
117 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
118 Group:          Development/Libraries
119 Requires:       %{name}-devel = %{version}-%{release}
120
121 %description static
122 Static version of curl library.
123
124 %description static -l pl
125 Statyczna wersja biblioteki curl.
126
127 %description static -l pt_BR
128 Bibliotecas estáticas para desenvolvimento com o curl.
129
130 %description static -l ru
131 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÕÀ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
132 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
133
134 %description static -l uk
135 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞÎՠ¦Â̦ÏÔÅËÕ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
136 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
137
138 %prep
139 %setup -q
140 %patch0 -p1
141 %patch1 -p1
142
143 %build
144 cp -f /usr/share/automake/config.* .
145 %{__autoconf}
146 %{__autoheader}
147 %configure \
148         %{?with_ssl:--with-ssl=%{_prefix}} \
149         %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
150         %{?with_heimdal:--with-gssapi-includes=%{_includedir}} \
151         --with-ipv6
152
153 %{__make}
154
155 %install
156 rm -rf $RPM_BUILD_ROOT
157
158 %{__make} install \
159         DESTDIR=$RPM_BUILD_ROOT
160
161 %clean
162 rm -rf $RPM_BUILD_ROOT
163
164 %post   -p /sbin/ldconfig
165 %postun -p /sbin/ldconfig
166
167 %files
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_bindir}/%{name}
170 %attr(755,root,root) %{_libdir}/lib*.so.*.*
171 %{_mandir}/man1/*
172
173 %files devel
174 %defattr(644,root,root,755)
175 %doc CHANGES README docs/TheArtOfHttpScripting
176 %doc docs/{BUGS,CONTRIBUTE,FAQ,FEATURES,INTERNALS,MANUAL,README*,RESOURCES,THANKS,TODO}
177 %attr(755,root,root) %{_bindir}/%{name}-config
178 %attr(755,root,root) %{_libdir}/lib*.so
179 %{_libdir}/lib*.la
180 %{_includedir}/*
181 %{_mandir}/man3/*
182
183 %files static
184 %defattr(644,root,root,755)
185 %{_libdir}/lib*.a
This page took 0.714355 seconds and 4 git commands to generate.