+++ /dev/null
---- htop-2.0.0/htop.desktop~ 2015-10-05 16:22:51.000000000 +0200
-+++ htop-2.0.0/htop.desktop 2016-02-11 22:27:07.341302014 +0100
-@@ -32,7 +32,7 @@ Comment[zh_TW]=顯示系統行程
- Terminal=true
- Exec=htop
- Icon=htop
--Categories=ConsoleOnly;System;
-+Categories=ConsoleOnly;System;Monitor;
- GenericName=Process Viewer
- GenericName[ca]=Visor de processos
- GenericName[de]=Prozessanzeige
Summary(hu.UTF-8): Egy interaktív processz megjelenítő
Summary(pl.UTF-8): Interaktywna przeglądarka procesów
Name: htop
-Version: 2.2.0
+Version: 3.0.0
Release: 1
License: GPL v2
Group: Applications/System
-Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 0d816b6beed31edc75babcfbf863ffa8
-Patch0: %{name}-desktop.patch
-URL: http://hisham.hm/htop/
+Source0: https://github.com/htop-dev/htop/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 695cb3f6d6eae13f53c74c491da449ea
+URL: https://htop.dev/
BuildRequires: autoconf >= 2.65
BuildRequires: automake >= 1:1.11
BuildRequires: gcc >= 5:3.0
%prep
%setup -q
-%patch0 -p1
# don't require /proc at build time
-sed '/^AC_CHECK_FILE($PROCDIR)/d' -i configure.ac
+sed 's@^[[:space:]]*AC_CHECK_FILE($PROCDIR.*@:@' -i configure.ac
%build
%{__libtoolize}