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