2022-09-06 09:26:10 +00:00
|
|
|
%define glib2_version 2.73.3
|
2021-02-18 19:07:48 +00:00
|
|
|
|
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
2013-02-20 23:20:12 +00:00
|
|
|
|
2010-10-08 22:20:04 +00:00
|
|
|
Name: glib-networking
|
2024-04-18 16:27:13 +00:00
|
|
|
Version: 2.80.0
|
2021-12-06 15:16:11 +00:00
|
|
|
Release: %autorelease
|
2011-01-17 16:43:03 +00:00
|
|
|
Summary: Networking support for GLib
|
2010-10-08 22:20:04 +00:00
|
|
|
|
2023-12-14 07:39:23 +00:00
|
|
|
License: LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception
|
2022-03-23 08:43:12 +00:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/glib-networking
|
2024-01-26 09:54:14 +00:00
|
|
|
Source0: https://download.gnome.org/sources/glib-networking/2.80/%{name}-%{tarball_version}.tar.xz
|
2016-06-15 15:34:17 +00:00
|
|
|
|
2021-06-07 15:21:49 +00:00
|
|
|
BuildRequires: ca-certificates
|
2018-07-29 17:33:46 +00:00
|
|
|
BuildRequires: gcc
|
2021-06-07 15:21:49 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: meson
|
2019-08-12 11:20:51 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
2018-07-29 17:33:46 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2019-08-12 11:20:51 +00:00
|
|
|
BuildRequires: pkgconfig(gnutls)
|
2021-06-07 15:21:49 +00:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
|
|
BuildRequires: pkgconfig(libproxy-1.0)
|
2019-08-12 11:20:51 +00:00
|
|
|
BuildRequires: pkgconfig(p11-kit-1)
|
2021-08-04 15:42:24 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2010-10-08 22:20:04 +00:00
|
|
|
|
2013-02-20 23:20:12 +00:00
|
|
|
Requires: ca-certificates
|
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
|
|
Requires: gsettings-desktop-schemas
|
|
|
|
|
2022-02-24 17:53:39 +00:00
|
|
|
# For glib-pacrunner
|
2022-07-26 13:25:18 +00:00
|
|
|
Recommends: libproxy-duktape
|
2022-02-24 17:53:39 +00:00
|
|
|
|
2010-10-08 22:20:04 +00:00
|
|
|
%description
|
2011-04-27 16:18:02 +00:00
|
|
|
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.
|
2010-10-08 22:20:04 +00:00
|
|
|
|
2014-09-04 16:09:51 +00:00
|
|
|
%package tests
|
|
|
|
Summary: Tests for the glib-networking package
|
2023-12-14 07:39:23 +00:00
|
|
|
# glib-networking-2.78.0/tls/tests/mock-pkcs11.c is Apache-2.0
|
2024-04-11 16:42:22 +00:00
|
|
|
# pkcs11t.h is LicenseRef-RSA
|
2023-12-14 07:39:23 +00:00
|
|
|
# dtls-connection.c is LGPL-2.0-or-later but not currently included in the binaries
|
2024-04-11 16:42:22 +00:00
|
|
|
License: LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception AND Apache-2.0 AND LicenseRef-RSA
|
2014-09-04 16:09:51 +00:00
|
|
|
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.
|
|
|
|
|
2010-10-08 22:20:04 +00:00
|
|
|
%prep
|
2021-02-18 19:07:48 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
2010-10-08 22:20:04 +00:00
|
|
|
|
|
|
|
%build
|
2024-04-18 15:00:27 +00:00
|
|
|
%meson -Dinstalled_tests=true
|
2017-12-19 13:15:41 +00:00
|
|
|
%meson_build
|
2010-10-08 22:20:04 +00:00
|
|
|
|
|
|
|
%install
|
2017-12-19 13:15:41 +00:00
|
|
|
%meson_install
|
2010-10-08 22:20:04 +00:00
|
|
|
|
2023-12-14 11:41:27 +00:00
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
2010-10-08 22:20:04 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
2023-12-14 11:41:27 +00:00
|
|
|
%license COPYING LICENSE_EXCEPTION
|
2015-03-03 12:21:51 +00:00
|
|
|
%doc NEWS README
|
2011-04-27 16:18:02 +00:00
|
|
|
%{_libdir}/gio/modules/libgiognomeproxy.so
|
2011-01-17 16:43:03 +00:00
|
|
|
%{_libdir}/gio/modules/libgiognutls.so
|
2021-06-07 15:21:49 +00:00
|
|
|
%{_libdir}/gio/modules/libgiolibproxy.so
|
2011-03-22 12:51:39 +00:00
|
|
|
%{_libexecdir}/glib-pacrunner
|
|
|
|
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
|
2015-10-28 07:23:28 +00:00
|
|
|
%{_userunitdir}/glib-pacrunner.service
|
2010-10-08 22:20:04 +00:00
|
|
|
|
2014-09-04 16:09:51 +00:00
|
|
|
%files tests
|
|
|
|
%{_libexecdir}/installed-tests/glib-networking
|
|
|
|
%{_datadir}/installed-tests
|
2010-10-08 22:20:04 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-12-06 15:16:11 +00:00
|
|
|
%autochangelog
|