]> git.pld-linux.org Git - packages/w3c-libwww.git/blob - w3c-libwww.spec
ac3902d870b81576616684e6153daf3847134ff8
[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 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc *.html */*.html */*/*.html Icons/*/*.gif
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
96
97 %files apps
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_bindir}/webbot
100 %attr(755,root,root) %{_bindir}/w3c
101
102 %files devel
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.221896 seconds and 3 git commands to generate.