glib-networking/glib-networking.spec

88 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package glib-networking
#
Accepting request 688499 from GNOME:Next - Update to version 2.60.0.1: + Fix build with OpenSSL pkg-config unavailable. - Update to version 2.60.0: + This is the first stable release featuring the new OpenSSL backend. Please be advised that this new backend is still experimental and known to not work on some systems, including Debian. Linux distributions are encouraged to stick to the default build options, where OpenSSL is not yet enabled. + Fix build with GnuTLS disabled. - Update to version 2.59.92: + GnuTLS: reject sync operations during handshake to avoid deadlocks. + Temporarily disable DTLS and OpenSSL tests due to bugs. - Update to version 2.59.91: + Update OpenSSL SSL struct when certificate is changed. + Fix tests build when GnuTLS is disabled. + Remove Fedora-specific PROFILE=SYSTEM default cipher list. + Fix some problems with the connection tests. - Update to version 2.59.90: + This release adds an OpenSSL backend, obsoleting the glib-openssl project. + The OpenSSL backend seems to be mature, though it is less well-tested for desktop usage than the GnuTLS backend. It will remain disabled by default at build time due to the GPL-incompatible nature of the OpenSSL license -- and the GPLv2-incompatible nature of the Apache license that will be used by future versions of OpenSSL -- and because the GnuTLS backend is sufficient for Linux distros. + Use the OpenSSL backend if you are building an embedded system where (GPLv2+ or LGPLv3+) dependencies are unacceptable (e.g. nettle or GMP, both dependencies of GnuTLS) and you are OK with the GPL-incompatible OpenSSL license. If the OpenSSL backend is enabled at build time, you should probably disable build of the GnuTLS backend, or it will take precedence over the OpenSSL backend at runtime. - Update to version 2.59.2: + Add support for application layer protocol negotiation. - Update to version 2.59.1: + This release removes the gnutls-pkcs11 backend, which was disabled in 2.57.2, due to lack of any feedback whatsoever regarding its disablement. If you think it is still useful to you, given that the normal gnutls backend now supports PKCS#11, speak up now. + This release also includes several changes to properly support TLS 1.3. + Other changes: - Perform certificate verification during, not after, TLS handshake. - Dramatically improve the reliability of the non-DTLS tests. (DTLS is still having problems). - Regenerate test certificates to prepare for OpenSSL support. - Several meson build system improvements to prepare for OpenSSL support. OBS-URL: https://build.opensuse.org/request/show/688499 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib-networking?expand=0&rev=127
2019-03-28 11:38:38 +01:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.62.1
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.62/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: ca-certificates-mozilla
# For directory ownership
BuildRequires: dbus-1
BuildRequires: libgcrypt-devel
BuildRequires: meson >= 0.43.0
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
# 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.55.1
BuildRequires: pkgconfig(gnutls) >= 3.4
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(libproxy-1.0) >= 0.3.1
BuildRequires: pkgconfig(systemd)
# org.gnome.system.proxy schema is used
Requires: gsettings-desktop-schemas
Recommends: %{name}-lang = %{version}
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
translation-update-upstream
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%post
%{glib2_gio_module_post}
%postun
%{glib2_gio_module_postun}
%files
%license COPYING LICENSE_EXCEPTION
%doc NEWS README
%{_libdir}/gio/modules/libgiognomeproxy.so
%{_libdir}/gio/modules/libgiognutls.so
%{_libdir}/gio/modules/libgiolibproxy.so
%{_libexecdir}/glib-pacrunner
%{_userunitdir}/glib-pacrunner.service
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
%files lang -f %{name}.lang
%changelog