|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
Name: htop
|
|
|
|
|
Version: 0.6.5
|
|
|
|
|
Version: 0.7
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Interactive process viewer
|
|
|
|
|
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPL
|
|
|
|
|
License: GPL+
|
|
|
|
|
URL: http://htop.sourceforge.net/
|
|
|
|
|
Source0: http://download.sourceforge.net/htop/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
@ -19,39 +19,42 @@ top(1).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in
|
|
|
|
|
sed -i -e '2,3d' -e '7d' htop.desktop
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-dependency-tracking
|
|
|
|
|
%configure
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
desktop-file-install \
|
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
|
|
--vendor fedora \
|
|
|
|
|
--delete-original \
|
|
|
|
|
%{buildroot}%{_datadir}/applications/htop.desktop
|
|
|
|
|
--remove-category=Applications \
|
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/htop.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING ChangeLog README TODO
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog README TODO
|
|
|
|
|
%{_bindir}/htop
|
|
|
|
|
%{_datadir}/applications/*htop.desktop
|
|
|
|
|
%{_datadir}/applications/fedora-htop.desktop
|
|
|
|
|
%{_datadir}/pixmaps/htop.png
|
|
|
|
|
%{_mandir}/man1/htop.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 11 2008 Rafał Psota <rafalzaq@gmail.com> - 0.7-1
|
|
|
|
|
- update to 0.7
|
|
|
|
|
* Sat Dec 9 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.5-1
|
|
|
|
|
- Update to 0.6.5
|
|
|
|
|
|
|
|
|
|