]> git.pld-linux.org Git - packages/w3c-libwww.git/blob - w3c-libwww.spec
- updated to 5.3.1
[packages/w3c-libwww.git] / w3c-libwww.spec
1 Summary:        HTTP library of common code
2 Name:           w3c-libwww
3 Version:        5.3.1
4 Release:        1
5 Copyright:      W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
6 Group:          Libraries
7 Group(de):      Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        http://www.w3.org/Library/Distribution/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-DESTDIR.patch
12 URL:            http://www.w3.org/Library
13 Icon:           Lib48x.gif
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Libwww is a general-purpose Web API written in C for Unix and Windows
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.
23
24 %package devel
25 Summary:        Libraries and header files for programs that use libwww
26 Group:          Development/Libraries
27 Group(de):      Entwicklung/Libraries
28 Group(fr):      Development/Librairies
29 Group(pl):      Programowanie/Biblioteki
30 Requires:       %{name} = %{version}
31
32 %description devel
33 Header files for libwww, which are available as public libraries.
34
35 %package static
36 Summary:        Static libwww libraries
37 Group:          Development/Libraries
38 Group(de):      Entwicklung/Libraries
39 Group(fr):      Development/Librairies
40 Group(pl):      Programowanie/Biblioteki
41 Requires:       %{name}-devel = %{version}
42
43 %description static
44 Static libwww libraries.
45
46 %package apps
47 Summary:        Applications built using Libwww web library: e.g. Robot, command line tool, etc
48 Group:          Applications/Networking
49 Group(de):      Applikationen/Netzwerkwesen
50 Group(pl):      Aplikacje/Sieciowe
51 Requires:       %{name} = %{version}
52 Icon:           robot48x.gif
53
54 %description apps
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...)
64
65 %prep
66 %setup -q
67 %patch0 -p1
68
69 %build
70 automake
71 %configure \
72         --enable-shared \
73         --with-gnu-ld \
74         --with-regex \
75         --with-zlib
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install DESTDIR=$RPM_BUILD_ROOT
82
83 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc *.html */*.html */*/*.html Icons/*/*.gif
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
98
99 %files apps
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/webbot
102 %attr(755,root,root) %{_bindir}/w3c
103
104 %files devel
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.068052 seconds and 4 git commands to generate.