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
|
|
|
#
|
2019-12-07 22:15:57 +01:00
|
|
|
# Copyright (c) 2019 SUSE LLC
|
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.
|
|
|
|
|
2018-09-27 09:40:39 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-08 14:01:16 +01:00
|
|
|
#
|
|
|
|
|
2012-02-22 11:33:33 +01:00
|
|
|
|
2007-01-08 14:01:16 +01:00
|
|
|
Name: libsoup
|
2019-12-07 22:15:57 +01:00
|
|
|
Version: 2.68.3
|
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
|
2019-10-04 17:53:38 +02:00
|
|
|
Source0: https://download.gnome.org/sources/libsoup/2.68/%{name}-%{version}.tar.xz
|
2010-09-21 10:58:36 +02:00
|
|
|
Source99: baselibs.conf
|
2019-10-04 17:53:38 +02:00
|
|
|
# PATCH-FIX-OPENSUSE libsoup-disable-hsts-tests.patch mgorse@suse.com -- disable hsts tests.
|
|
|
|
Patch0: libsoup-disable-hsts-tests.patch
|
2019-03-25 21:58:15 +01:00
|
|
|
|
2011-04-21 10:15:54 +02:00
|
|
|
BuildRequires: glib-networking
|
2019-12-20 23:22:26 +01:00
|
|
|
BuildRequires: meson >= 0.50
|
2018-03-09 11:07:58 +01:00
|
|
|
BuildRequires: pkgconfig
|
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
|
2020-01-10 18:16:48 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.58.0
|
2017-11-01 13:07:59 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
|
2019-03-25 21:58:15 +01:00
|
|
|
BuildRequires: pkgconfig(gtk-doc) >= 1.20
|
2017-05-20 12:55:44 +02:00
|
|
|
BuildRequires: pkgconfig(krb5)
|
2019-10-04 17:53:38 +02:00
|
|
|
BuildRequires: pkgconfig(libbrotlidec)
|
2018-09-27 09:40:39 +02:00
|
|
|
BuildRequires: pkgconfig(libpsl) >= 0.20
|
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
|
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
|
2018-09-27 09:40:39 +02:00
|
|
|
%autosetup -p1
|
2019-03-25 21:58:15 +01:00
|
|
|
translation-update-upstream po libsoup
|
2007-01-08 14:01:16 +01:00
|
|
|
|
|
|
|
%build
|
2018-09-27 09:40:39 +02:00
|
|
|
%meson \
|
2019-10-04 17:53:38 +02:00
|
|
|
-Dgssapi=enabled \
|
2019-03-25 21:58:15 +01:00
|
|
|
-Dkrb5_config='%{_libexecdir}/mit/bin/krb5-config' \
|
2019-10-04 17:53:38 +02:00
|
|
|
-Dvapi=enabled \
|
2019-09-12 18:52:29 +02:00
|
|
|
-Dgtk_doc=true \
|
2019-10-15 17:08:44 +02:00
|
|
|
-Dntlm=disabled \
|
2019-03-25 21:58:15 +01:00
|
|
|
%{nil}
|
2018-09-27 09:40:39 +02:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
2007-01-08 14:01:16 +01:00
|
|
|
|
|
|
|
%install
|
2018-09-27 09:40:39 +02:00
|
|
|
%meson_install
|
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
|
2018-09-27 09:40:39 +02:00
|
|
|
%doc %{_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
|