Name: htop Summary: htop - interactive process viewer Copyright: GPL Group: System/Monitoring Version: 0.5 Release: 0.mv.0.SuSE9.2 Packager: Martin Väth Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} BuildRequires: ncurses-devel %description htop is an interactive process viewer for Linux. %prep umask 022 test -n '%{buildroot}' || { echo "Must use buildroot" ; exit 1 ; } %if %{?fake:%fake}%{!?fake:0} %setup -T -D -c %else %setup -c test -d %{name}-%{version} && mv %{name}-%{version}/* . test -d %{name} && mv %{name}/* . %endif %build umask 022 cd "$RPM_BUILD_DIR"/%{name}-%{version} %if %{?fake:%fake}%{!?fake:0} %else %configure make strip htop %endif %install umask 022 cd "$RPM_BUILD_DIR"/%{name}-%{version} test -n '%{buildroot}' test -d '%{buildroot}' && rm -rf '%{buildroot}' # install -d -m 755 '%{buildroot}%{_bindir}' # install -p -m 755 -s htop '%{buildroot}%{_bindir}' make DESTDIR='%{buildroot}' install %clean test -n '%{buildroot}' -a -d '%{buildroot}' && rm -rf '%{buildroot}' %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_bindir}/htop %{_mandir}/man1/htop.1.gz %changelog * Thu Dec 09 2004 Martin Väth - Update to new release * Sun Aug 22 2004 Martin Väth - built from scratch