Browse code

htop: Initial Build

Change-Id: I1409441fc28eb75153cbd6811b8e9709f26b4c26
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/15903
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Tapas Kundu <tkundu@vmware.com>

shivania2 authored on 2022/04/11 16:30:45
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,51 @@
0
+Name:          htop
1
+Version:       3.1.2
2
+Release:       1%{?dist}
3
+Summary:       Interactive process viewer
4
+License:       GPLv2+
5
+Group:i        Applications/System
6
+Vendor:        VMware, Inc.
7
+Distribution:  Photon
8
+URL:           http://hisham.hm/htop/
9
+Source0:       https://github.com/htop-dev/htop/archive/%{name}-%{version}.tar.gz
10
+%define sha512 htop=7e08b820042e480ca61137ff24b468804b49b95c1bbedaf82029dd79d29c2c541c5211284ec075692203788bbb868a9d4326ffd24c68419e22eec13ae5012700
11
+BuildRequires: ncurses-devel
12
+Requires:      ncurses-libs
13
+
14
+%description
15
+htop is an interactive text-mode process viewer for Linux, similar to
16
+top.
17
+
18
+%prep
19
+%autosetup
20
+
21
+%build
22
+autoreconf -vfi
23
+
24
+%configure \
25
+        --enable-openvz \
26
+        --enable-vserver \
27
+        --enable-taskstats \
28
+        --enable-unicode \
29
+        --enable-native-affinity \
30
+        --enable-oom \
31
+        --with-sensors \
32
+        --enable-cgroup
33
+
34
+%make_build
35
+
36
+%install
37
+%make_install
38
+
39
+%files
40
+%defattr(-,root,root,-)
41
+%doc AUTHORS COPYING ChangeLog README
42
+%{_bindir}/htop
43
+%{_datadir}/pixmaps/htop.png
44
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
45
+%{_datadir}/applications/%{name}.desktop
46
+%{_mandir}/man1/htop.1*
47
+
48
+%changelog
49
+* Mon Apr 11 2022 Shivani Agarwal <shivania2@vmware.com> 3.1.2-1
50
+- htop initial build