Name: libwww Version: 5.4.0 Release: 4mamba Summary: General-purpose Web API written in C Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.w3.org/Library/ Source: http://www.w3.org/Library/Distribution/w3c-%{name}-%{version}.tgz Patch0: %{name}-5.4.0-can_2005_3183.patch Patch1: %{name}-5.4.0-libtool.patch Patch2: %{name}-5.4.0-incdir.patch License: W3C License BuildRequires: libncurses-devel >= 5.4 BuildRequires: zlib-devel >= 1.2.2 BuildRoot: %{_tmppath}/%{name}-%{version}-root # checking whether to support mysql access.... no %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. Libwww also supports HTTPS, thru OpenSSL. %package apps Group: Applications/Web Summary: Applications built using Libwww web library Requires: %{name} = %{version}-%{release} %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. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version}-%{release} %description devel 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. Libwww also supports HTTPS, thru OpenSSL. This package contains static libraries and header files need for development. %prep %setup -q -n w3c-%{name}-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %configure \ --enable-shared \ --with-gnu-ld \ --with-zlib \ --with-regex \ --with-md5 \ --with-dav \ --with-ssl \ --with-exension %make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall (cd %{buildroot} chmod +x ./usr/lib/lib{www*,xml*,md5}.so.0.*) %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_datadir}/w3c-libwww/* %{_libdir}/*.so.* %doc *.html %files apps %defattr(-,root,root) %{_bindir}/w3c %{_bindir}/webbot %{_bindir}/www %files devel %defattr(-,root,root) %{_bindir}/libwww-config %{_includedir}/*.h %dir %{_includedir}/w3c-libwww/ %{_includedir}/w3c-libwww/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %changelog * Thu Jun 12 2008 Silvan Calarco 5.4.0-4mamba - specfile updated * Mon Jan 09 2006 Stefano Cotta Ramusino 5.4.0-3qilnx - fixed package group and license * Fri Nov 11 2005 Davide Madrisan 5.4.0-2qilnx - security update for CAN-2005-3183 (QiLinux bug#68) - enabled support for OpenSSL * Thu Dec 02 2004 Davide Madrisan 5.4.0-1qilnx - package created by autospec