# SPEC file to build NetworkManager for testing. It aims for a similar # configuration as RHEL and Fedora Rawhide # # This spec file is not used as is to create official packages for RHEL, Fedora or any # other distribution. # # Note that it contains __PLACEHOLDERS__ that will be replaced by the accompanying 'build.sh' script. Name: NetworkManager Summary: Network connection manager and user applications License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://networkmanager.dev/ Group: System Environment/Base Epoch: 1 Version: 1.59.2~dev Release: 34908%{?dist} ############################################################################### %global wpa_supplicant_version 1:1.1 %global ppp_version %(pkg-config --modversion pppd 2>/dev/null || sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad) %global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad) %global bcond_default_debug 1 %global bcond_default_lto %{nil} %global bcond_default_test 1 %global obsoletes_device_plugins 1:0.9.9.95-1 %global obsoletes_ppp_plugin 1:1.5.3 %global obsoletes_initscripts_updown 1:1.36.0-0.6 %global nmlibdir %{_prefix}/lib/%{name} %global nmplugindir %{_libdir}/%{name}/%{version}-%{release} %global _hardened_build 1 %global systemd_units NetworkManager.service NetworkManager-wait-online.service NetworkManager-dispatcher.service nm-priv-helper.service %global systemd_units_cloud_setup nm-cloud-setup.service nm-cloud-setup.timer ############################################################################### %bcond_without adsl %bcond_without bluetooth %bcond_without wwan %if 0%{?rhel} >= 10 %bcond_with team %else %bcond_without team %endif %bcond_without wifi %bcond_without ovs %bcond_without ppp %bcond_without nmtui %bcond_without nm_cloud_setup %bcond_without regen_docs %if %{bcond_default_debug} %bcond_without debug %else %bcond_with debug %endif %if %{bcond_default_test} %bcond_without test %else %bcond_with test %endif %if "%{?bcond_default_lto}" == "" %if 0%{?fedora} || 0%{?rhel} >= 9 %bcond_without lto %else %bcond_with lto %endif %else %if %{bcond_default_lto} %bcond_without lto %else %bcond_with lto %endif %endif %bcond_with sanitizer %if 0%{?fedora} %bcond_without connectivity_fedora %else %bcond_with connectivity_fedora %endif %if 0%{?rhel} %bcond_without connectivity_redhat %else %bcond_with connectivity_redhat %endif %if 0%{?rhel} %bcond_with iwd %else %bcond_without iwd %endif %bcond_without polkit_noauth_group %ifarch %{ix86} # there is no bpftool in i686 %bcond_with clat %else %bcond_without clat %endif ############################################################################### %global dbus_version 1.9.18 %global dbus_sys_dir %{_datadir}/dbus-1/system.d %if %{with bluetooth} || %{with wwan} %global with_modem_manager_1 1 %else %global with_modem_manager_1 0 %endif %if 0%{?fedora} || 0%{?rhel} >= 9 %global dns_rc_manager_default auto %else %global dns_rc_manager_default symlink %endif # Fedora 33 enables LTO by default by setting CFLAGS="-flto -ffat-lto-objects". # However, we also require "-flto -flto-partition=none", so disable Fedora's # default and use our configure option --with-lto instead. %define _lto_cflags %{nil} ############################################################################### #Source: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/%{version_no_tilde}/downloads/%{name}-%{version_no_tilde}.tar.xz Source: NetworkManager-1.59.2-dev.tar.xz Source1: NetworkManager.conf Source2: 00-server.conf Source4: 20-connectivity-fedora.conf Source5: 20-connectivity-redhat.conf Source6: 22-wifi-mac-addr.conf Source7: 70-nm-connectivity.conf Source10: 24-clat-auto.conf #Patch1: 0001-some.patch Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Requires: dbus >= %{dbus_version} Requires: glib2 >= %{glib2_version} Requires: %{name}-libnm%{?_isa} = %{epoch}:%{version}-%{release} %if %{with clat} Requires: libbpf %endif %if 0%{?rhel} == 8 # Older libndp versions use select() (rh#1933041). On well known distros, # choose a version that has the necessary fix. Requires: libndp >= 1.7-4 %endif Obsoletes: NetworkManager < %{obsoletes_device_plugins} Obsoletes: NetworkManager < %{obsoletes_ppp_plugin} Obsoletes: NetworkManager-wimax < 1:1.2 %if 0%{?rhel} == 8 Suggests: NetworkManager-initscripts-updown %endif Obsoletes: NetworkManager < %{obsoletes_initscripts_updown} %if 0%{?rhel} >= 10 %if 0%{without team} Obsoletes: NetworkManager-team <= 1:1.47.5-3 %endif Obsoletes: NetworkManager-dispatcher-routing-rules <= 1:1.47.5-3 %endif %if 0%{?fedora} >= 41 Obsoletes: NetworkManager-dispatcher-routing-rules < 1:1.49.3-1 Obsoletes: NetworkManager-initscripts-updown < 1:1.49.3-1 %endif Conflicts: NetworkManager-vpnc < 1:0.7.0.99-1 Conflicts: NetworkManager-openvpn < 1:0.7.0.99-1 Conflicts: NetworkManager-pptp < 1:0.7.0.99-1 Conflicts: NetworkManager-openconnect < 0:0.7.0.99-1 Conflicts: kde-plasma-networkmanagement < 1:0.9-0.49.20110527git.nm09 %if 0%{?rhel} >= 10 %if 0%{without team} Conflicts: NetworkManager-team <= 1:1.47.5-3 %endif Conflicts: NetworkManager-dispatcher-routing-rules <= 1:1.47.5-3 %endif BuildRequires: gcc BuildRequires: clang BuildRequires: pkgconfig BuildRequires: meson BuildRequires: gettext-devel >= 0.19.8 BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: glib2-devel >= 2.40.0 BuildRequires: gobject-introspection-devel >= 0.10.3 %if %{with ppp} BuildRequires: ppp-devel >= 2.4.5 %endif BuildRequires: gnutls-devel >= 2.12 BuildRequires: readline-devel BuildRequires: audit-libs-devel %if %{with regen_docs} BuildRequires: gtk-doc %endif BuildRequires: libudev-devel BuildRequires: libuuid-devel BuildRequires: /usr/bin/valac BuildRequires: libxslt %if %{with bluetooth} BuildRequires: bluez-libs-devel %endif BuildRequires: systemd >= 200-3 systemd-devel %if 0%{?fedora} BuildRequires: libpsl-devel >= 0.1 %endif BuildRequires: libcurl-devel BuildRequires: libndp-devel >= 1.0 %if 0%{?with_modem_manager_1} BuildRequires: ModemManager-glib-devel >= 1.0 %endif %if %{with wwan} BuildRequires: mobile-broadband-provider-info-devel %endif %if %{with nmtui} BuildRequires: newt-devel %endif BuildRequires: /usr/bin/dbus-launch BuildRequires: python3 BuildRequires: python3-gobject-base BuildRequires: python3-dbus BuildRequires: python3-pexpect BuildRequires: libselinux-devel BuildRequires: polkit-devel BuildRequires: jansson-devel %if %{with sanitizer} BuildRequires: libasan BuildRequires: libubsan %endif BuildRequires: firewalld-filesystem BuildRequires: iproute BuildRequires: iproute-tc BuildRequires: libnvme-devel >= 1.5 %if %{with clat} BuildRequires: libbpf-devel BuildRequires: bpftool %endif Provides: %{name}-dispatcher%{?_isa} = %{epoch}:%{version}-%{release} # NetworkManager uses various parts of systemd-networkd internally, including # DHCP client, IPv4 Link-Local address negotiation or LLDP support. # This provide is essentially here so that NetworkManager shows on Security # Response Team's radar in case a flaw is found. The code is frequently # synchronized and thus it's not easy to establish a good version number # here. The version of zero is there just to have something conservative so # that the scripts that would parse the SPEC file naively would be unlikely # to fail. Refer to git log for the real date and commit number of last # synchronization: # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commits/main/src/ Provides: bundled(systemd) = 0 %description NetworkManager is a system service that manages network interfaces and connections based on user or automatic configuration. It supports Ethernet, Bridge, Bond, VLAN, Team, InfiniBand, Wi-Fi, mobile broadband (WWAN), PPPoE and other devices, and supports a variety of different VPN services. %if %{with adsl} %package adsl Summary: ADSL device plugin for NetworkManager Group: System Environment/Base Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Obsoletes: NetworkManager < %{obsoletes_device_plugins} %description adsl This package contains NetworkManager support for ADSL devices. %endif %if %{with bluetooth} %package bluetooth Summary: Bluetooth device plugin for NetworkManager Group: System Environment/Base Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: NetworkManager-wwan = %{epoch}:%{version}-%{release} Requires: bluez >= 4.101-5 Obsoletes: NetworkManager < %{obsoletes_device_plugins} %description bluetooth This package contains NetworkManager support for Bluetooth devices. %endif %if %{with team} %package team Summary: Team device plugin for NetworkManager Group: System Environment/Base BuildRequires: teamd-devel Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Obsoletes: NetworkManager < %{obsoletes_device_plugins} # Team was split from main NM binary between 0.9.10 and 1.0 # We need this Obsoletes in addition to the one above # (git:3aede801521ef7bff039e6e3f1b3c7b566b4338d). Obsoletes: NetworkManager < 1:1.0.0 %description team This package contains NetworkManager support for team devices. %endif %if %{with wifi} %package wifi Summary: Wifi plugin for NetworkManager Group: System Environment/Base Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} %if 0%{?fedora} >= 29 || 0%{?rhel} >= 9 Requires: wireless-regdb %else Requires: crda %endif %if %{with iwd} Requires: (wpa_supplicant >= %{wpa_supplicant_version} or iwd) Suggests: wpa_supplicant %else Requires: wpa_supplicant >= %{wpa_supplicant_version} %endif Obsoletes: NetworkManager < %{obsoletes_device_plugins} %description wifi This package contains NetworkManager support for Wifi and OLPC devices. %endif %if %{with wwan} %package wwan Summary: Mobile broadband device plugin for NetworkManager Group: System Environment/Base Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: ModemManager Obsoletes: NetworkManager < %{obsoletes_device_plugins} %description wwan This package contains NetworkManager support for mobile broadband (WWAN) devices. %endif %if %{with ovs} %package ovs Summary: Open vSwitch device plugin for NetworkManager Group: System Environment/Base Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} %if 0%{?rhel} == 0 Requires: openvswitch %endif %description ovs This package contains NetworkManager support for Open vSwitch bridges. %endif %if %{with ppp} %package ppp Summary: PPP plugin for NetworkManager Group: System Environment/Base Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: ppp = %{ppp_version} Requires: NetworkManager = %{epoch}:%{version}-%{release} Obsoletes: NetworkManager < %{obsoletes_ppp_plugin} %description ppp This package contains NetworkManager support for PPP. %endif %package libnm Summary: Libraries for adding NetworkManager support to applications. Group: Development/Libraries Conflicts: NetworkManager-glib < 1:1.31.0 License: LGPL-2.1-or-later %description libnm This package contains the libraries that make it easier to use some NetworkManager functionality from applications. %package libnm-devel Summary: Header files for adding NetworkManager support to applications. Group: Development/Libraries Requires: %{name}-libnm%{?_isa} = %{epoch}:%{version}-%{release} Requires: glib2-devel Requires: pkgconfig License: LGPL-2.1-or-later %description libnm-devel This package contains the header and pkg-config files for development applications using NetworkManager functionality from applications. %if %{with connectivity_fedora} %package config-connectivity-fedora Summary: NetworkManager config file for connectivity checking via Fedora servers Group: System Environment/Base BuildArch: noarch Provides: NetworkManager-config-connectivity = %{epoch}:%{version}-%{release} %description config-connectivity-fedora This adds a NetworkManager configuration file to enable connectivity checking via Fedora infrastructure. %endif %if %{with connectivity_redhat} %package config-connectivity-redhat Summary: NetworkManager config file for connectivity checking via Red Hat servers Group: System Environment/Base BuildArch: noarch Provides: NetworkManager-config-connectivity = %{epoch}:%{version}-%{release} %description config-connectivity-redhat This adds a NetworkManager configuration file to enable connectivity checking via Red Hat infrastructure. %endif %package config-server Summary: NetworkManager config file for "server-like" defaults Group: System Environment/Base BuildArch: noarch %description config-server This adds a NetworkManager configuration file to make it behave more like the old "network" service. In particular, it stops NetworkManager from automatically running DHCP on unconfigured ethernet devices, and allows connections with static IP addresses to be brought up even on ethernet devices with no carrier. This package is intended to be installed by default for server deployments. %if %{with nmtui} %package tui Summary: NetworkManager curses-based UI Group: System Environment/Base Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-libnm%{?_isa} = %{epoch}:%{version}-%{release} %description tui This adds a curses-based "TUI" (Text User Interface) to NetworkManager, to allow performing some of the operations supported by nm-connection-editor and nm-applet in a non-graphical environment. %endif %if %{with nm_cloud_setup} %package cloud-setup Summary: Automatically configure NetworkManager in cloud Group: System Environment/Base Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-libnm%{?_isa} = %{epoch}:%{version}-%{release} %description cloud-setup Installs a nm-cloud-setup tool that can automatically configure NetworkManager in cloud environment. Only certain cloud providers like Aliyun, Azure, EC2, GCP are supported. %endif %prep %autosetup -p1 -n NetworkManager-%{version_no_tilde} %build %meson \ -Db_ndebug=false \ --warnlevel 2 \ %if %{with test} --werror \ %endif -Dnft=%{_sbindir}/nft \ -Diptables=%{_sbindir}/iptables \ -Dip6tables=%{_sbindir}/ip6tables \ -Ddhcpcd=no \ -Dcrypto=gnutls \ %if %{with debug} -Dmore_logging=true \ -Dmore_asserts=10000 \ %else -Dmore_logging=false \ -Dmore_asserts=0 \ %endif -Dld_gc=true \ %if %{with lto} -D b_lto=true \ %else -D b_lto=false \ %endif -Dlibaudit=yes-disabled-by-default \ %if 0%{?with_modem_manager_1} -Dmodem_manager=true \ %else -Dmodem_manager=false \ %endif %if %{with wifi} -Dwifi=true \ %else -Dwifi=false \ %endif -Dwext=false \ %if %{with iwd} -Diwd=true \ %else -Diwd=false \ %endif %if %{with clat} -Dclat=true \ %else -Dclat=false \ %endif %if %{with bluetooth} -Dbluez5_dun=true \ %else -Dbluez5_dun=false \ %endif %if %{with nmtui} -Dnmtui=true \ %else -Dnmtui=false \ %endif %if %{with nm_cloud_setup} -Dnm_cloud_setup=true \ %else -Dnm_cloud_setup=false \ %endif -Dvapi=true \ -Dintrospection=true \ %if %{with regen_docs} -Ddocs=true \ %else -Ddocs=false \ %endif -Dqt=false \ %if %{with team} -Dteamdctl=true \ %else -Dteamdctl=false \ %endif %if %{with ovs} -Dovs=true \ %else -Dovs=false \ %endif -Dselinux=true \ -Dpolkit=true \ -Dconfig_auth_polkit_default=true \ %if %{with polkit_noauth_group} -Dpolkit_noauth_group=wheel \ %endif -Dconcheck=true \ %if 0%{?fedora} -Dlibpsl=true \ %else -Dlibpsl=false \ %endif -Dsession_tracking=systemd \ -Dsuspend_resume=systemd \ -Dsystemdsystemunitdir=%{_unitdir} \ -Dsystemdsystemgeneratordir=%{_systemdgeneratordir} \ -Dsystem_ca_path=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem \ -Ddbus_conf_dir=%{dbus_sys_dir} \ -Dtests=yes \ -Dvalgrind=no \ -Difupdown=false \ %if %{with ppp} -Dppp=true \ -Dpppd="%{_sbindir}/pppd" \ -Dpppd_plugin_dir="%{_libdir}/pppd/%{ppp_version}" \ %else -Dppp=false \ %endif -Ddist_version=%{version}-%{release} \ -Dresolvconf=no \ -Dnetconfig=no \ -Dconfig_dns_rc_manager_default=%{dns_rc_manager_default} \ -Dconfig_logging_backend_default=journal %meson_build %install %meson_install cp %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/ cp %{SOURCE2} %{buildroot}%{nmlibdir}/conf.d/ %if %{with connectivity_fedora} cp %{SOURCE4} %{buildroot}%{nmlibdir}/conf.d/ %endif %if %{with connectivity_redhat} cp %{SOURCE5} %{buildroot}%{nmlibdir}/conf.d/ mkdir -p %{buildroot}%{_sysctldir} cp %{SOURCE7} %{buildroot}%{_sysctldir} %endif %if 0%{?fedora} >= 40 cp %{SOURCE6} %{buildroot}%{nmlibdir}/conf.d/ %endif %if 0%{?fedora} >= 45 cp %{SOURCE10} %{buildroot}%{nmlibdir}/conf.d/ %endif %find_lang %{name} rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la rm -f %{buildroot}%{nmplugindir}/*.la # Don't use the *-initrd.service files yet, wait dracut to support them rm -f %{buildroot}%{_systemdgeneratordir}/nm-initrd-generator.sh rm -f %{buildroot}%{_unitdir}/NetworkManager-config-initrd.service rm -f %{buildroot}%{_unitdir}/NetworkManager-initrd.service rm -f %{buildroot}%{_unitdir}/NetworkManager-wait-online-initrd.service # Ensure the documentation timestamps are constant to avoid multilib conflicts find %{buildroot}%{_datadir}/gtk-doc -exec touch --reference meson.build '{}' \+ %if 0%{?__debug_package} && ! 0%{?flatpak} mkdir -p %{buildroot}%{_prefix}/src/debug/NetworkManager-%{version_no_tilde} cp valgrind.suppressions %{buildroot}%{_prefix}/src/debug/NetworkManager-%{version_no_tilde} %endif %check %if %{with test} %meson_test %else %ninja_test -C %{_vpath_builddir} || : %endif %pre if [ -f "%{_unitdir}/network-online.target.wants/NetworkManager-wait-online.service" ] ; then # older versions used to install this file, effectively always enabling # NetworkManager-wait-online.service. We no longer do that and rely on # preset. # But on package upgrade we must explicitly enable it (rh#1455704). systemctl enable NetworkManager-wait-online.service || : fi %post # skip triggering if udevd isn't even accessible, e.g. containers or # rpm-ostree-based systems if [ -S /run/udev/control ]; then /usr/bin/udevadm control --reload-rules || : /usr/bin/udevadm trigger --subsystem-match=net || : fi %firewalld_reload %systemd_post %{systemd_units} %if %{with nm_cloud_setup} %post cloud-setup %systemd_post %{systemd_units_cloud_setup} %endif %preun if [ $1 -eq 0 ]; then # Package removal, not upgrade /bin/systemctl --no-reload disable NetworkManager.service >/dev/null 2>&1 || : # Don't kill networking entirely just on package remove #/bin/systemctl stop NetworkManager.service >/dev/null 2>&1 || : fi %systemd_preun NetworkManager-wait-online.service NetworkManager-dispatcher.service nm-priv-helper.service %if %{with nm_cloud_setup} %preun cloud-setup %systemd_preun %{systemd_units_cloud_setup} %endif %postun # skip triggering if udevd isn't even accessible, e.g. containers or # rpm-ostree-based systems if [ -S /run/udev/control ]; then /usr/bin/udevadm control --reload-rules || : /usr/bin/udevadm trigger --subsystem-match=net || : fi %firewalld_reload %systemd_postun %{systemd_units} %if %{with nm_cloud_setup} %postun cloud-setup %systemd_postun %{systemd_units_cloud_setup} %endif %files %{dbus_sys_dir}/org.freedesktop.NetworkManager.conf %{dbus_sys_dir}/nm-dispatcher.conf %{dbus_sys_dir}/nm-priv-helper.conf %{_sbindir}/%{name} %{_bindir}/nmcli %{_datadir}/bash-completion/completions/nmcli %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/conf.d %dir %{_sysconfdir}/%{name}/dispatcher.d %dir %{_sysconfdir}/%{name}/dispatcher.d/pre-down.d %dir %{_sysconfdir}/%{name}/dispatcher.d/pre-up.d %dir %{_sysconfdir}/%{name}/dispatcher.d/no-wait.d %dir %{_sysconfdir}/%{name}/dnsmasq.d %dir %{_sysconfdir}/%{name}/dnsmasq-shared.d %dir %{_sysconfdir}/%{name}/system-connections %config(noreplace) %{_sysconfdir}/%{name}/NetworkManager.conf %if 0%{?fedora} >= 40 %{nmlibdir}/conf.d/22-wifi-mac-addr.conf %endif %if 0%{?fedora} >= 45 %{nmlibdir}/conf.d/24-clat-auto.conf %endif %ghost %{_sysconfdir}/%{name}/VPN %{_bindir}/nm-online %{_libexecdir}/nm-dhcp-helper %{_libexecdir}/nm-dispatcher %{_libexecdir}/nm-initrd-generator %{_libexecdir}/nm-daemon-helper %{_libexecdir}/nm-libnm-helper %{_libexecdir}/nm-priv-helper %dir %{_libdir}/%{name} %dir %{nmplugindir} %if %{with nmtui} %exclude %{_mandir}/man1/nmtui* %endif %dir %{nmlibdir} %dir %{nmlibdir}/conf.d %dir %{nmlibdir}/dispatcher.d %dir %{nmlibdir}/dispatcher.d/pre-down.d %dir %{nmlibdir}/dispatcher.d/pre-up.d %dir %{nmlibdir}/dispatcher.d/no-wait.d %dir %{nmlibdir}/VPN %dir %{nmlibdir}/system-connections %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man7/nmcli-examples.7* %{_mandir}/man8/nm-initrd-generator.8* %{_mandir}/man8/NetworkManager.8* %{_mandir}/man8/NetworkManager-dispatcher.8* %{_mandir}/man8/NetworkManager-wait-online.service.8* %dir %{_localstatedir}/lib/NetworkManager %{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service %{_datadir}/dbus-1/system-services/org.freedesktop.nm_priv_helper.service %{_datadir}/polkit-1/actions/*.policy %if %{with polkit_noauth_group} %{_datadir}/polkit-1/rules.d/org.freedesktop.NetworkManager.rules %endif %{_prefix}/lib/udev/rules.d/*.rules %{_prefix}/lib/firewalld/zones/nm-shared.xml # systemd stuff %{_unitdir}/NetworkManager.service %{_unitdir}/NetworkManager-wait-online.service %{_unitdir}/NetworkManager-dispatcher.service %{_unitdir}/nm-priv-helper.service %dir %{_datadir}/doc/NetworkManager/examples %{_datadir}/doc/NetworkManager/examples/server.conf %doc NEWS AUTHORS README.md CONTRIBUTING.md %license COPYING %license COPYING.LGPL %license COPYING.GFDL %if %{with adsl} %files adsl %{nmplugindir}/libnm-device-plugin-adsl.so %else %exclude %{nmplugindir}/libnm-device-plugin-adsl.so %endif %if %{with bluetooth} %files bluetooth %{nmplugindir}/libnm-device-plugin-bluetooth.so %endif %if %{with team} %files team %{nmplugindir}/libnm-device-plugin-team.so %endif %if %{with wifi} %files wifi %{nmplugindir}/libnm-device-plugin-wifi.so %endif %if %{with wwan} %files wwan %{nmplugindir}/libnm-device-plugin-wwan.so %{nmplugindir}/libnm-wwan.so %endif %if %{with ovs} %files ovs %{nmplugindir}/libnm-device-plugin-ovs.so %{_unitdir}/NetworkManager.service.d/NetworkManager-ovs.conf %{_mandir}/man7/nm-openvswitch.7* %endif %if %{with ppp} %files ppp %{_libdir}/pppd/%{ppp_version}/nm-pppd-plugin.so %{nmplugindir}/libnm-ppp-plugin.so %endif %files libnm -f %{name}.lang %{_libdir}/libnm.so.* %{_libdir}/girepository-1.0/NM-1.0.typelib %files libnm-devel %dir %{_includedir}/libnm %{_includedir}/libnm/*.h %{_libdir}/pkgconfig/libnm.pc %{_libdir}/libnm.so %{_datadir}/gir-1.0/NM-1.0.gir %dir %{_datadir}/gtk-doc/html/libnm %{_datadir}/gtk-doc/html/libnm/* %dir %{_datadir}/gtk-doc/html/NetworkManager %{_datadir}/gtk-doc/html/NetworkManager/* %{_datadir}/vala/vapi/libnm.deps %{_datadir}/vala/vapi/libnm.vapi %{_datadir}/dbus-1/interfaces/*.xml %if %{with connectivity_fedora} %files config-connectivity-fedora %dir %{nmlibdir} %dir %{nmlibdir}/conf.d %{nmlibdir}/conf.d/20-connectivity-fedora.conf %endif %if %{with connectivity_redhat} %files config-connectivity-redhat %dir %{nmlibdir} %dir %{nmlibdir}/conf.d %{nmlibdir}/conf.d/20-connectivity-redhat.conf %{_sysctldir}/70-nm-connectivity.conf %endif %files config-server %dir %{nmlibdir} %dir %{nmlibdir}/conf.d %{nmlibdir}/conf.d/00-server.conf %if %{with nmtui} %files tui %{_bindir}/nmtui %{_bindir}/nmtui-edit %{_bindir}/nmtui-connect %{_bindir}/nmtui-hostname %{_mandir}/man1/nmtui* %endif %if %{with nm_cloud_setup} %files cloud-setup %{_libexecdir}/nm-cloud-setup %{_unitdir}/nm-cloud-setup.service %{_unitdir}/nm-cloud-setup.timer %{nmlibdir}/dispatcher.d/90-nm-cloud-setup.sh %{nmlibdir}/dispatcher.d/no-wait.d/90-nm-cloud-setup.sh %{nmlibdir}/dispatcher.d/pre-up.d/90-nm-cloud-setup.sh %{_mandir}/man8/nm-cloud-setup.8* %endif %changelog * Thu Sep 17 2026 <> - %{epoch_version}:%{version}-%{release_version}%{?snap} - build of NetworkManager (20260917-071929, uuid: e843fc44-cc47-4f9e-ba64-d44c68edec89, git: 58864ef92d3241787c311fad9a16a28524b206e1) - 58864ef92d merge: branch 'praksany/remove-ifcfg-rh' [Peter Raksany] (2026-09-17 09:17:52 +0200) - 7823d56dc7 NEWS: mention the ifcfg-rh plugin removal [Peter Rakšány] (2026-09-16 16:33:10 +0200) - c5693cd629 all: remove the ifcfg-rh settings plugin [Peter Rakšány] (2026-09-16 16:33:10 +0200) - d7d7e1e947 merge: branch 'bg/bpf-sparc64' [Beniamino Galvani] (2026-09-16 13:49:39 +0000) - 49dbcfd3cc bpf: clat: fix sparc64 architecture define for BPF compilation [Beniamino Galvani] (2026-09-16 15:48:13 +0200) - 75fe88c21c merge: branch 'jv/fix-build-warnings' [Jan Vaclav] (2026-09-09 11:34:38 +0200) - 0ff165e131 merge: branch 'jp/nmtui-list-truncate' [Josephine Pfeiffer] (2026-09-08 12:36:16 +0200) - ececae5bbf NEWS: mention the nmtui connection name truncation [Josephine Pfeiffer] (2026-09-08 11:39:15 +0200) - d1608f8e84 nmtui: truncate long connection names in the connection lists [Josephine Pfeiffer] (2026-09-08 11:38:56 +0200) - e28c391f42 build: copy prebuilt generated files with copy: instead of configure_file [Jan Vaclav] (2026-09-08 07:53:04 +0200) - eeabc2d3ec build: silence add_languages warnings by passing native: false [Jan Vaclav] (2026-09-08 07:52:57 +0200) - dd40076580 vapi: drop shadowed metadata rules and check the generated bindings [Jan Vaclav] (2026-09-08 07:52:53 +0200) - b7b2a10ef2 libnm: annotate the finish function of two async methods [Jan Vaclav] (2026-09-08 07:52:49 +0200) - dbe4fc68bf man: silence bogus "no ID for constraint linkend" errors [Jan Vaclav] (2026-09-08 07:52:45 +0200) - 9bfbc1a051 libnmt-newt: center the form on its clamped size [Josephine Pfeiffer] (2026-09-07 12:16:23 +0200) - 8835a2f61f merge: branch 'pr/glib-shadow-variable' [Beniamino Galvani] (2026-09-07 09:05:06 +0000) - 4048021c30 libnm-glib-aux: rename _s1 variable to avoid shadowing with GLib 2.89.3 [Peter Rakšány] (2026-09-07 08:51:33 +0000) - 51f247b5dc merge: branch 'jp/agents-md' [Josephine Pfeiffer] (2026-09-04 10:45:28 +0200) - 329b610e43 contrib: reject the AI canary marker in contributor text [Josephine Pfeiffer] (2026-09-04 10:36:15 +0200) - 4f6265fb64 AGENTS.md: add symlinks under the names other agents look for [Josephine Pfeiffer] (2026-09-04 10:35:55 +0200) - ...