Accepting request 320744 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/320744 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/htop?expand=0&rev=34
This commit is contained in:
commit
4653ea1e7f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 2 16:21:35 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Add scriplets for desktop file handling
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 20 13:38:40 UTC 2015 - jhura@suse.com
|
Fri Feb 20 13:38:40 UTC 2015 - jhura@suse.com
|
||||||
|
|
||||||
|
13
htop.spec
13
htop.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package htop
|
# spec file for package htop
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,10 +26,13 @@ Url: http://hisham.hm/htop
|
|||||||
Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz
|
Source0: http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch0: htop-desktop-file-fix-thoenig-01.patch
|
Patch0: htop-desktop-file-fix-thoenig-01.patch
|
||||||
Patch1: htop-stdgnu.patch
|
Patch1: htop-stdgnu.patch
|
||||||
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
|
Requires(post): update-desktop-files
|
||||||
|
Requires(postun): update-desktop-files
|
||||||
Recommends: lsof
|
Recommends: lsof
|
||||||
Recommends: strace
|
Recommends: strace
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -46,7 +49,7 @@ but is also reported to work (and was originally developed) with the
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
--enable-taskstats \
|
--enable-taskstats \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
@ -59,6 +62,12 @@ make %{?_smp_mflags}
|
|||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
%suse_update_desktop_file -i %{name} System Monitor
|
%suse_update_desktop_file -i %{name} System Monitor
|
||||||
|
|
||||||
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user