You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
htop/htop.spec

103 lines
2.7 KiB

Name: htop
17 years ago
Version: 0.7
Release: 2%{?dist}
Summary: Interactive process viewer
Summary(pl): Interaktywna przeglądarka procesów
Group: Applications/System
17 years ago
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)
BuildRequires: desktop-file-utils
BuildRequires: ncurses-devel
%description
htop is an interactive text-mode process viewer for Linux, similar to
top(1).
%description -l pl
htop to interaktywna tekstowa przeglądarka procesów dla Linuksa podobna
do top(1).
%prep
%setup -q
17 years ago
sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in
sed -i -e '2,3d' -e '9d' htop.desktop
%build
17 years ago
%configure
make %{?_smp_mflags}
%install
17 years ago
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
19 years ago
desktop-file-install \
17 years ago
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--vendor fedora \
--delete-original \
17 years ago
--remove-category=Applications \
$RPM_BUILD_ROOT%{_datadir}/applications/htop.desktop
19 years ago
%clean
17 years ago
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
17 years ago
%doc AUTHORS COPYING ChangeLog README TODO
%{_bindir}/htop
17 years ago
%{_datadir}/applications/fedora-htop.desktop
19 years ago
%{_datadir}/pixmaps/htop.png
%{_mandir}/man1/htop.1*
%changelog
* Sun Apr 27 2008 Rafał Psota <rafalzaq@gmail.com> - 0.7-2
- desktop file fix
17 years ago
* Mon Feb 11 2008 Rafał Psota <rafalzaq@gmail.com> - 0.7-1
- update to 0.7
18 years ago
* Sat Dec 9 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.5-1
- Update to 0.6.5
19 years ago
* Wed Oct 4 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.4-1
- Update to 0.6.4
19 years ago
* Sat Sep 16 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.3-2
- Rebuild for FE6
* Sun Jul 30 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.3-1
- Update to 0.6.3
- Correct e-mail address in ChangeLog
- Replace tabs with spaces
* Sat May 20 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.2-1
19 years ago
- Update to 0.6.2
* Wed May 10 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.1-2
- Add missing BR: desktop-file-utils
* Wed May 10 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.1-1
19 years ago
- Update to 0.6.1
* Tue Feb 14 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6-3
- Rebuild for Fedora Extras 5
* Wed Dec 28 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6-2
- Rebuild with updated tarball
* Wed Dec 28 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6-1
- Version 0.6
* Fri Nov 11 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.5.4-2
- Don't use superflous CFLAGS variable (Dmitry Butskoy)
- Don't include AUTHORS and NEWS files
* Thu Nov 10 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.5.4-1
- Initial RPM release.