Name: psi-notify Version: 1.0.1 Release: 1%{?dist} Summary: Desktop notifications about memory or IO overuse URL: https://github.com/cdown/psi-notify %global forgeurl %{url} %global tag %{version} %forgemeta License: MIT Source0: %{forgesource} Source1: https://github.com/cdown/psi-notify/blob/3bea06a03b670e8e7615e1374ac38480bf562024/psi-notify.service BuildRequires: make BuildRequires: gcc BuildRequires: systemd-rpm-macros BuildRequires: kernel-headers BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libsystemd) %description psi-notify is a minimal unprivileged notifier for system-wide resource pressure using PSI (https://facebookmicrosites.github.io/psi/). This can help you to identify misbehaving applications on your machine before they start to severely impact system responsiveness. Works with any desktop using standard desktop notifications. %prep %autosetup %build %{set_build_flags} %make_build %install install -Dt %{buildroot}%{_bindir}/ psi-notify install -m0644 -Dt %{buildroot}%{_userunitdir}/ %{S:1} %files %license LICENSE %doc README.md demo.gif %_bindir/psi-notify %{_userunitdir}/psi-notify.service %changelog * Mon May 11 2020 Zbigniew Jędrzejewski-Szmek - 1.0.1-1 - Initial packaging