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
|
|
|
#
|
2021-02-11 13:16:28 +01:00
|
|
|
# Copyright (c) 2021 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
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%define api_version 3.0
|
2007-01-08 14:01:16 +01:00
|
|
|
Name: libsoup
|
2021-09-27 08:26:57 +02:00
|
|
|
Version: 3.0.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
|
2021-09-27 08:26:57 +02:00
|
|
|
Source0: https://download.gnome.org/sources/libsoup/3.0/%{name}-%{version}.tar.xz
|
2010-09-21 10:58:36 +02:00
|
|
|
Source99: baselibs.conf
|
2011-04-21 10:15:54 +02:00
|
|
|
BuildRequires: glib-networking
|
2021-09-27 08:26:57 +02:00
|
|
|
BuildRequires: meson >= 0.53
|
2018-03-09 11:07:58 +01:00
|
|
|
BuildRequires: pkgconfig
|
2021-09-27 08:26:57 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.69.1
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.69.1
|
|
|
|
BuildRequires: pkgconfig(gnutls) >= 3.6.0
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.69.1
|
2017-11-01 13:07:59 +01:00
|
|
|
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)
|
2021-09-27 08:26:57 +02:00
|
|
|
BuildRequires: pkgconfig(libnghttp2)
|
2018-09-27 09:40:39 +02:00
|
|
|
BuildRequires: pkgconfig(libpsl) >= 0.20
|
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
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%package 3_0-0
|
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
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%description 3_0-0
|
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
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%package -n typelib-1_0-Soup-3_0
|
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
|
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%description -n typelib-1_0-Soup-3_0
|
2011-12-12 16:46:52 +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.
|
|
|
|
|
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}
|
2021-09-27 08:26:57 +02:00
|
|
|
Requires: typelib-1_0-Soup-3_0 = %{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
|
2007-01-08 14:01:16 +01:00
|
|
|
|
|
|
|
%build
|
2018-09-27 09:40:39 +02:00
|
|
|
%meson \
|
2021-02-11 13:16:28 +01:00
|
|
|
-Dgssapi=enabled \
|
|
|
|
-Dkrb5_config="$(which krb5-config)" \
|
|
|
|
-Dvapi=enabled \
|
|
|
|
-Dgtk_doc=true \
|
|
|
|
-Dntlm=disabled \
|
|
|
|
-Dsysprof=disabled \
|
2021-09-27 08:26:57 +02:00
|
|
|
-Dautobahn=disabled \
|
|
|
|
-Dhttp2_tests=disabled \
|
2021-02-26 22:07:46 +01:00
|
|
|
%{nil}
|
2018-09-27 09:40:39 +02:00
|
|
|
%meson_build
|
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
%find_lang %{name}-3.0 %{?no_lang_C}
|
|
|
|
|
2018-09-27 09:40:39 +02:00
|
|
|
%check
|
2021-02-26 22:07:46 +01:00
|
|
|
# Run the regression tests using GnuTLS NORMAL priority
|
|
|
|
export G_TLS_GNUTLS_PRIORITY=NORMAL
|
2021-09-27 08:26:57 +02:00
|
|
|
%meson_test \
|
|
|
|
%ifarch %ix86
|
|
|
|
|| :
|
|
|
|
%endif
|
|
|
|
%nil
|
2007-01-08 14:01:16 +01:00
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%post 3_0-0 -p /sbin/ldconfig
|
|
|
|
%postun 3_0-0 -p /sbin/ldconfig
|
2007-01-08 14:01:16 +01:00
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%files 3_0-0
|
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
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%files -n typelib-1_0-Soup-3_0
|
|
|
|
%{_libdir}/girepository-1.0/Soup-%{api_version}.typelib
|
2007-01-08 14:01:16 +01:00
|
|
|
|
|
|
|
%files devel
|
2018-03-09 11:07:58 +01:00
|
|
|
%doc AUTHORS README
|
2021-09-27 08:26:57 +02:00
|
|
|
%{_includedir}/libsoup-%{api_version}
|
2007-01-08 14:01:16 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2021-09-27 08:26:57 +02:00
|
|
|
%doc %{_datadir}/gtk-doc/html/libsoup-%{api_version}
|
|
|
|
%{_datadir}/gir-1.0/Soup-%{api_version}.gir
|
2015-09-04 13:32:21 +02:00
|
|
|
%dir %{_datadir}/vala/vapi/
|
2021-09-27 08:26:57 +02:00
|
|
|
%{_datadir}/vala/vapi/libsoup-%{api_version}.vapi
|
|
|
|
%{_datadir}/vala/vapi/libsoup-%{api_version}.deps
|
2007-01-08 14:01:16 +01:00
|
|
|
|
2021-09-27 08:26:57 +02:00
|
|
|
%files lang -f %{name}-3.0.lang
|
2018-03-09 11:07:58 +01:00
|
|
|
|
2007-02-20 00:10:55 +01:00
|
|
|
%changelog
|