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