%define majver %(echo %version | cut -d. -f1-2) Name: plasma-firewall Version: 5.22.5 Release: 1mamba Summary: KDE Plasma 5 Firewall KCM Group: Graphical Desktop/Applications/Internet Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org Source: https://download.kde.org/stable/plasma/%{version}/plasma-firewall-%{version}.tar.xz Patch0: plasma-firewall-5.22.0-find-ss-in-sbindir.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libkauth-devel BuildRequires: libkconfig-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkdeclarative-devel BuildRequires: libki18n-devel BuildRequires: libkpackage-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules Requires: ufw Requires: iproute Provides: firewallgui Provides: kcm_ufw Obsoletes: kcm_ufw <= 5.0 %description KDE Plasma 5 Firewall KCM. %debug_package %prep %setup -q %patch0 -p1 %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}5_qt.lang %defattr(-,root,root) %{_libdir}/libkcm_firewall_core.so %{_libdir}/qt5/plugins/kcms/kcm_firewall.so %{_libdir}/qt5/plugins/kf5/plasma_firewall/firewalldbackend.so %{_libdir}/qt5/plugins/kf5/plasma_firewall/ufwbackend.so %{_libexecdir}/kde_ufw_plugin_helper.py %{_libexecdir}/kf5/kauth/kde_ufw_plugin_helper %{_datadir}/dbus-1/system-services/org.kde.ufw.service %{_datadir}/dbus-1/system.d/org.kde.ufw.conf %{_datadir}/kcm_ufw/defaults %dir %{_datadir}/kpackage/kcms/kcm_firewall %dir %{_datadir}/kpackage/kcms/kcm_firewall/contents %dir %{_datadir}/kpackage/kcms/kcm_firewall/contents/ui %{_datadir}/kpackage/kcms/kcm_firewall/contents/ui/* %{_datadir}/kpackage/kcms/kcm_firewall/metadata.* %{_datadir}/kservices5/kcm_firewall.desktop %{_datadir}/metainfo/org.kde.plasma.firewall.metainfo.xml %{_datadir}/polkit-1/actions/org.kde.ufw.policy %doc LICENSES %changelog * Tue Aug 31 2021 Automatic Build System 5.22.5-1mamba - automatic version update by autodist * Wed Jul 28 2021 Automatic Build System 5.22.4-1mamba - automatic version update by autodist * Tue Jul 06 2021 Automatic Build System 5.22.3-1mamba - automatic version update by autodist * Wed Jun 23 2021 Automatic Build System 5.22.2.1-1mamba - automatic version update by autodist * Wed Jun 16 2021 Automatic Build System 5.22.1-1mamba - automatic version update by autodist * Thu Jun 10 2021 Silvan Calarco 5.22.0-2mamba - require iproute and ufw; patched to find ss from iproute in %_sbindir * Thu Jun 10 2021 Silvan Calarco 5.22.0-1mamba - package created using the webbuild interface