2007-01-08 14:01:16 +01:00
|
|
|
#
|
2009-12-03 02:51:46 +01:00
|
|
|
# spec file for package libsoup (Version 2.29.3)
|
2007-01-08 14:01:16 +01:00
|
|
|
#
|
2009-01-08 18:44:34 +01:00
|
|
|
# Copyright (c) 2009 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
|
2009-03-26 23:38:20 +01:00
|
|
|
BuildRequires: gconf2-devel
|
2008-09-12 22:14:35 +02:00
|
|
|
BuildRequires: glib2-devel
|
2009-09-05 01:34:06 +02:00
|
|
|
BuildRequires: gnome-keyring-devel
|
2008-09-12 22:14:35 +02:00
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
BuildRequires: gtk-doc
|
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
|
2008-01-30 18:32:50 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-08 14:01:16 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2009-01-08 18:44:34 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libsoup-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2009-12-04 04:02:36 +01:00
|
|
|
Summary: HTTP client/server library for GNOME
|
2009-12-03 02:51:46 +01:00
|
|
|
Version: 2.29.3
|
2009-02-06 18:03:23 +01:00
|
|
|
Release: 1
|
2007-01-08 14:01:16 +01:00
|
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2
|
2009-12-04 04:02:36 +01:00
|
|
|
# PATCH-FIX-UPSTREAM libsoup-gir-repository-build.patch bgo603696 vuntz@opensuse.org -- Needed to fix gir-repository build
|
|
|
|
Patch0: libsoup-gir-repository-build.patch
|
2008-01-30 18:32:50 +01:00
|
|
|
Url: http://www.gnome.org
|
2007-01-08 14:01:16 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-03-05 22:41:13 +01:00
|
|
|
Requires: %{name}-2_4-1 = %{version}
|
2007-01-08 14:01:16 +01:00
|
|
|
|
|
|
|
%description
|
2009-12-04 04:02:36 +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
|
2008-04-10 14:33:49 +02:00
|
|
|
License: LGPL v2.1 or later
|
2009-12-04 04:02:36 +01:00
|
|
|
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-04 04:02:36 +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
|
2008-04-10 14:33:49 +02:00
|
|
|
License: LGPL v2.1 or later
|
2009-12-04 04:02:36 +01:00
|
|
|
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-04 04:02:36 +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
|
2009-12-04 04:02:36 +01:00
|
|
|
%patch0 -p1
|
2007-01-08 14:01:16 +01:00
|
|
|
|
|
|
|
%build
|
2007-02-15 18:30:29 +01:00
|
|
|
%configure\
|
|
|
|
--disable-static
|
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.*
|
|
|
|
|
|
|
|
%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
|
2007-01-08 14:01:16 +01:00
|
|
|
|
2007-02-20 00:10:55 +01:00
|
|
|
%changelog
|