Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37043084
en ru br
ALT Linux repos
5.0: 5.4.1-alt0.1.1.1
4.1: 5.4.1-alt0.1.1
4.0: 5.4.1-alt0.1.1
3.0: 5.4.0-alt1.1

Group :: System/Libraries
RPM: w3c-libwww

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%set_verify_elf_method unresolved=relaxed

Name: w3c-libwww
Version: 5.4.1
Release: alt0.1.1

Summary: HTTP library of common code
License: W3C
Group: System/Libraries
Url: http://www.w3.org/Library
Icon: Lib48x.gif

Packager: AEN <aen at altlinux.ru>

Source: %url/Distribution/%name-%version-cvs.tar.bz2
Patch1: w3c-libwww-5.3.2-incdir.patch
Patch2: %name-alt-makefile-library.patch
Patch3: %name-alt-makefile-expat.patch
Patch4: %name-alt-makefile-SSL.patch
Patch5: %name-alt-makefile-pics.patch
Patch6: %name-alt-perl.patch

BuildRequires: expat-devel openssl-devel zlib-devel

%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.

%package devel
Summary: Libraries and header files for programs that use libwww
Group: Development/C
Requires: %name = %version
Requires: expat-devel

%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, command line tool, etc
Group: Networking/WWW
Requires: %name = %version
Icon: robot48x.gif

%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 -n %name
%patch1 -p1
%patch2
%patch3
%patch4
%patch5
%patch6
touch wwwconf.h.in

%build
aclocal --force
libtoolize --force
autoconf --force
autoheader --force
automake -fi

%configure \
--enable-shared \
--with-gnu-ld \
--with-regex \
--with-zlib \
--with-ssl \
--with-md5 \
--with-expat \
--enable-reentrant
make

%install
%make_install install DESTDIR=%buildroot

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%_libdir/*.so.*
%_datadir/%name

%files devel
%_bindir/*-config
%_libdir/*.so
%_libdir/*.*a
%_includedir/*
%doc *.html Icons/*/*.gif

%files apps
%_bindir/webbot
%_bindir/w3c
%_bindir/www

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin