- Add PolicyKit support
This commit is contained in:
parent
9523b51bd3
commit
285f7ee1be
1483
g-s-m-polkit-3.patch
Normal file
1483
g-s-m-polkit-3.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -7,11 +7,13 @@
|
||||
%define desktop_file_utils_version 0.2.90
|
||||
%define libselinux_version 1.23.2
|
||||
%define gconf_version 2.14
|
||||
%define polkit_version 0.7
|
||||
%define polkit_gnome_version 0.7
|
||||
|
||||
Summary: Simple process monitor
|
||||
Name: gnome-system-monitor
|
||||
Version: 2.21.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: http://www.gnome.org/
|
||||
@ -31,7 +33,16 @@ BuildRequires: libselinux-devel >= %{libselinux_version}
|
||||
BuildRequires: gnome-icon-theme
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: gnome-doc-utils >= 0.3.2
|
||||
BuildRequires: PolicyKit-devel >= %{polkit_version}
|
||||
BuildRequires: PolicyKit-gnome-devel >= %{polkit_gnome_version}
|
||||
|
||||
# needed for autoreconf
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
|
||||
# send upstream: http://bugzilla.gnome.org/show_bug.cgi?id=491462
|
||||
Patch0: g-s-m-polkit-3.patch
|
||||
|
||||
Requires: PolicyKit-gnome >= %{polkit_gnome_version}
|
||||
Requires(pre): GConf2 >= %{gconf_version}
|
||||
Requires(post): GConf2 >= %{gconf_version}
|
||||
Requires(post): scrollkeeper
|
||||
@ -43,9 +54,13 @@ gnome-system-monitor is a simple process and system monitor.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0 -b .polkit
|
||||
|
||||
%build
|
||||
%configure --enable-selinux --disable-scrollkeeper
|
||||
autoreconf
|
||||
%configure --enable-selinux --disable-scrollkeeper --enable-polkit
|
||||
# dunno why the deps are not picked up correctly here
|
||||
make -C src gnome-system-monitor-mechanism-glue.h gnome-system-monitor-mechanism-client-glue.h
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -96,8 +111,16 @@ scrollkeeper-update -q
|
||||
%{_bindir}/gnome-system-monitor
|
||||
%{_datadir}/applications/*
|
||||
%{_datadir}/pixmaps/gnome-system-monitor/
|
||||
%{_sysconfdir}/dbus-1/system.d/org.gnome.SystemMonitor.Mechanism.conf
|
||||
%{_libexecdir}/gnome-system-monitor-mechanism
|
||||
%{_datadir}/PolicyKit/policy/org.gnome.system-monitor.policy
|
||||
%{_datadir}/dbus-1/system-services/org.gnome.SystemMonitor.Mechanism.service
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 21 2007 David Zeuthen <davidz@redhat.com> - 2.21.4-2%{?dist}
|
||||
- Add PolicyKit support
|
||||
|
||||
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
|
||||
- Update to 2.21.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user