]>
Commit | Line | Data |
---|---|---|
06c73fdd | 1 | Summary: HTTP library of common code |
2 | Name: w3c-libwww | |
cb6311b2 SZ |
3 | Version: 5.3.1 |
4 | Release: 1 | |
06c73fdd | 5 | Copyright: W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html) |
6 | Group: Libraries | |
cb6311b2 SZ |
7 | Group(de): Libraries |
8 | Group(fr): Librairies | |
d14916a1 | 9 | Group(pl): Biblioteki |
6afe0ab6 | 10 | Source0: http://www.w3.org/Library/Distribution/%{name}-%{version}.tar.gz |
d14916a1 | 11 | Patch0: %{name}-DESTDIR.patch |
06c73fdd | 12 | URL: http://www.w3.org/Library |
13 | Icon: Lib48x.gif | |
ae696392 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7b76d5c9 JR |
15 | |
16 | %description | |
06c73fdd | 17 | Libwww is a general-purpose Web API written in C for Unix and Windows |
6afe0ab6 | 18 | (Win32). With a highly extensible and layered API, it can accommodate |
19 | many different types of applications including clients, robots, etc. | |
20 | The purpose of libwww is to provide a highly optimized HTTP sample | |
21 | implementation as well as other Internet protocols and to serve as a | |
22 | testbed for protocol experiments. | |
7b76d5c9 JR |
23 | |
24 | %package devel | |
06c73fdd | 25 | Summary: Libraries and header files for programs that use libwww |
26 | Group: Development/Libraries | |
cb6311b2 | 27 | Group(de): Entwicklung/Libraries |
06c73fdd | 28 | Group(fr): Development/Librairies |
29 | Group(pl): Programowanie/Biblioteki | |
30 | Requires: %{name} = %{version} | |
7b76d5c9 JR |
31 | |
32 | %description devel | |
06c73fdd | 33 | Header files for libwww, which are available as public libraries. |
7b76d5c9 | 34 | |
06c73fdd | 35 | %package static |
36 | Summary: Static libwww libraries | |
37 | Group: Development/Libraries | |
cb6311b2 | 38 | Group(de): Entwicklung/Libraries |
06c73fdd | 39 | Group(fr): Development/Librairies |
40 | Group(pl): Programowanie/Biblioteki | |
41 | Requires: %{name}-devel = %{version} | |
7b76d5c9 | 42 | |
06c73fdd | 43 | %description static |
44 | Static libwww libraries. | |
7b76d5c9 | 45 | |
06c73fdd | 46 | %package apps |
47 | Summary: Applications built using Libwww web library: e.g. Robot, command line tool, etc | |
b989f660 | 48 | Group: Applications/Networking |
cb6311b2 | 49 | Group(de): Applikationen/Netzwerkwesen |
06c73fdd | 50 | Group(pl): Aplikacje/Sieciowe |
51 | Requires: %{name} = %{version} | |
52 | Icon: robot48x.gif | |
7b76d5c9 | 53 | |
06c73fdd | 54 | %description apps |
6afe0ab6 | 55 | Web applications built using Libwww: Robot, Command line tool, line |
56 | mode browser. The Robot can crawl web sites faster, and with lower | |
57 | load, than any other web walker that we know of, due to its extensive | |
58 | pipelining and use of HTTP/1.1. The command line tool (w3c) is very | |
59 | useful for manipulation of Web sites that implement more than just | |
60 | HTTP GET (e.g. PUT, POST, etc.). The line mode browser is a minimal | |
61 | line mode web browser; often useful to convert to ascii text. | |
62 | Currently unavailable until someone updates it to some new interfaces. | |
63 | (hint, hint...) | |
7b76d5c9 JR |
64 | |
65 | %prep | |
66 | %setup -q | |
cb6311b2 | 67 | %patch0 -p1 |
7b76d5c9 JR |
68 | |
69 | %build | |
06c73fdd | 70 | automake |
06c73fdd | 71 | %configure \ |
72 | --enable-shared \ | |
73 | --with-gnu-ld \ | |
74 | --with-regex \ | |
75 | --with-zlib | |
72571ad9 | 76 | %{__make} |
7b76d5c9 JR |
77 | |
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
d14916a1 | 81 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
7b76d5c9 JR |
82 | |
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
06c73fdd | 86 | %post -p /sbin/ldconfig |
7b76d5c9 JR |
87 | %postun -p /sbin/ldconfig |
88 | ||
89 | %files | |
06c73fdd | 90 | %defattr(644,root,root,755) |
7b76d5c9 | 91 | %doc *.html */*.html */*/*.html Icons/*/*.gif |
06c73fdd | 92 | %attr(755,root,root) %{_libdir}/libwww*.so.*.* |
93 | %attr(755,root,root) %{_libdir}/libxml*.so.*.* | |
94 | %attr(755,root,root) %{_libdir}/libmd5.so.*.* | |
95 | %{_datadir}/w3c-libwww | |
7b76d5c9 JR |
96 | |
97 | %files apps | |
6afe0ab6 | 98 | %defattr(644,root,root,755) |
06c73fdd | 99 | %attr(755,root,root) %{_bindir}/webbot |
100 | %attr(755,root,root) %{_bindir}/w3c | |
7b76d5c9 JR |
101 | |
102 | %files devel | |
06c73fdd | 103 | %defattr(644,root,root,755) |
104 | %attr(755,root,root) %{_bindir}/libwww-config | |
105 | %attr(755,root,root) %{_libdir}/libwww*.so | |
106 | %attr(755,root,root) %{_libdir}/libxml*.so | |
107 | %attr(755,root,root) %{_libdir}/libmd5.so | |
108 | %attr(755,root,root) %{_libdir}/libwww*.la | |
109 | %attr(755,root,root) %{_libdir}/libxml*.la | |
110 | %attr(755,root,root) %{_libdir}/libmd5.la | |
111 | ||
112 | %{_includedir}/xmlparse.h | |
113 | %{_includedir}/w3c-libwww | |
114 | ||
115 | %files static | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/libwww*.a | |
118 | %{_libdir}/libxml*.a | |
119 | %{_libdir}/libmd5.a |