SHA256
1
0
forked from pool/htop

Accepting request 286991 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/286991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/htop?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2015-02-22 16:26:31 +00:00 committed by Git OBS Bridge
commit 32767f5fd4
2 changed files with 19 additions and 19 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 20 13:38:40 UTC 2015 - jhura@suse.com
- Cleanup of spec file with spec-cleaner.
- Enable oom score watching and native-affinity
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 19 18:57:58 UTC 2014 - dmitry_r@opensuse.org Mon May 19 18:57:58 UTC 2014 - dmitry_r@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package htop # spec file for package htop
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -26,13 +26,13 @@ Url: http://hisham.hm/htop
Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz
Patch0: htop-desktop-file-fix-thoenig-01.patch Patch0: htop-desktop-file-fix-thoenig-01.patch
Patch1: htop-stdgnu.patch Patch1: htop-stdgnu.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake BuildRequires: automake
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: python BuildRequires: python
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Recommends: strace
Recommends: lsof Recommends: lsof
Recommends: strace
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
htop is an interactive text-mode process viewer for Linux. It aims to htop is an interactive text-mode process viewer for Linux. It aims to
@ -40,32 +40,26 @@ be a better 'top' and requires ncurses. It is tested with Linux 2.6,
but is also reported to work (and was originally developed) with the but is also reported to work (and was originally developed) with the
2.4 series. 2.4 series.
Authors:
--------
Hisham H. Muhammad
%prep %prep
%setup %setup -q
%patch0 -p0 %patch0
%patch1 -p1 %patch1 -p1
%build %build
export CFLAGS="%{optflags} `ncursesw6-config --cflags`" autoreconf -fi
export LDFLAGS="`ncursesw6-config --libs`"
autoreconf -fiv
%configure \ %configure \
--enable-unicode \
--enable-taskstats \ --enable-taskstats \
--enable-cgroup --enable-unicode \
--enable-native-affinity \
--enable-cgroup \
--enable-oom
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR="%buildroot" make DESTDIR=%{buildroot} install %{?_smp_mflags}
%suse_update_desktop_file -i %name System Monitor %suse_update_desktop_file -i %{name} System Monitor
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %doc COPYING
%{_bindir}/%{name} %{_bindir}/%{name}