|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: htop
|
|
|
|
|
Version: 2.0.2
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 2.1.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Interactive process viewer
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://hisham.hm/htop/
|
|
|
|
@ -20,38 +20,35 @@ top(1).
|
|
|
|
|
sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -v -f -i
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-openvz \
|
|
|
|
|
--enable-vserver \
|
|
|
|
|
--enable-taskstats \
|
|
|
|
|
--enable-unicode \
|
|
|
|
|
--enable-native-affinity \
|
|
|
|
|
--enable-cgroup \
|
|
|
|
|
--enable-oom
|
|
|
|
|
--enable-cgroup
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
#remove empty direcories
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{libdir}
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{includedir}
|
|
|
|
|
|
|
|
|
|
# remove desktop file
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/
|
|
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/htop
|
|
|
|
|
%{_datadir}/pixmaps/htop.png
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
%{_mandir}/man1/htop.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 14 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.1.0-1
|
|
|
|
|
- Update to 2.1.0
|
|
|
|
|
- Spec cleanup
|
|
|
|
|
- drop unused configure options
|
|
|
|
|
- Install desktop file (fixes bz#1541785)
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|