"Restore" is not quite the right word, because we never performed any certificate revocation checking: it was disabled almost immediately after it was added due to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=2003363 which seems to be no longer relevant. So I think we can start doing it now. In practice, it only works for servers that support OCSP stapling, which is not much.
90 lines
2.2 KiB
RPMSpec
90 lines
2.2 KiB
RPMSpec
%define glib2_version 2.69.0
|
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
# No libproxy in RHEL
|
|
%if !0%{?rhel}
|
|
%global with_libproxy 1
|
|
%endif
|
|
|
|
Name: glib-networking
|
|
Version: 2.74~alpha
|
|
Release: %autorelease
|
|
Summary: Networking support for GLib
|
|
|
|
License: LGPLv2+
|
|
URL: https://gitlab.gnome.org/GNOME/glib-networking
|
|
Source0: https://download.gnome.org/sources/glib-networking/2.74/%{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)
|
|
%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
|
|
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 \
|
|
%endif
|
|
-Dinstalled_tests=true \
|
|
%nil
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
%files -f %{name}.lang
|
|
%license COPYING
|
|
%doc NEWS README
|
|
%{_libdir}/gio/modules/libgioenvironmentproxy.so
|
|
%{_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
|
|
%endif
|
|
|
|
%files tests
|
|
%{_libexecdir}/installed-tests/glib-networking
|
|
%{_datadir}/installed-tests
|
|
|
|
%changelog
|
|
%autochangelog
|