Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F
faux-gnome-screensaver
faux-gnome-screensaver.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File faux-gnome-screensaver.spec of Package faux-gnome-screensaver
# # spec file for package faux-gnome-screensaver # # Copyright (c) 2015 Sergey Kondakov <virtuousfox@gmail.com> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: faux-gnome-screensaver Version: 0.3.0 Release: 0 License: GPL-3.0 Summary: XScreenSaver/DBus compatibility layer Url: https://github.com/jefferyto/faux-gnome-screensaver BuildArch: noarch Group: Amusements/Toys/Screensavers Source0: https://github.com/jefferyto/%{name}/archive/v%{version}.tar.gz Source1: SessionManager.py Source2: gnome-screensaver.sh Source3: faux-gnome-screensaver.desktop BuildRequires: xdg-utils Requires: xscreensaver Requires: python-gobject dbus-1-python Requires: gnome-settings-daemon-schemas Requires: libX11-devel libXScrnSaver-devel Recommends: caffeine Conflicts: gnome-screensaver %description Faux GNOME Screensaver (FGS) adds several features to bridge the gap between XScreenSaver and GNOME 3: * FGS implements GNOME Screensaver's D-Bus interface. This allows, for instance, the Lock function in Ubuntu's session menu to correctly trigger XScreenSaver. * FGS obeys idle inhibition requests in the GNOME Session Manager. This allows programs like Caffeine to request that the session not be marked as idle, thus preventing XScreenSaver from activating. * If XScreenSaver is manually activated and locked, FSG will stop making deactivation requests so that the lock screen password prompt does not appear repeatedly. * FGS ensures that GNOME is configured to put XScreenSaver in control of screensaver activation and display power management. * FGS listens for signals (Lock, Unlock, etc.) from ConsoleKit and systemd-logind, and acts appropriately. %prep %setup -q -n %{name}-%{version} # just to be safe on future python upgrade sed -i -e 's:/bin/env python2:%{_bindir}/env python:g' %{SOURCE1} %build %install %__install -dm 755 %{buildroot}/%{_bindir} %__install -dm 755 %{buildroot}/%{_sysconfdir}/xdg/autostart install -m 755 %{name}.py %{buildroot}/%{_bindir} install -m 755 %{name}-command.py %{buildroot}/%{_bindir} install -m 755 %{SOURCE1} %{buildroot}/%{_bindir}/faux-gnome-sessionmanager.py install -m 755 %{SOURCE2} %{buildroot}/%{_bindir}/gnome-screensaver ln -s %{name}-command.py %{buildroot}/%{_bindir}/gnome-screensaver-command install -m 644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/xdg/autostart/ %files %defattr(-,root,root) %{_bindir}/%{name}.py %{_bindir}/%{name}-command.py %{_bindir}/faux-gnome-sessionmanager.py %{_bindir}/gnome-screensaver %{_bindir}/gnome-screensaver-command %{_sysconfdir}/xdg/autostart/%{name}.desktop %doc README.md Changelog LICENSE
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor