]> git.pld-linux.org Git - packages/htop.git/blobdiff - htop.spec
up to 3.0.2
[packages/htop.git] / htop.spec
index 355b5eafde2ddc8168a1f7dcd67c6f727b6dbaa9..a54a52f05cbfb97553184248539d14e000d12941 100644 (file)
--- a/htop.spec
+++ b/htop.spec
@@ -2,21 +2,18 @@ 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.2
 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: 3295c83198ae764a42627aaa50dd8c90
+URL:           https://htop.dev/
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake >= 1:1.11
 BuildRequires: gcc >= 5:3.0
 BuildRequires: libtool
 BuildRequires: ncurses-devel
-BuildRequires: python
-BuildRequires: python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,10 +30,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}
This page took 0.970675 seconds and 4 git commands to generate.