Sync from SUSE:SLFO:Main glib-networking revision e77ef05d41ca64a9e6ce8aa3341aee09

This commit is contained in:
Adrian Schröter 2024-05-03 12:53:23 +02:00
commit fa680750b6
5 changed files with 1560 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
glib-networking
requires "glib2-tools-<targettype>"
post "%glib2_gio_module_post"
postun "%glib2_gio_module_postun"

BIN
glib-networking-2.76.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

1444
glib-networking.changes Normal file

File diff suppressed because it is too large Load Diff

86
glib-networking.spec Normal file
View File

@ -0,0 +1,86 @@
#
# spec file for package glib-networking
#
# Copyright (c) 2023 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/
#
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
Name: glib-networking
Version: 2.76.0
Release: 0
Summary: Network-related GIO modules for glib
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://www.gnome.org
Source0: https://download.gnome.org/sources/glib-networking/2.76/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: ca-certificates-mozilla
# For directory ownership
BuildRequires: dbus-1
BuildRequires: libgcrypt-devel
BuildRequires: meson >= 0.54.0
BuildRequires: pkgconfig
# If this BuildRequires changes because of a gio library version change, change gio_real_package accordingly
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.69.0
BuildRequires: pkgconfig(gnutls) >= 3.6.5
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(libproxy-1.0) >= 0.4.16
BuildRequires: pkgconfig(systemd)
# org.gnome.system.proxy schema is used
Requires: gsettings-desktop-schemas
Supplements: %{gio_real_package}
%{glib2_gio_module_requires}
%description
This package contains network-related GIO modules for glib.
Currently, there is only a proxy module based on libproxy.
%lang_package
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%check
%meson_test --timeout=90
%post
%{glib2_gio_module_post}
%postun
%{glib2_gio_module_postun}
%files
%license COPYING LICENSE_EXCEPTION
%doc NEWS README
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
%{_libdir}/gio/modules/libgiognomeproxy.so
%{_libdir}/gio/modules/libgiognutls.so
%{_libdir}/gio/modules/libgiolibproxy.so
%{_libexecdir}/glib-pacrunner
%{_userunitdir}/glib-pacrunner.service
%files lang -f %{name}.lang
%changelog