- 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 desktop_file_utils_version 0.2.90
|
||||||
%define libselinux_version 1.23.2
|
%define libselinux_version 1.23.2
|
||||||
%define gconf_version 2.14
|
%define gconf_version 2.14
|
||||||
|
%define polkit_version 0.7
|
||||||
|
%define polkit_gnome_version 0.7
|
||||||
|
|
||||||
Summary: Simple process monitor
|
Summary: Simple process monitor
|
||||||
Name: gnome-system-monitor
|
Name: gnome-system-monitor
|
||||||
Version: 2.21.4
|
Version: 2.21.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.gnome.org/
|
URL: http://www.gnome.org/
|
||||||
@ -31,7 +33,16 @@ BuildRequires: libselinux-devel >= %{libselinux_version}
|
|||||||
BuildRequires: gnome-icon-theme
|
BuildRequires: gnome-icon-theme
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
BuildRequires: gnome-doc-utils >= 0.3.2
|
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(pre): GConf2 >= %{gconf_version}
|
||||||
Requires(post): GConf2 >= %{gconf_version}
|
Requires(post): GConf2 >= %{gconf_version}
|
||||||
Requires(post): scrollkeeper
|
Requires(post): scrollkeeper
|
||||||
@ -43,9 +54,13 @@ gnome-system-monitor is a simple process and system monitor.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p0 -b .polkit
|
||||||
|
|
||||||
%build
|
%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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -96,8 +111,16 @@ scrollkeeper-update -q
|
|||||||
%{_bindir}/gnome-system-monitor
|
%{_bindir}/gnome-system-monitor
|
||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
%{_datadir}/pixmaps/gnome-system-monitor/
|
%{_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
|
%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
|
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
|
||||||
- Update to 2.21.4
|
- Update to 2.21.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user