# # spec file for package libsoup (Version 2.31.92) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libsoup BuildRequires: gconf2-devel BuildRequires: glib2-devel BuildRequires: gnutls-devel BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: libgnome-keyring-devel BuildRequires: libproxy-devel BuildRequires: libxml2-devel BuildRequires: sqlite3-devel # We do not need these dependencies needed only for tests. #BuildRequires: apache2-mod_php5 php5-xmlrpc License: LGPLv2.1+ Group: Development/Libraries/GNOME # bug437293 %ifarch ppc64 Obsoletes: libsoup-64bit %endif # Summary: HTTP client/server library for GNOME Version: 2.31.92 Release: 1 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2 Source99: baselibs.conf Url: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-2_4-1 = %{version} %description Libsoup is an HTTP client/server library for GNOME. It uses GObjects and the glib main loop, to integrate well with GNOME applications. Features: * Both asynchronous (GMainLoop and callback-based) and synchronous APIs * Automatically caches connections * SSL Support using GnuTLS * Proxy support, including authentication and SSL tunneling * Client support for Digest, NTLM, and Basic authentication * Server support for Digest and Basic authentication * XML-RPC support %package 2_4-1 License: LGPLv2.1+ Summary: HTTP client/server library for GNOME Group: Development/Libraries/GNOME Provides: %{name} = %{version} Obsoletes: %{name} < %{version} # bug437293 %ifarch ppc64 Obsoletes: libsoup-64bit %endif # %description 2_4-1 Libsoup is an HTTP client/server library for GNOME. It uses GObjects and the glib main loop, to integrate well with GNOME applications. Features: * Both asynchronous (GMainLoop and callback-based) and synchronous APIs * Automatically caches connections * SSL Support using GnuTLS * Proxy support, including authentication and SSL tunneling * Client support for Digest, NTLM, and Basic authentication * Server support for Digest and Basic authentication * XML-RPC support %package devel License: LGPLv2.1+ Summary: HTTP client/server library for GNOME - Development Files Group: Development/Libraries/GNOME Requires: %{name} = %{version} glib2-devel libgnutls-devel libgcrypt-devel libgpg-error-devel libxml2-devel Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} # bug437293 %ifarch ppc64 Obsoletes: libsoup-devel-64bit %endif # %description devel Libsoup is an HTTP client/server library for GNOME. It uses GObjects and the glib main loop, to integrate well with GNOME applications. Features: * Both asynchronous (GMainLoop and callback-based) and synchronous APIs * Automatically caches connections * SSL Support using GnuTLS * Proxy support, including authentication and SSL tunneling * Client support for Digest, NTLM, and Basic authentication * Server support for Digest and Basic authentication * XML-RPC support %prep %setup -q %build %configure\ --disable-static \ --enable-introspection make %{?jobs:-j%jobs} %install %makeinstall rm $RPM_BUILD_ROOT/%{_libdir}/*.*a %clean rm -rf $RPM_BUILD_ROOT %post 2_4-1 -p /sbin/ldconfig %postun 2_4-1 -p /sbin/ldconfig %files 2_4-1 %defattr(-, root, root) %doc README COPYING NEWS AUTHORS %{_libdir}/*.so.* %{_libdir}/girepository-1.0/Soup-2.4.typelib %{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib %files devel %defattr(-,root,root) %{_includedir}/libsoup-2.4 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/libsoup-gnome-2.4 %{_datadir}/gtk-doc/html/libsoup-2.4 %{_datadir}/gir-1.0/Soup-2.4.gir %{_datadir}/gir-1.0/SoupGNOME-2.4.gir %changelog