%define api_version 2.0 %define lib_major 0 %define lib_name %mklibname soup- %{api_version} %{lib_major} Summary: SOAP (Simple Object Access Protocol) implementation Name: libsoup Version: 1.99.23 Release: 2mdk License: GPL/LGPL Group: System/Libraries URL: http://www.gnome.org/ Source0: ftp://ftp.gnome.org/pub/GNOME/sources/soup/1.99/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: glib2-devel BuildRequires: openssl-devel %description Soup is a SOAP (Simple Object Access Protocol) implementation in C. It provides an queued asynchronous callback-based mechanism for sending and servicing SOAP requests, and a WSDL (Web Service Definition Language) to C compiler which generates client stubs and server skeletons for easily calling and implementing SOAP methods. %package -n %{lib_name} Summary: Libraries for soup Group: System/Libraries Requires: %{name} >= %{version}-%{release} Obsoletes: libsoup-2.0_3 Provides: libsoup-2.0_3 = %{version}-%{release} %description -n %{lib_name} Soup is a SOAP (Simple Object Access Protocol) implementation in C. It provides an queued asynchronous callback-based mechanism for sending and servicing SOAP requests, and a WSDL (Web Service Definition Language) to C compiler which generates client stubs and server skeletons for easily calling and implementing SOAP methods. This package contains libraries used by soup. %package -n %{lib_name}-devel Summary: Development libraries, header files and utilities for soup Group: Development/GNOME and GTK+ Provides: %{name}-%{api_version}-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Requires: %{lib_name} = %{version}-%{release} Requires: glib2-devel %description -n %{lib_name}-devel Soup is a SOAP (Simple Object Access Protocol) implementation in C. It provides an queued asynchronous callback-based mechanism for sending and servicing SOAP requests, and a WSDL (Web Service Definition Language) to C compiler which generates client stubs and server skeletons for easily calling and implementing SOAP methods. This package contains the files necessary to develop applications with soup. %prep %setup -q %build %configure2_5x #parallel compilation is broken make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %post -n %{lib_name} -p /sbin/ldconfig %postun -n %{lib_name} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README COPYING ChangeLog TODO AUTHORS %{_libexecdir}/libsoup-ssl-proxy %files -n %{lib_name} %defattr(-,root,root,-) %{_libdir}/*.so.* %files -n %{lib_name}-devel %defattr(-,root,root,-) %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/*.a %{_libdir}/pkgconfig/* %{_includedir}/* %changelog * Fri Jul 11 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 1.99.23-2mdk - Rebuild for latest provides * Tue Jun 10 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 1.99.23-1mdk - Release 1.99.23 * Mon Jun 02 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 1.99.22-1mdk - Release 1.99.22 - Fix lib major (I screw it last time..) * Wed May 07 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 1.99.20-1mdk - Release 1.99.20 * Wed Apr 16 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 1.99.17-1mdk - Release 1.99.17 (GNOME2 version) * Fri Feb 7 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7.11-1mdk - Release 0.7.11 * Thu Jan 16 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7.10-2mdk - Rebuild against latest openssl * Mon Dec 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7.10-1mdk - Release 0.7.10 * Thu Nov 14 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7.9-1mdk - Release 0.7.9 * Wed Nov 6 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7.4-1mdk - Initial Mandrake package