%define majver %(echo %version | cut -d. -f1-2) %define plasmaver %(echo %version | cut -d. -f1-3) Name: kwrited Version: 5.18.5 Release: 1mamba Summary: KDE Plasma 5 write daemon Group: Graphical Desktop/Applications/Environment Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/plasma/%{plasmaver}/kwrited-%{version}.tar.xz # Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libgcc BuildRequires: libkcoreaddons-devel BuildRequires: libki18n-devel BuildRequires: libknotifications-devel BuildRequires: libkpty-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KDE Plasma 5 write daemon. %debug_package %prep %setup -q %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/kwrited-autostart.desktop %{_bindir}/kwrited %{_datadir}/knotifications5/kwrited.notifyrc %doc COPYING %changelog * Fri May 08 2020 Silvan Calarco 5.18.5-1mamba - update to 5.18.5 * Thu Apr 30 2020 Silvan Calarco 5.18.4.1-1mamba - package created using the webbuild interface