]> git.pld-linux.org Git - packages/w3c-libwww.git/blob - w3c-libwww.spec
- release 6,
[packages/w3c-libwww.git] / w3c-libwww.spec
1 Summary:        HTTP library of common code
2 Summary(pl):    Biblioteka wspólnego kodu HTTP
3 Summary(pt_BR): Biblioteca HTTP de uso geral
4 Name:           w3c-libwww
5 Version:        5.3.2
6 Release:        6
7 License:        W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
8 Group:          Libraries
9 Source0:        http://www.w3.org/Library/Distribution/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-ac25x.patch
11 Patch1:         %{name}-am15.patch
12 Icon:           Lib48x.gif
13 URL:            http://www.w3.org/Library/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  openssl-devel
18 BuildRequires:  zlib-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Libwww is a general-purpose Web API written in C for Unix and Windows
23 (Win32). With a highly extensible and layered API, it can accommodate
24 many different types of applications including clients, robots, etc.
25 The purpose of libwww is to provide a highly optimized HTTP sample
26 implementation as well as other Internet protocols and to serve as a
27 testbed for protocol experiments.
28
29 %description -l pl
30 Libwww jest bibliotek± WWW ogólnego przeznaczenia napisan± w C dla
31 Uniksów oraz Windows. Z wysoko rozszerzalnym i warstwowym API, mo¿e
32 mieæ zastosowanie w wielu rodzajach aplikacji, w tym klientach,
33 robotach itp. Celem libwww jest dostarczenie dobrze zoptymalizowanej,
34 przyk³adowej implementacji HTTP, a tak¿e innych protoko³ów
35 internetowych, oraz ¶rodowiska testowego do eksperymentów z
36 protoko³ami.
37
38 %description -l pt_BR
39 A libwww é uma API web de propósito geral escrita em C para Unix e
40 Windows (Win32). Possui uma API altamente extensível e em camadas e
41 pode acomodar muitos tipos diferentes de aplicações, incluindo
42 clientes, robôs, etc. O propósito da libwww é fornecer uma
43 implementação HTTP exemplo altamente otimizada para servidor como um
44 ambiente de testes para experimentações com protocolos.
45
46 %package devel
47 Summary:        Header files for programs that use libwww
48 Summary(pl):    Pliki nag³ówkowe dla programów u¿ywaj±cych libwww
49 Summary(pt_BR): Arquivos necessários para desenvolvimento com a libwww
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}
52
53 %description devel
54 Header files for libwww, which are available as public libraries.
55
56 %description devel -l pl
57 Pliki nag³ówkowe dla libwww.
58
59 %description devel -l pt_BR
60 Bibliotecas e arquivos de inclusão para desenvolvimento baseado na
61 libwww, que está disponível ao público.
62
63 %package static
64 Summary:        Static libwww libraries
65 Summary(pl):    Statyczne biblioteki libwww
66 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com w3c-libwww
67 Group:          Development/Libraries
68 Requires:       %{name}-devel = %{version}
69
70 %description static
71 Static libwww libraries.
72
73 %description static -l pl
74 Statyczne biblioteki libwww.
75
76 %description static -l pt_BR
77 Bibliotecas estáticas para desenvolvimento com w3c-libwww
78
79 %package apps
80 Summary:        Applications built using Libwww web library: e.g. Robot, command line tool, etc
81 Summary(pl):    Aplikacje u¿ywaj±ce Libwww: Robot, narzêdzie command-line itp.
82 Summary(pt_BR): Aplicativos construídos usando a libwww
83 Group:          Applications/Networking
84 Requires:       %{name} = %{version}
85 Icon:           robot48x.gif
86
87 %description apps
88 Web applications built using Libwww: Robot, Command line tool, line
89 mode browser. The Robot can crawl web sites faster, and with lower
90 load, than any other web walker that we know of, due to its extensive
91 pipelining and use of HTTP/1.1. The command line tool (w3c) is very
92 useful for manipulation of Web sites that implement more than just
93 HTTP GET (e.g. PUT, POST, etc.). The line mode browser is a minimal
94 line mode web browser; often useful to convert to ascii text.
95 Currently unavailable until someone updates it to some new interfaces.
96 (hint, hint...)
97
98 %description apps -l pl
99 Aplikacje sieciowe zbudowane przy u¿yciu libwww: Robot, narzêdzie
100 comman-line, liniowa przegl±darka. Robot mo¿e przechodziæ po stronach
101 szybciej i z mniejszym obci±¿eniem ni¿ inne znane roboty, dziêki
102 wykorzystywaniu pipeliningu i HTTP/1.1. Narzêdzie command-line (w3c)
103 jest u¿yteczne do manipulowania serwisami WWW, które maj±
104 zaimplementowane co¶ wiêcej ni¿ HTTP GET (np. PUT, POST...).
105 Przegl±darka liniowa jest u¿yteczna g³ównie do konwersji do zwyk³ego
106 tekstu. Aktualnie niedostêpna dopóki kto¶ nie przystosuje jej do
107 nowego interfejsu (hint, hint...).
108
109 %description apps -l pt_BR
110 Aplicativos WEB utilizando a libwww: Robot, Ferramenta de execução de
111 linha de comando, navegação por linha de comando. Robot pode navegar
112 rapidamente e com baixa carga no sistema.
113
114 A Ferramenta de execução de linha de comando (w3c) é muito útil para
115 manipulação de sítios Web que implementam mais do que um HTTP GET (por
116 exemplo, PUT, POST, etc.)
117
118 %prep
119 %setup -q
120 %patch0 -p1
121 %patch1 -p1
122
123 %build
124 rm -f missing
125 libtoolize --copy --force
126 aclocal
127 autoconf
128 automake -a -c -f
129 %configure \
130         --enable-shared \
131         --with-gnu-ld \
132         --with-md5 \
133         --with-regex \
134         --with-ssl \
135         --with-zlib
136 %{__make}
137
138 %install
139 rm -rf $RPM_BUILD_ROOT
140
141 %{__make} install DESTDIR=$RPM_BUILD_ROOT
142
143 %clean
144 rm -rf $RPM_BUILD_ROOT
145
146 %post   -p /sbin/ldconfig
147 %postun -p /sbin/ldconfig
148
149 %files
150 %defattr(644,root,root,755)
151 %doc *.html */*.html */*/*.html Icons/*/*.gif
152 %attr(755,root,root) %{_libdir}/libwww*.so.*.*
153 %attr(755,root,root) %{_libdir}/libxml*.so.*.*
154 %attr(755,root,root) %{_libdir}/libmd5.so.*.*
155 %attr(755,root,root) %{_libdir}/libpics.so.*.*
156 %{_datadir}/w3c-libwww
157
158 %files apps
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_bindir}/webbot
161 %attr(755,root,root) %{_bindir}/w3c
162 %attr(755,root,root) %{_bindir}/www
163
164 %files devel
165 %defattr(644,root,root,755)
166 %attr(755,root,root) %{_bindir}/libwww-config
167 %attr(755,root,root) %{_libdir}/libwww*.so
168 %attr(755,root,root) %{_libdir}/libxml*.so
169 %attr(755,root,root) %{_libdir}/libmd5.so
170 %attr(755,root,root) %{_libdir}/libpics.so
171 %attr(755,root,root) %{_libdir}/libwww*.la
172 %attr(755,root,root) %{_libdir}/libxml*.la
173 %attr(755,root,root) %{_libdir}/libmd5.la
174 %attr(755,root,root) %{_libdir}/libpics.la
175
176 %{_includedir}/wwwconf.h
177 %{_includedir}/w3c-libwww
178
179 %files static
180 %defattr(644,root,root,755)
181 %{_libdir}/libwww*.a
182 %{_libdir}/libxml*.a
183 %{_libdir}/libmd5.a
184 %{_libdir}/libpics.a
This page took 0.095742 seconds and 4 git commands to generate.