summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2020-05-08 15:15:02 -0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2020-05-08 15:15:02 -0700
commitfccfe66d25133341ffb39a8fb9784305d56d8cb6 (patch)
tree291e473ad7b46d9ef23dede6be8a7d67ad762bd1
parent4acf05acc6745ef91bb42f869c527738bfffa98f (diff)
downloadspecs-fccfe66d25133341ffb39a8fb9784305d56d8cb6.tar.gz
specs-fccfe66d25133341ffb39a8fb9784305d56d8cb6.tar.xz
specs-fccfe66d25133341ffb39a8fb9784305d56d8cb6.zip
psi-notify: review done
-rw-r--r--utils/psi-notify.spec63
1 files changed, 0 insertions, 63 deletions
diff --git a/utils/psi-notify.spec b/utils/psi-notify.spec
deleted file mode 100644
index f11e66b..0000000
--- a/utils/psi-notify.spec
+++ /dev/null
@@ -1,63 +0,0 @@
-Name: psi-notify
-Version: 1.0.1
-Release: 2%{?dist}
-Summary: Alert when your machine is becoming over-saturated
-
-License: MIT
-URL: https://github.com/cdown/psi-notify
-Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-
-BuildRequires: gcc
-BuildRequires: pkgconfig(libnotify)
-BuildRequires: pkgconfig(libsystemd)
-%if 0%{?fedora}
-BuildRequires: systemd-rpm-macros
-%endif
-
-%description
-psi-notify is a minimal unprivileged notifier for system-wide resource pressure
-using PSI.
-
-This can help you to identify misbehaving applications on your machine before
-they start to severely impact system responsiveness, in a way which MemAvailable
-or other metrics cannot.
-
-
-%prep
-%autosetup
-
-
-%build
-export CC=gcc
-export CFLAGS="%{optflags}"
-%make_build
-
-
-%install
-install -Dp %{name} %{buildroot}%{_bindir}/%{name}
-install -Dp -m 644 %{name}.service %{buildroot}%{_userunitdir}/%{name}.service
-
-%if 0%{?fedora}
-%post
-%systemd_user_post %{name}.service
-
-%preun
-%systemd_user_preun %{name}.service
-%endif
-
-
-%files
-%license LICENSE
-%doc README.md demo.gif
-%{_bindir}/%{name}
-%dir %{_userunitdir}
-%{_userunitdir}/%{name}.service
-
-
-%changelog
-* Fri May 8 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.0.1-2
-- Include demo animation as documentation
-- Own /usr/lib/systemd/unit, since the service file is optional
-
-* Wed May 6 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.0.1-1
-- Initial package