1 Summary: HTTP library of common code
5 Copyright: W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
8 Source0: http://www.w3.org/Library/Distribution/%{name}-%{version}.tar.gz
9 Patch0: %{name}-DESTDIR.patch
10 URL: http://www.w3.org/Library
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Libwww is a general-purpose Web API written in C for Unix and Windows
16 (Win32). With a highly extensible and layered API, it can accommodate
17 many different types of applications including clients, robots, etc.
18 The purpose of libwww is to provide a highly optimized HTTP sample
19 implementation as well as other Internet protocols and to serve as a
20 testbed for protocol experiments.
23 Summary: Libraries and header files for programs that use libwww
24 Group: Development/Libraries
25 Group(fr): Development/Librairies
26 Group(pl): Programowanie/Biblioteki
27 Requires: %{name} = %{version}
30 Header files for libwww, which are available as public libraries.
33 Summary: Static libwww libraries
34 Group: Development/Libraries
35 Group(fr): Development/Librairies
36 Group(pl): Programowanie/Biblioteki
37 Requires: %{name}-devel = %{version}
40 Static libwww libraries.
43 Summary: Applications built using Libwww web library: e.g. Robot, command line tool, etc
44 Group: Applications/Networking
45 Group(pl): Aplikacje/Sieciowe
46 Requires: %{name} = %{version}
50 Web applications built using Libwww: Robot, Command line tool, line
51 mode browser. The Robot can crawl web sites faster, and with lower
52 load, than any other web walker that we know of, due to its extensive
53 pipelining and use of HTTP/1.1. The command line tool (w3c) is very
54 useful for manipulation of Web sites that implement more than just
55 HTTP GET (e.g. PUT, POST, etc.). The line mode browser is a minimal
56 line mode web browser; often useful to convert to ascii text.
57 Currently unavailable until someone updates it to some new interfaces.
74 rm -rf $RPM_BUILD_ROOT
76 %{__make} install DESTDIR=$RPM_BUILD_ROOT
78 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %doc *.html */*.html */*/*.html Icons/*/*.gif
89 %attr(755,root,root) %{_libdir}/libwww*.so.*.*
90 %attr(755,root,root) %{_libdir}/libxml*.so.*.*
91 %attr(755,root,root) %{_libdir}/libmd5.so.*.*
92 %{_datadir}/w3c-libwww
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/webbot
97 %attr(755,root,root) %{_bindir}/w3c
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/libwww-config
102 %attr(755,root,root) %{_libdir}/libwww*.so
103 %attr(755,root,root) %{_libdir}/libxml*.so
104 %attr(755,root,root) %{_libdir}/libmd5.so
105 %attr(755,root,root) %{_libdir}/libwww*.la
106 %attr(755,root,root) %{_libdir}/libxml*.la
107 %attr(755,root,root) %{_libdir}/libmd5.la
109 %{_includedir}/xmlparse.h
110 %{_includedir}/w3c-libwww
113 %defattr(644,root,root,755)