| Name |
glib-networking |
| Description |
Networking support for GLib |
| Version |
2.80.1-1.fc42 |
| Package Base |
glib-networking |
| Homepage |
https://gitlab.gnome.org/GNOME/glib-networking |
| Maintainers |
['mclasen'] |
| Contributors |
[] |
| Distro-repo |
https://src.fedoraproject.org/rpms/glib-networking/tree/f42 |
| Sources |
['https://download.gnome.org/sources/glib-networking/2.80/%{name}-%{tarball_version}.tar.xz'] |
| Dependencies |
['ca-certificates', 'glib2', 'gsettings-desktop-schemas', 'libc.so.6', 'libgio-2.0.so.0', 'libglib-2.0.so.0', 'libgnutls.so.30', 'libgobject-2.0.so.0', 'libproxy.so.1', 'rtld'] |
| Optional-Dependencies |
['libproxy-duktape'] |
| Build-Dependencies |
['ca-certificates', 'gcc', 'gettext', 'meson', 'pkgconfig(gio-2.0)', 'pkgconfig(glib-2.0)', 'pkgconfig(gnutls)', 'pkgconfig(gsettings-desktop-schemas)', 'pkgconfig(libproxy-1.0)', 'pkgconfig(p11-kit-1)', 'systemd-rpm-macros'] |
| Provides |
['glib-networking', 'glib-networking(x86-64)', 'libgiognomeproxy.so()(64bit)', 'libgiognutls.so()(64bit)', 'libgiolibproxy.so()(64bit)'] |
| Builddate |
23-01-2025 15:58:56 |
| Architecture |
x86_64 |
| Distro-Version |
42 |
| Licenses |
['LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception'] |
| Hash |
8f8c5c666e4fc127c4d934b8113b59726b8825ccb34bfb89def25869e07cdeca |
%define glib2_version 2.73.3
%global libproxy_version 0.4.16
%global tarball_version %%(echo %{version} | tr '~' '.')
# Not yet sure whether to have libproxy in el10, but assume yes for now.
%global with_libproxy 1
Name: glib-networking
Version: 2.80.1
Release: %autorelease
Summary: Networking support for GLib
License: LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception
URL: https://gitlab.gnome.org/GNOME/glib-networking
Source0: https://download.gnome.org/sources/glib-networking/2.80/%{name}-%{tarball_version}.tar.xz
BuildRequires: ca-certificates
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: meson
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gsettings-desktop-schemas)
%if 0%{?with_libproxy}
BuildRequires: pkgconfig(libproxy-1.0) >= %{libproxy_version}
%endif
BuildRequires: pkgconfig(p11-kit-1)
BuildRequires: systemd-rpm-macros
Requires: ca-certificates
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gsettings-desktop-schemas
# For glib-pacrunner
Recommends: libproxy-duktape
%description
This package contains modules that extend the networking support in
GIO. In particular, it contains libproxy- and GSettings-based
GProxyResolver implementations and a gnutls-based GTlsConnection
implementation.
%package tests
Summary: Tests for the glib-networking package
# glib-networking-2.78.0/tls/tests/mock-pkcs11.c is Apache-2.0
# pkcs11t.h is LicenseRef-RSA
# dtls-connection.c is LGPL-2.0-or-later but not currently included in the binaries
License: LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception AND Apache-2.0 AND LicenseRef-RSA
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The glib-networking-tests package contains tests that can be used to verify
the functionality of the installed glib-networking package.
%prep
%autosetup -p1 -n %{name}-%{tarball_version}
%build
%meson \
%if !0%{?with_libproxy}
-Dlibproxy=disabled \
-Denvironment_proxy=enabled \
%endif
-Dinstalled_tests=true \
%nil
%meson_build
%install
%meson_install
%check
%meson_test
%find_lang %{name}
%files -f %{name}.lang
%license COPYING LICENSE_EXCEPTION
%doc NEWS README
%{_libdir}/gio/modules/libgiognomeproxy.so
%{_libdir}/gio/modules/libgiognutls.so
%if 0%{?with_libproxy}
%{_libdir}/gio/modules/libgiolibproxy.so
%{_libexecdir}/glib-pacrunner
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
%{_userunitdir}/glib-pacrunner.service
%else
%{_libdir}/gio/modules/libgioenvironmentproxy.so
%endif
%files tests
%{_libexecdir}/installed-tests/glib-networking
%{_datadir}/installed-tests
%changelog
%autochangelog