diff --git a/.gitignore b/.gitignore index 586ac93..1d99e39 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /libnma-1.8.28.tar.xz /libnma-1.8.30.tar.xz /libnma-1.8.32.tar.xz +/libnma-1.8.34.tar.xz diff --git a/libnma.spec b/libnma.spec index 8399e11..37d1085 100644 --- a/libnma.spec +++ b/libnma.spec @@ -5,18 +5,22 @@ %global mbp_version 0.20090602 %global old_libnma_version 1.8.27 -%global rpm_version 1.8.32 -%global real_version 1.8.32 +%global rpm_version 1.8.34 +%global real_version 1.8.34 %global release_version 1 %global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p') +%if 0%{?fedora} >= 34 || 0%{?rhel} >= 10 +%bcond_without libnma_gtk4 +%else %bcond_with libnma_gtk4 +%endif Name: libnma Summary: NetworkManager GUI library Version: %{rpm_version} -Release: %{release_version}%{?dist}.4 +Release: %{release_version}%{?dist} # The entire source code is GPLv2+ except some files in shared/ which are LGPLv2+ License: GPLv2+ and LGPLv2+ URL: https://gitlab.gnome.org/GNOME/libnma/ @@ -31,10 +35,10 @@ Conflicts: libnma < %{old_libnma_version} BuildRequires: gcc BuildRequires: NetworkManager-libnm-devel >= %{nm_version} BuildRequires: ModemManager-glib-devel >= 1.0 -BuildRequires: glib2-devel >= 2.32 -BuildRequires: gtk3-devel >= 3.10 +BuildRequires: glib2-devel >= 2.38 +BuildRequires: gtk3-devel >= 3.12 %if %{with libnma_gtk4} -BuildRequires: gtk4-devel >= 3.96 +BuildRequires: gtk4-devel >= 4.0 %endif BuildRequires: gobject-introspection-devel >= 0.10.3 BuildRequires: gettext-devel @@ -145,6 +149,10 @@ files to be used for integrating GUI tools with NetworkManager. %changelog +* Wed Jan 19 2022 Lubomir Rintel - 1.8.34-1 +- Update to 1.8.34 release +- Enable gtk4 subpackage + * Fri Aug 20 2021 Thomas Haller - 1.8.32-1 - Update to 1.8.32 release diff --git a/sources b/sources index 81fc817..d82866d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libnma-1.8.32.tar.xz) = 65244a8901322bc17d48c9cb809080790d5af0195b79becf0317da77b6c6a0fde3f8d3b752f5d7e59a5dba0970f4499077c5d9d6776912a72748290b8ac98e11 +SHA512 (libnma-1.8.34.tar.xz) = aca1e24a852072e65d1fba910613981373bb7bb7869b2e44abc9e41c527d234273f034215d62889a265aa3327ad2cce0cea7368b025df97dab12bff098310aaf