1 # Note that this is NOT a relocatable package
7 Summary: HTTP library of common code
11 Copyright: W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
12 Group: System Environment/Libraries
13 Source: http://www.w3.org/Library/Distribution/w3c-libwww-%{ver}.tar.gz
14 URL: http://www.w3.org/Library
15 BuildRoot: /var/tmp/%{name}-root
19 Libwww is a general-purpose Web API written in C for Unix and Windows (Win32).
20 With a highly extensible and layered API, it can accommodate many different
21 types of applications including clients, robots, etc. The purpose of libwww
22 is to provide a highly optimized HTTP sample implementation as well as other
23 Internet protocols and to serve as a testbed for protocol experiments.
26 Summary: Libraries and header files for programs that use libwww.
27 Group: Development/Libraries
31 Static libraries and header files for libwww, which are available as public
35 Summary: Applications built using Libwww web library: e.g. Robot, command line tool, etc.
36 Group: Applications/Internet
42 Web applications built using Libwww: Robot, Command line tool,
43 line mode browser. The Robot can crawl web sites faster, and
44 with lower load, than any other web walker that we know of,
45 due to its extensive pipelining and use of HTTP/1.1.
47 The command line tool (w3c) is very useful for manipulation of
48 Web sites that implement more than just HTTP GET (e.g. PUT,
51 The line mode browser is a minimal line mode web browser;
52 often useful to convert to ascii text. Currently unavailable
53 until someone updates it to some new interfaces. (hint, hint...)
59 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --with-regex --with-zlib
60 #make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
62 %configure --enable-shared --with-gnu-ld --with-regex --with-zlib
66 rm -rf $RPM_BUILD_ROOT
68 make prefix=$RPM_BUILD_ROOT%{prefix} install
71 chmod +x ./usr/lib/lib{www*,xml*,md5}.so.0.*
72 strip ./usr/bin/* || :
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
84 %{prefix}/lib/libwww*.so.*
85 %{prefix}/lib/libxml*.so.*
86 %{prefix}/lib/libmd5.so.*
87 %{prefix}/share/w3c-libwww
89 %doc *.html */*.html */*/*.html Icons/*/*.gif
98 %{prefix}/bin/libwww-config
100 %{prefix}/lib/lib*.la
101 %{prefix}/lib/lib*.so
103 %{prefix}/include/xmlparse.h
104 %{prefix}/include/w3c-libwww