-
Notifications
You must be signed in to change notification settings - Fork 3
/
faultstat.spec
41 lines (30 loc) · 973 Bytes
/
faultstat.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
%define version 0.01.02
%define debug_package %{nil}
Name: faultstat
Version: %{version}
Release: 1%{?dist}
Summary: Page fault monitoring tool
License: LGPLv3+
URL: https://github.com/ColinIanKing/faultstat
Source0: https://github.com/ColinIanKing/faultstat/archive/V%{version}.tar.gz
BuildRequires: ncurses-devel ncurses gcc
Requires: ncurses
%description
Faultstat reports the page fault activity of processes
running on a system. The tool supports a 'top' like mode
to dynamically display the top page faulting processes.
%prep
%setup -q
%build
make
%install
mkdir -p %{buildroot}/%{_bindir}
install -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
mkdir -p %{buildroot}/%{_mandir}/man8/
install -m 0755 %{name}.8 %{buildroot}/%{_mandir}/man8/%{name}.8
%files
%{_bindir}/%{name}
%{_mandir}/man8/%{name}.8.*
%changelog
* Wed Aug 14 2019 <[email protected]> 0.01.01
- Initial release to Fedora Copr