summaryrefslogtreecommitdiffstats
path: root/gnome-flashback.spec
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-flashback.spec')
-rw-r--r--gnome-flashback.spec14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnome-flashback.spec b/gnome-flashback.spec
index 4814722..5fceafe 100644
--- a/gnome-flashback.spec
+++ b/gnome-flashback.spec
@@ -1,11 +1,14 @@
Name: gnome-flashback
Version: 3.16.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Classic GNOME session
License: GPLv3+
URL: https://wiki.gnome.org/Projects/GnomeFlashback
Source0: http://download.gnome.org/sources/%{name}/3.16/%{name}-%{version}.tar.xz
+# taken from polkit-gnome, license is LGPLv2+, requires because of
+# http://lists.fedoraproject.org/pipermail/devel-announce/2011-February/000758.html
+Source1: polkit-gnome-authentication-agent-1.desktop
Patch1: 0001-workarounds-add-app-menu-and-button-layout-workaroun.patch
BuildRequires: gnome-common
@@ -31,6 +34,7 @@ Requires: gnome-keyring
Requires: gnome-screensaver
Requires: gnome-settings-daemon
Requires: gnome-session
+Requires: polkit-gnome
%description
GNOME Flashback is a session for GNOME 3 which was initially called
@@ -53,6 +57,10 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
+# install autostart file for polkit-gnome-authentication-agent-1
+# cannot use desktop-file-install due to OnlyShowIn=GNOME-Flashback
+install -D -m 0644 %{SOURCE1} \
+ $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/%{name}-polkit-gnome-authentication-agent-1.desktop
%find_lang %{name}
@@ -69,6 +77,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f %{name}.lang
%doc COPYING NEWS
+%{_sysconfdir}/xdg/autostart/gnome-flashback-polkit-gnome-authentication-agent-1.desktop
%{_sysconfdir}/xdg/menus/gnome-flashback-applications.menu
%{_bindir}/gnome-flashback
%{_libexecdir}/gnome-flashback-compiz
@@ -82,6 +91,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/xsessions/gnome-flashback-metacity.desktop
%changelog
+* Wed Jul 15 2015 Yaakov Selkowitz <yselkowi@redhat.com> - 3.16.1-3
+- Add polkit-gnome autostart
+
* Wed Jul 15 2015 Yaakov Selkowitz <yselkowi@redhat.com> - 3.16.1-2
- Add upstream fix for BGO#738562