]> git.pld-linux.org Git - packages/w3c-libwww.git/blob - w3c-libwww.spec
d383c8242c4b0a3d463105cf42a198de8b5356f2
[packages/w3c-libwww.git] / w3c-libwww.spec
1 Summary:        HTTP library of common code
2 Name:           w3c-libwww
3 Version:        5.2.8
4 Release:        6
5 Copyright:      W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
6 Group:          Libraries
7 Group(pl):      Biblioteki
8 Source0:        http://www.w3.org/Library/Distribution/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 URL:            http://www.w3.org/Library
11 Icon:           Lib48x.gif
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
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.
21
22 %package devel
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}
28
29 %description devel
30 Header files for libwww, which are available as public libraries.
31
32 %package static
33 Summary:        Static libwww libraries
34 Group:          Development/Libraries
35 Group(fr):      Development/Librairies
36 Group(pl):      Programowanie/Biblioteki
37 Requires:       %{name}-devel = %{version}
38
39 %description static
40 Static libwww libraries.
41
42 %package apps
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}
47 Icon:           robot48x.gif
48
49 %description apps
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.
58 (hint, hint...)
59
60 %prep
61 %setup -q
62 %patch -p1
63
64 %build
65 automake
66 %configure \
67         --enable-shared \
68         --with-gnu-ld \
69         --with-regex \
70         --with-zlib
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install DESTDIR=$RPM_BUILD_ROOT
77
78 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
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
93
94 %files apps
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/webbot
97 %attr(755,root,root) %{_bindir}/w3c
98
99 %files devel
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
108
109 %{_includedir}/xmlparse.h
110 %{_includedir}/w3c-libwww
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/libwww*.a
115 %{_libdir}/libxml*.a
116 %{_libdir}/libmd5.a
This page took 0.073394 seconds and 3 git commands to generate.