]> git.pld-linux.org Git - packages/curl.git/blob - curl.spec
- cleanup
[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.13.0
14 Release:        1
15 License:        MIT-like
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:  bdf23eef698e70749990fb3df94e78cd
20 Patch0:         %{name}-no_strip.patch
21 Patch1:         %{name}-ac.patch
22 URL:            http://curl.haxx.se/
23 BuildRequires:  autoconf >= 2.57
24 BuildRequires:  automake
25 BuildRequires:  libidn-devel >= 0.4.1
26 %{?with_heimdal:BuildRequires:  heimdal-devel}
27 BuildRequires:  libtool
28 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
29 Requires:       openssl-tools >= 0.9.7d
30 Requires:       libidn >= 0.4.1
31 Obsoletes:      libcurl2
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 cURL is a tool for getting files with URL syntax, supporting FTP,
36 HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. cURL supports HTTP
37 POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies,
38 cookies, user+password authentication and a busload of other useful
39 tricks. The main use for curl is when you want to get or send files
40 automatically to or from a site using one of the supported protocols.
41
42 cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
43 Dict servers, using any of the supported protocols. cURL is designed
44 to work without user interaction or any kind of interactivity. cURL
45 offers many useful capabilities, like proxy support, user
46 authentication, FTP upload, HTTP post, and file transfer resume.
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 %{?with_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}-%{release}
91 Requires:       libidn-devel >= 0.4.1
92 %{?with_heimdal:Requires:       heimdal-devel}
93 %{?with_ssl:Requires:   openssl-devel >= 0.9.7c}
94 Obsoletes:      libcurl2-devel
95
96 %description devel
97 Header files and development documentation for curl library.
98
99 %description devel -l pl
100 Pliki nag³ówkowe i dokumentacja do biblioteki curl.
101
102 %description devel -l pt_BR
103 Arquivos de cabeçalho e bibliotecas de desenvolvimento.
104
105 %description devel -l ru
106 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
107 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
108
109 %description devel -l uk
110 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
111 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
112
113 %package static
114 Summary:        Static version of curl library
115 Summary(pl):    Statyczna wersja biblioteki curl
116 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o curl
117 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl
118 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl
119 Group:          Development/Libraries
120 Requires:       %{name}-devel = %{version}-%{release}
121
122 %description static
123 Static version of curl library.
124
125 %description static -l pl
126 Statyczna wersja biblioteki curl.
127
128 %description static -l pt_BR
129 Bibliotecas estáticas para desenvolvimento com o curl.
130
131 %description static -l ru
132 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÕÀ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó
133 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ curl.
134
135 %description static -l uk
136 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞÎՠ¦Â̦ÏÔÅËÕ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
137 ×ÉËÏÒÉÓÔÁÎÎÑ͠¦Â̦ÏÔÅËÉ curl.
138
139 %prep
140 %setup -q
141 %patch0 -p1
142 %patch1 -p1
143
144 %build
145 %{__libtoolize}
146 %{__aclocal}
147 %{__autoconf}
148 %{__autoheader}
149 %{__automake}
150 %configure \
151         %{?with_ssl:--with-ssl=%{_prefix}} \
152         %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
153         %{?with_heimdal:--with-gssapi-includes=%{_includedir}} \
154         --with-ipv6
155
156 %{__make}
157
158 %install
159 rm -rf $RPM_BUILD_ROOT
160
161 %{__make} install \
162         DESTDIR=$RPM_BUILD_ROOT
163
164 %clean
165 rm -rf $RPM_BUILD_ROOT
166
167 %post   -p /sbin/ldconfig
168 %postun -p /sbin/ldconfig
169
170 %files
171 %defattr(644,root,root,755)
172 %doc CHANGES COPYING README docs/{BUGS,FAQ,FEATURES,HISTORY,KNOWN_BUGS,MANUAL,SSLCERTS,THANKS,TODO,TheArtOfHttpScripting}
173 %attr(755,root,root) %{_bindir}/curl
174 %attr(755,root,root) %{_libdir}/libcurl.so.*.*.*
175 %{_mandir}/man1/curl.1*
176
177 %files devel
178 %defattr(644,root,root,755)
179 %doc docs/{CONTRIBUTE,INTERNALS,LICENSE-MIXING,RESOURCES}
180 %attr(755,root,root) %{_bindir}/curl-config
181 %attr(755,root,root) %{_libdir}/libcurl.so
182 %{_libdir}/libcurl.la
183 %{_includedir}/curl
184 %{_mandir}/man1/curl-config.1*
185 %{_mandir}/man3/*curl*.3*
186
187 %files static
188 %defattr(644,root,root,755)
189 %{_libdir}/libcurl.a
This page took 0.089422 seconds and 4 git commands to generate.