]> git.pld-linux.org Git - packages/w3c-libwww.git/blob - w3c-libwww.spec
- / at the end of URL
[packages/w3c-libwww.git] / w3c-libwww.spec
1 Summary:        HTTP library of common code
2 Summary(pl):    Biblioteka wspólnego kodu HTTP
3 Name:           w3c-libwww
4 Version:        5.3.1
5 Release:        1
6 License:        W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        http://www.w3.org/Library/Distribution/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-DESTDIR.patch
17 URL:            http://www.w3.org/Library/
18 Icon:           Lib48x.gif
19 BuildRequires:  automake
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Libwww is a general-purpose Web API written in C for Unix and Windows
24 (Win32). With a highly extensible and layered API, it can accommodate
25 many different types of applications including clients, robots, etc.
26 The purpose of libwww is to provide a highly optimized HTTP sample
27 implementation as well as other Internet protocols and to serve as a
28 testbed for protocol experiments.
29
30 %description -l pl
31 Libwww jest bibliotek± WWW ogólnego przeznaczenia napisan± w C dla
32 Uniksów oraz Windows. Z wysoko rozszerzalnym i warstwowym API, mo¿e
33 mieæ zastosowanie w wielu rodzajach aplikacji, w tym klientach,
34 robotach itp. Celem libwww jest dostarczenie dobrze zoptymalizowanej,
35 przyk³adowej implementacji HTTP, a tak¿e innych protoko³ów
36 internetowych, oraz ¶rodowiska testowego do eksperymentów z
37 protoko³ami.
38
39 %package devel
40 Summary:        Header files for programs that use libwww
41 Summary(pl):    Pliki nag³ówkowe dla programów u¿ywaj±cych libwww
42 Group:          Development/Libraries
43 Group(de):      Entwicklung/Libraries
44 Group(es):      Desarrollo/Bibliotecas
45 Group(fr):      Development/Librairies
46 Group(pl):      Programowanie/Biblioteki
47 Group(pt_BR):   Desenvolvimento/Bibliotecas
48 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
49 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
50 Requires:       %{name} = %{version}
51
52 %description devel
53 Header files for libwww, which are available as public libraries.
54
55 %description devel -l pl
56 Pliki nag³ówkowe dla libwww.
57
58 %package static
59 Summary:        Static libwww libraries
60 Summary(pl):    Statyczne biblioteki libwww
61 Group:          Development/Libraries
62 Group(de):      Entwicklung/Libraries
63 Group(es):      Desarrollo/Bibliotecas
64 Group(fr):      Development/Librairies
65 Group(pl):      Programowanie/Biblioteki
66 Group(pt_BR):   Desenvolvimento/Bibliotecas
67 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
68 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
69 Requires:       %{name}-devel = %{version}
70
71 %description static
72 Static libwww libraries.
73
74 %description static -l pl
75 Statyczne biblioteki libwww.
76
77 %package apps
78 Summary:        Applications built using Libwww web library: e.g. Robot, command line tool, etc
79 Summary(pl):    Aplikacje u¿ywaj±ce Libwww: Robot, narzêdzie command-line itp.
80 Group:          Applications/Networking
81 Group(de):      Applikationen/Netzwerkwesen
82 Group(pl):      Aplikacje/Sieciowe
83 Requires:       %{name} = %{version}
84 Icon:           robot48x.gif
85
86 %description apps
87 Web applications built using Libwww: Robot, Command line tool, line
88 mode browser. The Robot can crawl web sites faster, and with lower
89 load, than any other web walker that we know of, due to its extensive
90 pipelining and use of HTTP/1.1. The command line tool (w3c) is very
91 useful for manipulation of Web sites that implement more than just
92 HTTP GET (e.g. PUT, POST, etc.). The line mode browser is a minimal
93 line mode web browser; often useful to convert to ascii text.
94 Currently unavailable until someone updates it to some new interfaces.
95 (hint, hint...)
96
97 %description apps -l pl
98 Aplikacje sieciowe zbudowane przy u¿yciu libwww: Robot, narzêdzie
99 comman-line, liniowa przegl±darka. Robot mo¿e przechodziæ po stronach
100 szybciej i z mniejszym obci±¿eniem ni¿ inne znane roboty, dziêki
101 wykorzystywaniu pipeliningu i HTTP/1.1. Narzêdzie command-line (w3c)
102 jest u¿yteczne do manipulowania serwisami WWW, które maj±
103 zaimplementowane co¶ wiêcej ni¿ HTTP GET (np. PUT, POST...).
104 Przegl±darka liniowa jest u¿yteczna g³ównie do konwersji do zwyk³ego
105 tekstu. Aktualnie niedostêpna dopóki kto¶ nie przystosuje jej do
106 nowego interfejsu (hint, hint...).
107
108 %prep
109 %setup -q
110 %patch0 -p1
111
112 %build
113 automake -a -c
114 %configure \
115         --enable-shared \
116         --with-gnu-ld \
117         --with-regex \
118         --with-zlib
119 %{__make}
120
121 %install
122 rm -rf $RPM_BUILD_ROOT
123
124 %{__make} install DESTDIR=$RPM_BUILD_ROOT
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %post   -p /sbin/ldconfig
130 %postun -p /sbin/ldconfig
131
132 %files
133 %defattr(644,root,root,755)
134 %doc *.html */*.html */*/*.html Icons/*/*.gif
135 %attr(755,root,root) %{_libdir}/libwww*.so.*.*
136 %attr(755,root,root) %{_libdir}/libxml*.so.*.*
137 %attr(755,root,root) %{_libdir}/libmd5.so.*.*
138 %{_datadir}/w3c-libwww
139
140 %files apps
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_bindir}/webbot
143 %attr(755,root,root) %{_bindir}/w3c
144
145 %files devel
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_bindir}/libwww-config
148 %attr(755,root,root) %{_libdir}/libwww*.so
149 %attr(755,root,root) %{_libdir}/libxml*.so
150 %attr(755,root,root) %{_libdir}/libmd5.so
151 %attr(755,root,root) %{_libdir}/libwww*.la
152 %attr(755,root,root) %{_libdir}/libxml*.la
153 %attr(755,root,root) %{_libdir}/libmd5.la
154
155 %{_includedir}/xmlparse.h
156 %{_includedir}/w3c-libwww
157
158 %files static
159 %defattr(644,root,root,755)
160 %{_libdir}/libwww*.a
161 %{_libdir}/libxml*.a
162 %{_libdir}/libmd5.a
This page took 0.078885 seconds and 4 git commands to generate.