2007-01-08 14:01:16 +01:00
#
2010-11-30 13:52:20 +01:00
# spec file for package libsoup (Version 2.32.2)
2007-01-08 14:01:16 +01:00
#
2010-01-21 11:14:11 +01:00
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-08 14:01:16 +01:00
#
2008-08-13 23:58:51 +02:00
# 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.
2007-01-08 14:01:16 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
2008-03-05 22:41:13 +01:00
2007-01-08 14:01:16 +01:00
Name : libsoup
2010-09-21 10:58:36 +02:00
Summary : HTTP client/server library for GNOME
2010-11-30 13:52:20 +01:00
Version : 2.32.2
2010-09-21 10:58:36 +02:00
Release : 1
License : LGPLv2.1+
Group : Development/Libraries/GNOME
Url : http://www.gnome.org
Source : ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name} -%{version} .tar.bz2
Source99 : baselibs.conf
# PATCH-FIX-OPENSUSE libsoup-gnutls-allow-tls.patch bnc#634040 vuntz@opensuse.org -- Allow TLS usage instead of being SSL 3.0-only. Upstream does not want this, and rewriting a lot of code is needed to fix this correctly. However, the openSUSE security team wants TLS to be used if possible. This might lead to some websites being not accessible with libsoup.
Patch0 : libsoup-gnutls-allow-tls.patch
2009-03-26 23:38:20 +01:00
BuildRequires : gconf2-devel
2008-09-12 22:14:35 +02:00
BuildRequires : glib2-devel
BuildRequires : gnutls-devel
2010-07-22 23:43:27 +02:00
BuildRequires : gobject-introspection-devel
2008-09-12 22:14:35 +02:00
BuildRequires : gtk-doc
2009-12-30 00:27:16 +01:00
BuildRequires : libgnome-keyring-devel
2009-02-12 21:54:13 +01:00
BuildRequires : libproxy-devel
2008-09-12 22:14:35 +02:00
BuildRequires : libxml2-devel
2009-02-06 18:03:23 +01:00
BuildRequires : sqlite3-devel
2007-01-08 14:01:16 +01:00
# We do not need these dependencies needed only for tests.
#BuildRequires: apache2-mod_php5 php5-xmlrpc
2010-09-21 10:58:36 +02:00
Requires : %{name} -2_4-1 = %{version}
2009-01-08 18:44:34 +01:00
# bug437293
%ifarch ppc64
Obsoletes : libsoup-64bit
%endif
#
2007-01-08 14:01:16 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
2009-12-24 16:30:02 +01:00
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
2008-02-01 22:51:53 +01:00
2008-03-05 22:41:13 +01:00
%package 2_4-1
2009-12-24 16:30:02 +01:00
License : LGPLv2.1+
Summary : HTTP client/server library for GNOME
2008-02-01 22:51:53 +01:00
Group : Development/Libraries/GNOME
2009-03-26 23:38:20 +01:00
Provides : %{name} = %{version}
Obsoletes : %{name} < %{version}
2009-01-08 18:44:34 +01:00
# bug437293
%ifarch ppc64
Obsoletes : libsoup-64bit
%endif
#
2008-02-01 22:51:53 +01:00
2008-03-05 22:41:13 +01:00
%description 2_4-1
2009-12-24 16:30:02 +01:00
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
2007-01-08 14:01:16 +01:00
%package devel
2009-12-24 16:30:02 +01:00
License : LGPLv2.1+
Summary : HTTP client/server library for GNOME - Development Files
2007-01-08 14:01:16 +01:00
Group : Development/Libraries/GNOME
2008-01-30 18:32:50 +01:00
Requires : %{name} = %{version} glib2-devel libgnutls-devel libgcrypt-devel libgpg-error-devel libxml2-devel
2009-03-26 23:38:20 +01:00
Provides : %{name} -doc = %{version}
Obsoletes : %{name} -doc < %{version}
2009-01-08 18:44:34 +01:00
# bug437293
%ifarch ppc64
Obsoletes : libsoup-devel-64bit
%endif
#
2007-01-08 14:01:16 +01:00
%description devel
2009-12-24 16:30:02 +01:00
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
2007-01-08 14:01:16 +01:00
%prep
%setup -q
2010-09-21 10:58:36 +02:00
%patch0 -p1
2007-01-08 14:01:16 +01:00
%build
2007-02-15 18:30:29 +01:00
%configure \
2010-07-22 14:43:40 +02:00
--disable-static \
--enable-introspection
2007-01-08 14:01:16 +01:00
make %{?jobs:-j%jobs}
%install
2008-02-01 22:51:53 +01:00
%makeinstall
rm $RPM_BUILD_ROOT /%{_libdir} /*.*a
2007-01-08 14:01:16 +01:00
%clean
rm -rf $RPM_BUILD_ROOT
2008-03-05 22:41:13 +01:00
%post 2_4-1 -p /sbin/ldconfig
2007-01-08 14:01:16 +01:00
2008-03-05 22:41:13 +01:00
%postun 2_4-1 -p /sbin/ldconfig
2007-01-08 14:01:16 +01:00
2008-03-05 22:41:13 +01:00
%files 2_4-1
2008-02-01 22:51:53 +01:00
%defattr (-, root, root)
2009-05-28 02:30:51 +02:00
%doc README COPYING NEWS AUTHORS
2007-01-08 14:01:16 +01:00
%{_libdir} /*.so.*
2010-07-22 14:43:40 +02:00
%{_libdir} /girepository-1.0/Soup-2.4.typelib
%{_libdir} /girepository-1.0/SoupGNOME-2.4.typelib
2007-01-08 14:01:16 +01:00
%files devel
%defattr (-,root,root)
2008-01-30 18:32:50 +01:00
%{_includedir} /libsoup-2.4
2007-01-08 14:01:16 +01:00
%{_libdir} /*.so
%{_libdir} /pkgconfig/*.pc
2009-02-06 18:03:23 +01:00
%{_includedir} /libsoup-gnome-2.4
2008-03-05 22:41:13 +01:00
%{_datadir} /gtk-doc/html/libsoup-2.4
2010-07-22 14:43:40 +02:00
%{_datadir} /gir-1.0/Soup-2.4.gir
%{_datadir} /gir-1.0/SoupGNOME-2.4.gir
2007-01-08 14:01:16 +01:00
2007-02-20 00:10:55 +01:00
%changelog