]> git.pld-linux.org Git - packages/w3c-libwww.git/blame - w3c-libwww.spec
- removed stripping executables, it's done by rpm automation
[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
JR
82
83%clean
84rm -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
This page took 0.043162 seconds and 4 git commands to generate.