import libnma-1.8.38-1.el8

This commit is contained in:
CentOS Sources 2022-11-08 01:33:03 -05:00 committed by Stepan Oksanichenko
parent 4fa6de8d6e
commit 7579aaaa40
3 changed files with 24 additions and 16 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libnma-1.8.32.tar.xz SOURCES/libnma-1.8.38.tar.xz

View File

@ -1 +1 @@
de96e471711695d0d451ab3fc52fccbcc310e5f4 SOURCES/libnma-1.8.32.tar.xz 15b3ef1432fe5254ad4e4ab555840465176c47b3 SOURCES/libnma-1.8.38.tar.xz

View File

@ -5,22 +5,20 @@
%global mbp_version 0.20090602 %global mbp_version 0.20090602
%global old_libnma_version 1.8.27 %global old_libnma_version 1.8.27
%global rpm_version 1.8.32 %if 0%{?fedora} >= 34 || 0%{?rhel} >= 10
%global real_version 1.8.32 %bcond_without libnma_gtk4
%global release_version 1 %else
%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')
%bcond_with libnma_gtk4 %bcond_with libnma_gtk4
%endif
Name: libnma Name: libnma
Summary: NetworkManager GUI library Summary: NetworkManager GUI library
Version: %{rpm_version} Version: 1.8.38
Release: %{release_version}%{?dist} Release: 1%{?dist}
# The entire source code is GPLv2+ except some files in shared/ which are LGPLv2+ # The entire source code is GPLv2+ except some files in shared/ which are LGPLv2+
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libnma/ URL: https://gitlab.gnome.org/GNOME/libnma/
Source0: https://download.gnome.org/sources/libnma/%{real_version_major}/%{name}-%{real_version}.tar.xz Source0: https://download.gnome.org/sources/libnma/1.8/%{name}-%{version}.tar.xz
Patch1: 0001-nm-applet-no-notifications.patch Patch1: 0001-nm-applet-no-notifications.patch
@ -31,10 +29,10 @@ Conflicts: libnma < %{old_libnma_version}
BuildRequires: gcc BuildRequires: gcc
BuildRequires: NetworkManager-libnm-devel >= %{nm_version} BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
BuildRequires: ModemManager-glib-devel >= 1.0 BuildRequires: ModemManager-glib-devel >= 1.0
BuildRequires: glib2-devel >= 2.32 BuildRequires: glib2-devel >= 2.38
BuildRequires: gtk3-devel >= 3.10 BuildRequires: gtk3-devel >= 3.12
%if %{with libnma_gtk4} %if %{with libnma_gtk4}
BuildRequires: gtk4-devel >= 3.96 BuildRequires: gtk4-devel >= 4.0
%endif %endif
BuildRequires: gobject-introspection-devel >= 0.10.3 BuildRequires: gobject-introspection-devel >= 0.10.3
BuildRequires: gettext-devel BuildRequires: gettext-devel
@ -89,13 +87,12 @@ files to be used for integrating GUI tools with NetworkManager.
%prep %prep
%autosetup -p1 -n "%{name}-%{real_version}" %autosetup -p1
%build %build
%meson \ %meson \
-Dgcr=true \ -Dgcr=true \
-Ddisable-static=true \
-Dvapi=false \ -Dvapi=false \
%if %{with libnma_gtk4} %if %{with libnma_gtk4}
-Dlibnma_gtk4=true -Dlibnma_gtk4=true
@ -146,6 +143,17 @@ files to be used for integrating GUI tools with NetworkManager.
%changelog %changelog
* Fri Apr 8 2022 Ana Cabral <acabral@redhat.com> - 1.8.38-1
- Rebase to 1.8.38
* Fri Mar 25 2022 Ana Cabral <acabral@redhat.com> - 1.8.36-2
- Rebuilt
* Fri Mar 25 2022 Ana Cabral <acabral@redhat.com> - 1.8.36-1
- Update to 1.8.36 release (rh #2062686)
- Include OWE wireless security (rh #2060327)
- Fix OWE wireless security entry in Hidden Networks dialog (rh #2057514)
* Fri Aug 20 2021 Thomas Haller <thaller@redhat.com> - 1.8.32-1 * Fri Aug 20 2021 Thomas Haller <thaller@redhat.com> - 1.8.32-1
- Update to 1.8.32 release (rh #1996011) - Update to 1.8.32 release (rh #1996011)