2007-01-08 14:01:16 +01:00
#
2011-04-21 10:15:54 +02:00
# spec file for package libsoup
2007-01-08 14:01:16 +01:00
#
2018-01-22 10:52:40 +01:00
# Copyright (c) 2018 SUSE LINUX 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/
#
2012-02-22 11:33:33 +01:00
2007-01-08 14:01:16 +01:00
Name : libsoup
2018-04-13 08:45:19 +02:00
Version : 2.62.1
2018-03-09 11:07:58 +01:00
Release : 0
2010-09-21 10:58:36 +02:00
Summary : HTTP client/server library for GNOME
2018-03-09 11:07:58 +01:00
License : LGPL-2.1-or-later
2010-09-21 10:58:36 +02:00
Group : Development/Libraries/GNOME
2018-03-09 11:07:58 +01:00
URL : https://wiki.gnome.org/Projects/libsoup
2018-03-13 09:20:36 +01:00
Source : http://download.gnome.org/sources/libsoup/2.62/%{name} -%{version} .tar.xz
2010-09-21 10:58:36 +02:00
Source99 : baselibs.conf
2018-04-25 13:59:47 +02:00
# PATCH-FIX-UPSTREAM libsoup-SoupCookie-fix-instrospection-annotation.patch bgo#795135 -- SoupCookie: fix the instrospection annotation for get_expires()
Patch0 : libsoup-SoupCookie-fix-instrospection-annotation.patch
# PATCH-FIX-UPSTREAM libsoup-xmlrpc-server-dont-count-null.patch bgo#795111 -- xmlrpc-server.php: Don't try to count NULL params
Patch1 : libsoup-xmlrpc-server-dont-count-null.patch
# PATCH-FIX-UPSTREAM libsoup-soup-socket-fix-critical-warning.patch -- soup-socket: fix critical warning when the peer-certificate changes after disconnect
Patch2 : libsoup-soup-socket-fix-critical-warning.patch
2011-04-21 10:15:54 +02:00
BuildRequires : glib-networking
2012-09-07 18:30:37 +02:00
BuildRequires : intltool >= 0.35.0
2018-03-09 11:07:58 +01:00
BuildRequires : pkgconfig
2017-12-05 09:16:38 +01:00
BuildRequires : python3-base
2018-03-22 10:39:11 +01:00
BuildRequires : translation-update-upstream
2017-11-01 13:07:59 +01:00
BuildRequires : pkgconfig(gio-2.0) >= 2.38.0
BuildRequires : pkgconfig(gobject-2.0) >= 2.38.0
BuildRequires : pkgconfig(gobject-introspection-1.0) >= 0.9.5
BuildRequires : pkgconfig(gtk-doc) >= 1.20
2017-05-20 12:55:44 +02:00
BuildRequires : pkgconfig(krb5)
2017-11-01 13:07:59 +01:00
BuildRequires : pkgconfig(libxml-2.0)
2013-03-13 23:47:08 +01:00
BuildRequires : pkgconfig(sqlite3)
2015-09-04 13:32:21 +02:00
BuildRequires : pkgconfig(vapigen)
2007-01-08 14:01:16 +01:00
# We do not need these dependencies needed only for tests.
#BuildRequires: apache2-mod_php5 php5-xmlrpc
%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
Summary : HTTP client/server library for GNOME
2008-02-01 22:51:53 +01:00
Group : Development/Libraries/GNOME
2011-04-21 10:15:54 +02:00
Requires : glib-networking >= 2.27.90
2012-09-07 18:30:37 +02:00
Recommends: %{name} -lang
2011-09-02 01:49:00 +02:00
# For NTLM single sign on
Suggests : samba-winbind
2012-09-07 18:32:34 +02:00
# Needed for smooth upgrades and to make the lang package installable
2009-03-26 23:38:20 +01:00
Provides : %{name} = %{version}
Obsoletes : %{name} < %{version}
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
2011-12-12 16:46:52 +01:00
%package -n typelib-1_0-Soup-2_4
2011-12-21 05:10:24 +01:00
Summary : HTTP client/server library for GNOME -- Introspection bindings
2011-12-12 16:46:52 +01:00
Group : System/Libraries
%description -n typelib-1_0-Soup-2_4
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
and the glib main loop, to integrate well with GNOME applications.
2011-12-21 05:10:24 +01:00
This package provides the GObject Introspection bindings for libsoup.
2007-01-08 14:01:16 +01:00
%package devel
2009-12-24 16:30:02 +01:00
Summary : HTTP client/server library for GNOME - Development Files
2007-01-08 14:01:16 +01:00
Group : Development/Libraries/GNOME
2011-12-12 17:05:22 +01:00
Requires : %{name} = %{version}
2011-12-12 16:46:52 +01:00
Requires : typelib-1_0-Soup-2_4 = %{version}
2009-03-26 23:38:20 +01:00
Provides : %{name} -doc = %{version}
Obsoletes : %{name} -doc < %{version}
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
2012-09-07 18:30:37 +02:00
%lang_package
2018-03-09 11:07:58 +01:00
2007-01-08 14:01:16 +01:00
%prep
%setup -q
2013-03-24 22:08:57 +01:00
translation-update-upstream
2018-04-25 13:59:47 +02:00
%patch0 -p1
%patch1 -p1
%patch2 -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 \
2016-03-18 11:07:20 +01:00
--enable-introspection \
--with-gssapi \
--with-krb5-config=%{_libexecdir} /mit/bin/krb5-config
2018-03-09 11:07:58 +01:00
%make_build
2007-01-08 14:01:16 +01:00
%install
2018-03-09 11:07:58 +01:00
%make_install
2017-11-01 13:07:59 +01:00
rm %{buildroot} /%{_libdir} /*.*a
2012-09-07 18:30:37 +02:00
%find_lang %{name} %{?no_lang_C}
2007-01-08 14:01:16 +01:00
2008-03-05 22:41:13 +01:00
%post 2_4-1 -p /sbin/ldconfig
%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
2018-03-09 11:07:58 +01:00
%license COPYING
%doc NEWS
2007-01-08 14:01:16 +01:00
%{_libdir} /*.so.*
2011-12-12 16:46:52 +01:00
%files -n typelib-1_0-Soup-2_4
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
2018-03-09 11:07:58 +01:00
%doc AUTHORS README
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
2015-09-04 13:32:21 +02:00
%dir %{_datadir} /vala/vapi/
%{_datadir} /vala/vapi/libsoup-2.4.vapi
2015-11-10 13:32:30 +01:00
%{_datadir} /vala/vapi/libsoup-2.4.deps
2007-01-08 14:01:16 +01:00
2018-03-09 11:07:58 +01:00
%files lang -f %{name}.lang
2007-02-20 00:10:55 +01:00
%changelog