-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprocno.spec
110 lines (95 loc) · 3.66 KB
/
procno.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#
# spec file for procno
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, version 3.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <https://www.gnu.org/licenses/>.
#
# Contact: m i c h a e l @ a c t r i x . g e n . n z
#
Name: procno
Version: 1.2.9
Release: 0
License: GPL-3.0-or-later
BuildArch: noarch
URL: https://github.com/digitaltrails/procno
Group: System/GUI/Other
Summary: A process monitor with DBUS Freedesktop-Notifications
Source0: %{name}-%{version}.tar.gz
%if 0%{?suse_version} || 0%{?fedora_version}
Requires: python3 python3-qt5 python3-dbus-python python3-psutil
%endif
BuildRequires: coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Procno is a process monitor with DBUS Freedesktop-Notifications.
Like top, but not as we know it.
%prep
%setup -q
%build
exit 0
%install
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_datadir}/applications
mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps
install -m 755 procno.py %{buildroot}/%{_bindir}/%{name}
cat > %{name}.desktop <<'EOF'
[Desktop Entry]
Type=Application
Terminal=false
Exec=%{_bindir}/%{name}
Name=Procno
GenericName=Procno
Comment=A process monitor with DBUS Freedesktop-Notifications. Like top, but not as we know it.
Icon=procno
Categories=Qt;System;Monitor;System;
EOF
install -m644 %{name}.desktop %{buildroot}/%{_datadir}/applications
install -m644 %{name}.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps
#gzip -c docs/_build/man/vdu_controls.1 > %{buildroot}/%{_datadir}/man/man1/%{name}.1.gz
%post
%files
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/*
%dir %{_datadir}/icons/hicolor/*/apps
%license LICENSE.md
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%changelog
* Mon Jul 22 2024 Michael Hamilton <[email protected]>
- Recover from no dbus notification service. 1.2.9
* Sat Jul 23 2022 Michael Hamilton <[email protected]>
- Add pause and continue buttons. 1.2.7
* Wed Jan 26 2022 Michael Hamilton <[email protected]>
- Only display I/O counts when available. 1.2.6
* Thu Jan 20 2022 Michael Hamilton <[email protected]>
- Display rolling list of open files in process control popup. 1.2.5
* Wed Dec 29 2021 Michael Hamilton <[email protected]>
- Handle lack of a DBUS notification service. 1.2.0
* Fri Dec 24 2021 Michael Hamilton <[email protected]>
- Status bar info inprovments, display match count. 1.1.7
* Thu Dec 23 2021 Michael Hamilton <[email protected]>
- Status bar info, hostname in window title. 1.1.6
* Tue Dec 21 2021 Michael Hamilton <[email protected]>
- Festive tree. 1.1.5
* Fri Dec 17 2021 Michael Hamilton <[email protected]>
- Wayland compatability tweaks. 1.1.4
* Wed Dec 15 2021 Michael Hamilton <[email protected]>
- Change minimum match to 2 chars to match 2 char commands. 1.1.3
* Sat Dec 04 2021 Michael Hamilton <[email protected]>
- Check if system tray is available before applying system_tray_enabled. 1.1.2
* Sun Nov 28 2021 Michael Hamilton <[email protected]>
- Display process finish time. 1.1.1
- More color options. Single updating message per incident. 1.1.0
* Mon Oct 25 2021 Michael Hamilton <[email protected]>
- Packaged for rpm procno 1.0.0