Accepting request 921003 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/921003 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup2?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
5
baselibs.conf
Normal file
5
baselibs.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
libsoup-2_4-1
|
||||
obsoletes "libsoup-<targettype>"
|
||||
libsoup2-devel
|
||||
requires -libsoup-<targettype>
|
||||
requires "libsoup-2_4-1-<targettype> = <version>"
|
3
libsoup-2.74.0.tar.xz
Normal file
3
libsoup-2.74.0.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33b1d4e0d639456c675c227877e94a8078d731233e2d57689c11abcef7d3c48e
|
||||
size 1498224
|
14
libsoup-skip-tls_interaction-test.patch
Normal file
14
libsoup-skip-tls_interaction-test.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: libsoup-2.72.0/tests/ssl-test.c
|
||||
===================================================================
|
||||
--- libsoup-2.72.0.orig/tests/ssl-test.c
|
||||
+++ libsoup-2.72.0/tests/ssl-test.c
|
||||
@@ -370,6 +370,9 @@ do_tls_interaction_test (void)
|
||||
|
||||
SOUP_TEST_SKIP_IF_NO_TLS;
|
||||
|
||||
+ g_test_skip ("Not reliable? See https://gitlab.gnome.org/GNOME/libsoup/issues/120");
|
||||
+ return;
|
||||
+
|
||||
service = g_threaded_socket_service_new (1);
|
||||
address = g_inet_socket_address_new_from_string ("127.0.0.1", 0);
|
||||
g_socket_listener_add_address (G_SOCKET_LISTENER (service), address,
|
3308
libsoup2.changes
Normal file
3308
libsoup2.changes
Normal file
File diff suppressed because it is too large
Load Diff
169
libsoup2.spec
Normal file
169
libsoup2.spec
Normal file
@@ -0,0 +1,169 @@
|
||||
#
|
||||
# spec file for package libsoup
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libsoup2
|
||||
%define _name libsoup
|
||||
Version: 2.74.0
|
||||
Release: 0
|
||||
Summary: HTTP client/server library for GNOME
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/GNOME
|
||||
URL: https://wiki.gnome.org/Projects/libsoup
|
||||
Source0: https://download.gnome.org/sources/libsoup/2.74/%{_name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE disable tls_interaction-test https://gitlab.gnome.org/GNOME/libsoup/issues/120
|
||||
Patch1: libsoup-skip-tls_interaction-test.patch
|
||||
BuildRequires: glib-networking
|
||||
BuildRequires: meson >= 0.50
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: translation-update-upstream
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.58.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.58.0
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.58.0
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
|
||||
BuildRequires: pkgconfig(gtk-doc) >= 1.20
|
||||
BuildRequires: pkgconfig(krb5)
|
||||
BuildRequires: pkgconfig(libbrotlidec)
|
||||
BuildRequires: pkgconfig(libpsl) >= 0.20
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
# We do not need these dependencies needed only for tests.
|
||||
#BuildRequires: apache2-mod_php5 php5-xmlrpc
|
||||
|
||||
%description
|
||||
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
|
||||
|
||||
%package -n %{_name}-2_4-1
|
||||
Summary: HTTP client/server library for GNOME
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: glib-networking >= 2.27.90
|
||||
# For NTLM single sign on
|
||||
Suggests: samba-winbind
|
||||
# Needed for smooth upgrades and to make the lang package installable
|
||||
Provides: %{_name} = %{version}
|
||||
Obsoletes: %{_name} < %{version}
|
||||
|
||||
%description -n %{_name}-2_4-1
|
||||
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
|
||||
|
||||
%package -n typelib-1_0-Soup-2_4
|
||||
Summary: HTTP client/server library for GNOME -- Introspection bindings
|
||||
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.
|
||||
|
||||
This package provides the GObject Introspection bindings for libsoup.
|
||||
|
||||
%package devel
|
||||
Summary: HTTP client/server library for GNOME - Development Files
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: libsoup-2_4-1 = %{version}
|
||||
Requires: typelib-1_0-Soup-2_4 = %{version}
|
||||
Provides: %{_name}-doc = %{version}
|
||||
Obsoletes: %{_name}-doc < %{version}
|
||||
|
||||
%description devel
|
||||
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
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{_name}-%{version}
|
||||
translation-update-upstream po libsoup
|
||||
|
||||
%build
|
||||
%meson \
|
||||
-Dgssapi=enabled \
|
||||
-Dkrb5_config="$(which krb5-config)" \
|
||||
-Dvapi=enabled \
|
||||
-Dgtk_doc=true \
|
||||
-Dntlm=disabled \
|
||||
-Dsysprof=disabled \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
%check
|
||||
# Run the regression tests using GnuTLS NORMAL priority
|
||||
export G_TLS_GNUTLS_PRIORITY=NORMAL
|
||||
%meson_test
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{_name} %{?no_lang_C}
|
||||
|
||||
%post -n %{_name}-2_4-1 -p /sbin/ldconfig
|
||||
%postun -n %{_name}-2_4-1 -p /sbin/ldconfig
|
||||
|
||||
%files -n %{_name}-2_4-1
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n typelib-1_0-Soup-2_4
|
||||
%{_libdir}/girepository-1.0/Soup-2.4.typelib
|
||||
%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
|
||||
|
||||
%files devel
|
||||
%doc AUTHORS README
|
||||
%{_includedir}/libsoup-2.4
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/libsoup-gnome-2.4
|
||||
%doc %{_datadir}/gtk-doc/html/libsoup-2.4
|
||||
%{_datadir}/gir-1.0/Soup-2.4.gir
|
||||
%{_datadir}/gir-1.0/SoupGNOME-2.4.gir
|
||||
%dir %{_datadir}/vala/vapi/
|
||||
%{_datadir}/vala/vapi/libsoup-2.4.vapi
|
||||
%{_datadir}/vala/vapi/libsoup-2.4.deps
|
||||
|
||||
%files lang -f %{_name}.lang
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user