Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > 6f59208620e291a89ea2cdcca732ee53 > files > 5

w3c-libwww-5.4.0-2mdk.src.rpm

# define to update aclocal.m4 with new libtool.m4
%define update_aclocal 0
%ifarch x86_64 mips
%define update_aclocal 1
%endif

Summary: HTTP library of common code
Name: w3c-libwww
Version: 5.4.0
Release: 2mdk
License: W3C License
Group: System/Libraries
Source: http://www.w3.org/Library/Distribution/%{name}-%{version}.tar.bz2
Patch0: w3c-libwww-5.3.2-lib64.patch.bz2
URL: http://www.w3.org/Library
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: zlib-devel openssl-devel
# pulled by library dependencies
#Requires: openssl zlib
Icon: Lib48x.xpm

%description
Libwww is a general-purpose Web API written in C for Unix and Windows (Win32).
With a highly extensible and layered API, it can accommodate many different
types of applications including clients, robots, etc. The purpose of libwww
is to provide a highly optimized HTTP sample implementation as well as other
Internet protocols and to serve as a testbed for protocol experiments.

See: http://www.w3.org/Consortium/Legal/copyright-software.html for
further information on its license.

%package devel
Summary: Libraries and header files for programs that use libwww.
Group: Development/Other
Requires: %{name} = %{version}

%description devel
Static libraries and header files for libwww, which are available as public
libraries.

%package apps
Summary: Applications built using Libwww web library: e.g. Robot, etc.
Group: Networking/WWW
Requires: %{name} = %{version}
Icon: robot48x.xpm

%description apps

Web applications built using Libwww: Robot, Command line tool, 
line mode browser.  The Robot can crawl web sites faster, and
with lower load, than any other web walker that we know of, 
due to its extensive pipelining and use of HTTP/1.1.

The command line tool (w3c) is very useful for manipulation of 
Web sites that implement more than just HTTP GET (e.g. PUT, 
 POST, etc.).

The line mode browser is a minimal line mode web browser; 
often useful to convert to ascii text.  Currently unavailable
until someone updates it to some new interfaces. (hint, hint...)

%prep
%setup -q
%patch0 -p1 -b .lib64
%if %{update_aclocal}
aclocal
%endif
autoconf

%build
%configure --enable-shared --with-gnu-ld --with-regex --with-zlib --with-ssl --with-md5

%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%_libdir/libpics*.so.*
%_libdir/libwww*.so.*
%_libdir/libxml*.so.*
%_libdir/libmd5.so.*
%_datadir/w3c-libwww

%doc *.html  Icons/*/*.gif

%files apps
%defattr(-,root,root)
%doc COPYRIGH
%_bindir/webbot
%_bindir/w3c
%_bindir/www

%files devel
%defattr(-,root,root)
%doc COPYRIGH
%_bindir/libwww-config
%_libdir/lib*.a
%_libdir/lib*.la
%_libdir/lib*.so

%_includedir/wwwconf.h
%_includedir/w3c-libwww

%changelog
* Mon Jul 21 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 5.4.0-2mdk
- rebuild
- use %%makeinstall_std macro

* Thu Jul 25 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.4.0-1mdk
- new release
- gcc3.2 rebuild

* Tue Jul 23 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 5.3.2-4mdk
- Rebuild against latest gcc3.1
- Patch0: Look for OpenSSL libraries in the right directory
- Regenerate configure script with updated libtool.m4 when necessary

* Mon Feb 11 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.3.2-3mdk
- spec clean

* Fri Oct 26 2001 Ludovic Francois <lfrancois@mandrakesoft.com> 5.3.2-2mdk
- Rebuild for rpmlint

* Thu Dec 21 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.3.2-1mdk
- Release 5.3.2
- Correct dependencies
- Remove patch0 (merged mainstream)

* Wed Oct 25 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.3.1-1mdk
- Release 5.3.1
- compiled with ssl and md5 support

* Wed May 03 2000 Lenny Cartier <lenny@mandrakesoft.com> 5.2.8-4mdk
- fix group
- build release

* Mon Apr 12 1999 Jeff Johnson <jbj@redhat.com>
- repackage for Red Hat 6.0.