## START: Set by rpmautospec ## (rpmautospec version 0.8.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 10; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global gtk3_version %(pkg-config --modversion gtk+-3.0 2>/dev/null || echo bad) %global gtk4_version %(pkg-config --modversion gtk4 2>/dev/null || echo bad) %global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad) %global nm_version 1:1.16.0 %global libnma_version 1.8.27 %global obsoletes_ver 1:0.9.7 %if 0%{?fedora} || 0%{?rhel} < 9 %bcond_without appindicator %bcond_without dbusmenu %else %bcond_with appindicator %bcond_with dbusmenu %endif Name: network-manager-applet Summary: A network control and status applet for NetworkManager Version: 1.36.0 Release: %autorelease License: GPL-2.0-or-later URL: http://www.gnome.org/projects/NetworkManager/ Source: https://download.gnome.org/sources/network-manager-applet/1.36/%{name}-%{version}.tar.xz Patch1: 0001-nm-applet-no-notifications.patch BuildSystem: meson BuildOption(conf): -Dselinux=true %if %{with appindicator} BuildOption(conf): -Dappindicator=auto %else BuildOption(conf): -Dappindicator=no %endif BuildRequires: NetworkManager-libnm-devel >= %{nm_version} BuildRequires: libappstream-glib BuildRequires: libnma-devel >= %{libnma_version} BuildRequires: ModemManager-glib-devel >= 1.0 BuildRequires: glib2-devel >= 2.32 BuildRequires: gtk3-devel >= 3.10 BuildRequires: gtk4-devel >= 3.96 BuildRequires: gobject-introspection-devel >= 0.10.3 BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: intltool BuildRequires: gtk-doc BuildRequires: desktop-file-utils BuildRequires: iso-codes-devel BuildRequires: libsecret-devel >= 0.12 BuildRequires: jansson-devel BuildRequires: gcr-devel BuildRequires: libselinux-devel BuildRequires: mobile-broadband-provider-info-devel %if %{with appindicator} BuildRequires: libappindicator-gtk3-devel %endif %if %{with dbusmenu} BuildRequires: libdbusmenu-gtk3-devel %endif %if ! 0%{?flatpak} Requires: NetworkManager >= %{nm_version} %endif Requires: nm-connection-editor%{?_isa} = %{version}-%{release} Requires: libnma%{?_isa} >= %{libnma_version} Obsoletes: NetworkManager-gnome < %{obsoletes_ver} %description This package contains a network control and status notification area applet for use with NetworkManager. %package -n nm-connection-editor Summary: A network connection configuration editor for NetworkManager Requires: libnma%{?_isa} >= %{libnma_version} %description -n nm-connection-editor This package contains a network configuration editor and Bluetooth modem utility for use with NetworkManager. %package -n nm-connection-editor-desktop Summary: The desktop file for nm-connection-editor Requires: nm-connection-editor%{?_isa} = %{version}-%{release} %description -n nm-connection-editor-desktop This package contains the desktop file and appdata for nm-connection-editor. Without it, the nm-connection-editor cannot be started from the desktop environment. %prep %autosetup -p1 %install -a mkdir -p %{buildroot}%{_datadir}/gnome-vpn-properties %find_lang nm-applet cat nm-applet.lang >> %{name}.lang %check %meson_test # validate .desktop, autostart and appdatafiles desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/nm-applet.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/nm-connection-editor.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/nm-connection-editor.appdata.xml %files %doc NEWS CONTRIBUTING %license COPYING %{_bindir}/nm-applet %config(noreplace) %{_sysconfdir}/xdg/autostart/nm-applet.desktop %{_datadir}/applications/nm-applet.desktop %{_datadir}/icons/hicolor/22x22/apps/nm-adhoc.png %{_datadir}/icons/hicolor/22x22/apps/nm-insecure-warn.png %{_datadir}/icons/hicolor/22x22/apps/nm-mb-roam.png %{_datadir}/icons/hicolor/22x22/apps/nm-secure-lock.png %{_datadir}/icons/hicolor/22x22/apps/nm-signal-*.png %{_datadir}/icons/hicolor/22x22/apps/nm-stage*-connecting*.png %{_datadir}/icons/hicolor/22x22/apps/nm-tech-*.png %{_datadir}/icons/hicolor/22x22/apps/nm-vpn-active-lock.png %{_datadir}/icons/hicolor/22x22/apps/nm-vpn-connecting*.png %{_datadir}/icons/hicolor/22x22/apps/nm-wwan-tower.png %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml %{_datadir}/GConf/gsettings/nm-applet.convert %{_mandir}/man1/nm-applet* # Yes, lang files for the applet go in nm-connection-editor RPM since it # is the RPM that everything else depends on %files -n nm-connection-editor -f %{name}.lang %{_bindir}/nm-connection-editor %dir %{_datadir}/gnome-vpn-properties %{_datadir}/icons/hicolor/*/apps/nm-device-*.* %{_datadir}/icons/hicolor/*/apps/nm-no-connection.* %{_datadir}/icons/hicolor/16x16/apps/nm-vpn-standalone-lock.png %{_mandir}/man1/nm-connection-editor* %files -n nm-connection-editor-desktop %{_datadir}/applications/nm-connection-editor.desktop %{_metainfodir}/nm-connection-editor.appdata.xml %changelog ## START: Generated by rpmautospec * Sun Oct 04 2026 Leigh Scott - 1.36.0-10 - Clean up spec file and rebuild * Thu Jul 16 2026 Fedora Release Engineering - 1.36.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Fri Jan 16 2026 Fedora Release Engineering - 1.36.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Thu Jul 24 2025 Fedora Release Engineering - 1.36.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 1.36.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Oct 22 2024 Richard W.M. Jones - 1.36.0-5 - Rebuild for Jansson 2.14 * Thu Jul 18 2024 Fedora Release Engineering - 1.36.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Yaakov Selkowitz - 1.36.0-3 - Fix flatpak build * Thu Jan 25 2024 Fedora Release Engineering - 1.36.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Íñigo Huguet - 1.36.0-1 - Update to 1.36.0 release * Thu Nov 02 2023 Íñigo Huguet - 1.34.0-2 - Migrate to SPDX license * Mon Oct 16 2023 Beniamino Galvani - 1.34.0-1 - Update to 1.34.0 release * Thu Jul 20 2023 Fedora Release Engineering - 1.32.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Apr 16 2023 Lubomir Rintel - 1.32.0-2 - Update soruce * Sun Apr 16 2023 Lubomir Rintel - 1.32.0-1 - Update to 1.32.0 release * Fri Feb 17 2023 Lubomir Rintel - 1.30.0-3 - applet: use appindicator if we can outside of X11 * Thu Jan 19 2023 Fedora Release Engineering - 1.30.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 07 2022 Lubomir Rintel - 1.30.0-1 - Update to 1.30.0 release * Fri Jul 22 2022 Fedora Release Engineering - 1.28.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 07 2022 Lubomir Rintel - 1.28.0-1 - Update to 1.28.0 release * Fri May 13 2022 Thomas Haller - 1.26.0-2 - Rebuild and spec file cleanup * Tue Mar 29 2022 Ana Cabral - 1.26.0-1 - Update to 1.26.0 release * Thu Jan 20 2022 Fedora Release Engineering - 1.24.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 19 2021 Beniamino Galvani - 1.24.0-2 - Fix version number * Thu Aug 19 2021 Beniamino Galvani - 1.24.0-1 - Update to 1.24.0 release * Thu Jul 22 2021 Fedora Release Engineering - 1.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 10 2021 Beniamino Galvani - 1.22.0-1 - Update to 1.22.0 release * Wed Feb 03 2021 Thomas Haller - 1.20.0-2 - spec: fix version number in changelog * Wed Feb 03 2021 Thomas Haller - 1.20.0-1 - Update to 1.20.0 release * Wed Feb 03 2021 Thomas Haller - 1.18.0-6 - Move desktop file to new nm-connection-editor-desktop package (rh #1923262) * Tue Jan 26 2021 Fedora Release Engineering - 1.18.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 06 2021 Thomas Haller - 1.18.0-4 - drop dependency on libdbusmenu for RHEL-9/ELN * Wed Nov 18 2020 Antonio Cardace - 1.18.0-3 - build without libappindicator on RHEL 9 * Tue Jul 28 2020 Fedora Release Engineering - 1.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Thomas Haller - 1.18.0-1 - Update to 1.18.0 release * Thu Apr 30 2020 Ivan Mironov - 1.16.0-3 - Build with libappindicator which enables Status Notifier Item support * Sun Mar 15 2020 Thomas Haller - 1.16.0-2 - fix build dependencies * Sat Mar 07 2020 Thomas Haller - 1.16.0-1 - update to 1.16.0 release * Wed Jan 29 2020 Fedora Release Engineering - 1.8.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 09 2019 Lubomir Rintel - 1.8.24-1 - Update to 1.8.24 release - Enable experimental GTK4 build on Rawhide * Wed Oct 09 2019 Lubomir Rintel - 1.8.22-5 - Fix some questionable wording * Wed Oct 09 2019 Lubomir Rintel - 1.8.22-4 - Fix nm_version macro * Thu Jul 25 2019 Fedora Release Engineering - 1.8.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jun 14 2019 Beniamino Galvani - 1.8.22-2 - Add dependencies to same version of libnma * Wed May 29 2019 Lubomir Rintel - 1.8.22-1 - Update to 1.8.22 release * Wed Feb 27 2019 Beniamino Galvani - 1.8.20-2 - Import upstream fixes after 1.8.20 * Fri Feb 08 2019 Beniamino Galvani - 1.8.20-1 - Update to 1.8.20 release * Fri Feb 01 2019 Fedora Release Engineering - 1.8.18-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 Igor Gnatenko - 1.8.18-7 - Remove obsolete Group tag * Tue Jan 22 2019 Igor Gnatenko - 1.8.18-6 - Remove obsolete ldconfig scriptlets * Sat Jan 19 2019 Beniamino Galvani - 1.8.18-5 - wifi-dialog: fix widget hiding logic (rh #1665653) * Fri Sep 21 2018 Thomas Haller - 1.8.18-4 - fix release version * Fri Sep 21 2018 Thomas Haller - 1.8.18-3 - libnma: fix wrongly showing hidden GUI elements (rh #1626397) (2) * Wed Sep 19 2018 Thomas Haller - 1.8.18-2 - spec: use %%autosetup to apply patches * Fri Sep 07 2018 Thomas Haller - 1.8.18-1 - Update to 1.8.18 release * Sat Aug 11 2018 Lubomir Rintel - 1.8.16-1 - Update to 1.8.16 release * Fri Jul 13 2018 Fedora Release Engineering - 1.8.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jun 25 2018 Lubomir Rintel - 1.8.14-1 - Update to 1.8.14 release * Mon Jun 25 2018 Lubomir Rintel - 1.8.12-4 - Drop a redundant libsecret BR * Mon Jun 04 2018 Thomas Haller - 1.8.12-3 - applet: fix double-free in ap-menu-item (rh #1585302) * Sat Jun 02 2018 Adam Williamson - 1.8.12-2 - Fix GGO #1 (nm-c-e --keep-above fails with any other arg) * Mon May 28 2018 Lubomir Rintel - 1.8.12-1 - Update to 1.8.12 release * Wed Feb 21 2018 Lubomir Rintel - 1.8.10-9 - Drop NetworkManager-devel dep * Fri Feb 09 2018 Igor Gnatenko - 1.8.10-8 - Escape macros in %%changelog * Thu Feb 08 2018 Fedora Release Engineering - 1.8.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Feb 07 2018 Lubomir Rintel - 1.8.10-6 - Revert "Switch to %%ldconfig_scriptlets" * Sun Feb 04 2018 Thomas Haller - 1.8.10-5 - fix double-free handling VPN data in nm-applet (rh #1541565) * Sat Feb 03 2018 Igor Gnatenko - 1.8.10-4 - Switch to %%ldconfig_scriptlets * Thu Jan 18 2018 Igor Gnatenko - 1.8.10-3 - Remove obsolete scriptlets * Wed Jan 17 2018 Lubomir Rintel - 1.8.10-2 - Disable libnm-gtk on RHEL 8 & Fedora 29 * Tue Dec 19 2017 Lubomir Rintel - 1.8.10-1 - Update to 1.8.10 release * Mon Dec 18 2017 Lubomir Rintel - 1.8.8-1 - Update to 1.8.8 release * Mon Nov 13 2017 Kalev Lember - 1.8.6-4 - Backport an upstream patch to fix generated .pc file * Wed Nov 08 2017 Lubomir Rintel - 1.8.6-3 - Bump the Release number * Wed Nov 08 2017 Lubomir Rintel - 1.8.6-2 - Meson build fixups * Tue Nov 07 2017 Lubomir Rintel - 1.8.6-1 - Update to 1.8.6 release - Switch to Meson build system * Wed Sep 20 2017 Thomas Haller - 1.8.4-1 - Update to 1.8.4 release * Mon Sep 18 2017 Beniamino Galvani - 1.8.2-6 - applet: fix status icon when a VPN has the default route (rh#1471510) * Wed Aug 23 2017 Thomas Haller - 1.8.2-5 - libnma: fix certificate picker for empty certificates (rh#1469852) * Thu Aug 03 2017 Fedora Release Engineering - 1.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 22 2017 Lubomir Rintel - 1.8.2-2 - editor: fix a crash on connection save * Tue Jun 13 2017 Lubomir Rintel - 1.8.2-1 - Update to network-manager-applet 1.8.2 release * Fri Jun 09 2017 Lubomir Rintel - 1.8.0-6 - Bump release * Fri Jun 09 2017 Lubomir Rintel - 1.8.0-5 - Add RHEL patches - editor: fix crash when destroying 802.1x page (rh #1458567) - po: update Japanese translation (rh #1379642) * Wed May 10 2017 Thomas Haller - 1.8.0-4 - Update to 1.8.0 release * Tue Mar 28 2017 Lubomir Rintel - 1.8.0-3 - Remove empty files from %%doc * Tue Mar 28 2017 Lubomir Rintel - 1.8.0-2 - Add missing ldconfig scriptlets for libnma * Fri Mar 24 2017 Lubomir Rintel - 1.8.0-1 - Update to a snapshot of network-manager-applet 1.8 release * Mon Mar 06 2017 Lubomir Rintel - 1.4.6-1 - Update to network-manager-applet 1.4.6 release * Fri Feb 10 2017 Fedora Release Engineering - 1.4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jan 25 2017 Lubomir Rintel - 1.4.4-2 - Drop the obsolete defattrs * Wed Jan 25 2017 Lubomir Rintel - 1.4.4-1 - Update to network-manager-applet 1.4.4 release * Wed Aug 24 2016 Lubomir Rintel - 1.4.0-1 - Update to network-manager-applet 1.4.0 release * Thu Aug 04 2016 Francesco Giudici - 1.2.4-1 - Update to network-manager-applet 1.2.4 release * Wed May 11 2016 Lubomir Rintel - 1.2.2-1 - Update to network-manager-applet 1.2.2 release * Sat Apr 23 2016 Lubomir Rintel - 1.2.0-12 - We shouldn't drag in update-icon-cache * Sat Apr 23 2016 Lubomir Rintel - 1.2.0-11 - Drop the extra snapshot tag * Wed Apr 20 2016 Lubomir Rintel - 1.2.0-10 - Fix a typo * Wed Apr 20 2016 Lubomir Rintel - 1.2.0-9 - Update to network-manager-applet 1.2.0 release * Tue Apr 05 2016 Lubomir Rintel - 1.2.0-8 - Update to network-manager-applet 1.2-rc1 * Tue Mar 29 2016 Lubomir Rintel - 1.2.0-7 - Update to network-manager-applet 1.2-beta3 * Thu Mar 17 2016 Lubomir Rintel - 1.2.0-6 - gtk-doc is not needed * Mon Mar 07 2016 Lubomir Rintel - 1.2.0-5 - Update to network-manager-applet 1.2-beta2 * Thu Feb 04 2016 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 19 2016 Lubomir Rintel - 1.2.0-3 - Update to network-manager-applet 1.2-beta1 * Mon Jan 04 2016 Dan Williams - 1.2.0-2 - Replace %%define with %%global * Thu Sep 03 2015 Lubomir Rintel - 1.2.0-1 - Update to 1.2 git snapshot * Wed Sep 02 2015 Thomas Haller - 1.0.6-4 - show tooltip when connect button is disabled due to invalid connection (rh #1247885) * Tue Sep 01 2015 Jiří Klimeš - 1.0.6-3 - libnm-gtk: fix a possible crash on password widget destroy (rh #1254043) * Thu Aug 27 2015 Lubomir Rintel - 1.0.6-2 - Re-add an accidentally removed patch * Thu Aug 27 2015 Lubomir Rintel - 1.0.6-1 - Update to 1.0.6 * Wed Jul 15 2015 Lubomir Rintel - 1.0.4-4 - Version the newly added ABI * Tue Jul 14 2015 Lubomir Rintel - 1.0.4-3 - Update to 1.0.4 release * Tue Jul 07 2015 Lubomir Rintel - 1.0.4-2 - Update to a later Git snapshot * Thu Jun 18 2015 Lubomir Rintel - 1.0.4-1 - Update to a later Git snapshot * Wed Jun 17 2015 Dennis Gilmore - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 05 2015 Lubomir Rintel - 1.0.2-2 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec