Logoj0ke.net Open Build Service > Projects > devel:libs > w3c-libwww > Changes
Sign Up | Log In

Changes of Revision 8

[-] Added w3c-libwww.spec
x
 
1
@@ -0,0 +1,211 @@
2
+# Note that this is NOT a relocatable package
3
+Summary: HTTP library of common code
4
+Name: w3c-libwww
5
+Version: 5.4.0
6
+Release: 10.1.RHEL4.2
7
+License: W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html)
8
+Group: System Environment/Libraries
9
+Packager:     peter+rpmspam@suntel.com.tr
10
+Source: http://www.w3.org/Library/Distribution/w3c-libwww-%{version}.tgz
11
+Patch0: w3c-libwww-5.2.8-destdir.patch
12
+Patch1: w3c-libwww-5.3.2-incdir.patch
13
+Patch2: w3c-libwww-ppc64.patch
14
+Patch3: w3c-libwww-autostar.patch
15
+Patch4: w3c-libwww-5.4.0-type.patch
16
+Patch5: w3c-libwww-5.4.0-htbound.patch
17
+URL: http://www.w3.org/Library
18
+BuildRoot: /var/tmp/%{name}-root
19
+BuildRequires: libtool autoconf automake zlib-devel
20
+BuildRequires: openssl-devel
21
+
22
+%description
23
+Libwww is a general-purpose Web API written in C for Unix and Windows (Win32).
24
+With a highly extensible and layered API, it can accommodate many different
25
+types of applications including clients, robots, etc. The purpose of libwww
26
+is to provide a highly optimized HTTP sample implementation as well as other
27
+Internet protocols and to serve as a testbed for protocol experiments.
28
+
29
+%package devel
30
+Summary: Libraries and header files for programs that use libwww.
31
+Group: Development/Libraries
32
+Requires: w3c-libwww = %{version} zlib-devel
33
+
34
+%description devel
35
+Static libraries and header files for libwww, which are available as public
36
+libraries.
37
+
38
+%package apps
39
+Summary: Applications built using Libwww web library: e.g. Robot, command line tool, etc.
40
+Group: Applications/Internet
41
+Requires: w3c-libwww
42
+
43
+%description apps
44
+
45
+Web applications built using Libwww: Robot, Command line tool, 
46
+line mode browser.  The Robot can crawl web sites faster, and
47
+with lower load, than any other web walker that we know of, 
48
+due to its extensive pipelining and use of HTTP/1.1.
49
+
50
+The command line tool (w3c) is very useful for manipulation of 
51
+Web sites that implement more than just HTTP GET (e.g. PUT, 
52
+ POST, etc.).
53
+
54
+The line mode browser is a minimal line mode web browser; 
55
+often useful to convert to ascii text.  Currently unavailable
56
+until someone updates it to some new interfaces. (hint, hint...)
57
+
58
+%debug_package
59
+%prep
60
+%setup -q
61
+#%patch0 -p1 -b .destdir
62
+%patch1 -p1 
63
+%patch2 -p1 -b .ppc64
64
+%patch3 -p1 -b .autostar
65
+%patch4 -p1 -b .type
66
+%patch5 -p1 -b .htfix
67
+
68
+libtoolize -c -f
69
+aclocal
70
+automake --add-missing
71
+autoconf
72
+autoheader
73
+echo timestamp > stamp-h.in
74
+touch Library/User/Extrnals.html
75
+
76
+%build
77
+CFLAGS="$RPM_OPT_FLAGS -fPIC"
78
+CPPFLAGS="$RPM_OPT_FLAGS -fPIC"
79
+
80
+%configure --enable-shared --with-gnu-ld --with-regex --with-zlib --with-ssl
81
+export tagname=CC
82
+make LIBTOOL=/usr/bin/libtool
83
+
84
+%install
85
+rm -rf $RPM_BUILD_ROOT
86
+
87
+export tagname=CC
88
+make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
89
+
90
+pushd $RPM_BUILD_ROOT
91
+  chmod +x .%{_libdir}/lib{www*,xml*,md5}.so.0.*
92
+  ln -s w3c-libwww/xmlparse.h ./usr/include/xmlparse.h
93
+  mv ./%{_prefix}/include/wwwconf.h ./%{_prefix}/include/w3c-libwww/
94
+popd
95
+
96
+# remove since for some reason we aren't shipping it
97
+rm -f $RPM_BUILD_ROOT%{_prefix}/bin/www
98
+
99
+%clean
100
+rm -rf $RPM_BUILD_ROOT
101
+
102
+%post -p /sbin/ldconfig
103
+
104
+%postun -p /sbin/ldconfig
105
+
106
+%files
107
+%defattr(-,root,root)
108
+%{_libdir}/libwww*.so.*
109
+%{_libdir}/libxml*.so.*
110
+%{_libdir}/libmd5.so.*
111
+%{_libdir}/libpics.so.*
112
+%{_prefix}/share/w3c-libwww
113
+
114
+%doc *.html Icons/*/*.gif
115
+
116
+%files apps
117
+%defattr(-,root,root)
118
+%{_prefix}/bin/webbot
119
+%{_prefix}/bin/w3c
120
+
121
+%files devel
122
+%defattr(-,root,root)
123
+%{_prefix}/bin/libwww-config
124
+%{_libdir}/lib*.a
125
+%{_libdir}/lib*.la
126
+%{_libdir}/lib*.so
127
+
128
+%{_prefix}/include/w3c-libwww
129
+%{_prefix}/include/xmlparse.h
130
+
131
+%changelog
132
+* Wed Nov 15 2006 Harald Hoyer <harald@redhat.com> - 5.4.0-10.1.RHEL4.2
133
+- fix for libwww's handling of multipart/byteranges content and possible
134
+  stack overflow, CVE-2005-3183
135
+- Resolves: rhbz#169495
136
+
137
+* Thu Nov 10 2004 Harald Hoyer <harald@redhat.com> - 5.4.0-10.1.RHEL4.1
138
+- fixed type in md5.h for 64bit (bug #163664)
139
+
140
+* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
141
+- rebuilt
142
+
143
+* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
144
+- rebuilt
145
+
146
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
147
+- rebuilt
148
+
149
+* Thu Jan 29 2004 Harald Hoyer <harald@redhat.com> - 5.4.0-8
150
+- added zlib-devel dependency
151
+
152
+* Thu Aug  7 2003 Elliot Lee <sopwith@redhat.com> 5.4.0-7
153
+- Fix libtool, auto*
154
+
155
+* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
156
+- rebuilt
157
+
158
+* Mon Feb 17 2003 Elliot Lee <sopwith@redhat.com> 5.4.0-5
159
+- ppc64 fixes
160
+
161
+* Wed Jan 29 2003 Harald Hoyer <harald@redhat.de> 5.4.0-4
162
+- rebuilt
163
+
164
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
165
+- rebuilt
166
+
167
+* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
168
+- rebuild on all arches
169
+- lib64'ize
170
+- fix broken %%doc file list
171
+
172
+* Tue Jul 23 2002 Harald Hoyer <harald@redhat.de> 5.4.0-1
173
+- removed prestripping
174
+
175
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
176
+- automated rebuild
177
+
178
+* Thu May 23 2002 Tim Powers <timp@redhat.com>
179
+- automated rebuild
180
+
181
+* Wed Feb 20 2002 Harald Hoyer <harald@redhat.de>
182
+- fixed --cflags (#59503)
183
+
184
+* Wed Jan 23 2002 Harald Hoyer <harald@redhat.de> 5.3.2-4
185
+- moved wwwconf.h in w3c-libwww subdir #58060
186
+- added libpics.so.* #58433
187
+
188
+* Mon Jan 07 2002 Harald Hoyer <harald@redhat.com> 5.3.2-2
189
+- added wwwconf.h (#58060)
190
+
191
+* Thu Dec 13 2001 Harald Hoyer <harald@redhat.com>
192
+- fix for #55526
193
+
194
+* Tue Jul 10 2001 Tim Powers <timp@redhat.com>
195
+- make devel package version dependant
196
+
197
+* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
198
+- Bump release + rebuild for 7.2.
199
+
200
+* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
201