[packages/htop] up to 3.0.0
atler
atler at pld-linux.org
Sun Aug 30 19:04:07 CEST 2020
commit 2032e93a2a7f34fb7ef63dc91897017d77597657
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Aug 30 19:01:09 2020 +0200
up to 3.0.0
- maintainer changed -- updated urls
- desktop patch no longer needed
- updated /proc workaround
htop-desktop.patch | 11 -----------
htop.spec | 12 +++++-------
2 files changed, 5 insertions(+), 18 deletions(-)
---
diff --git a/htop.spec b/htop.spec
index 355b5ea..f12799d 100644
--- a/htop.spec
+++ b/htop.spec
@@ -2,14 +2,13 @@ Summary: An interactive process viewer
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
@@ -33,10 +32,9 @@ Jej celem jest bycie lepszą odmianą programu 'top'.
%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}
diff --git a/htop-desktop.patch b/htop-desktop.patch
deleted file mode 100644
index f1bffd4..0000000
--- a/htop-desktop.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/htop.git/commitdiff/2032e93a2a7f34fb7ef63dc91897017d77597657
More information about the pld-cvs-commit
mailing list