Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Ports
caffeine
caffeine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File caffeine.spec of Package caffeine
# # spec file for package caffeine # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Malcolm J Lewis <malcolmlewis@opensuse.org> # # 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/ # %define __requires_exclude typelib\\(AppIndicator3\\) Name: caffeine Version: 2.7.2 Release: 0 Summary: Utility to inhibit screensaver and sleep modes License: GPL-3.0+ and LGPL-3.0+ Group: System/GUI/GNOME Url: https://launchpad.net/caffeine Source0: https://launchpad.net/~caffeine-developers/+archive/ubuntu/ppa/+files/%{name}_%{version}.tar.gz # PATCH-FIX-UPSTREAM caffeine-fix-desktop-file-semicolon-trailing-character p.drouand@gmail.com -- Fix missing semicolon in Keywords entries. Patch1: caffeine-fix-desktop-file-semicolon-trailing-character.patch BuildRequires: fdupes # For typelib() Requires BuildRequires: gobject-introspection BuildRequires: hicolor-icon-theme BuildRequires: python-devel BuildRequires: update-desktop-files Requires: python-xdg Requires: python-xlib Provides: %{name}-lang = %{version} Obsoletes: %{name}-lang < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Caffeine is a status bar application able to temporarily prevent the activation of both the screensaver and the "sleep" powersaving mode. %prep %setup -q -n %{name} %patch1 -p1 %build python setup.py build %install python setup.py install -O1 --prefix=%{_prefix} --root=%{buildroot} %suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop %fdupes %{buildroot} %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %doc COPYING COPYING.LESSER README %{_bindir}/caffeine %{python_sitelib}/ewmh* %{python_sitelib}/caffeine-%{version}-py%{py_ver}.egg-info %{_datadir}/applications/caffeine.desktop %{_datadir}/icons/hicolor/*/apps/caffeine.* %{_datadir}/pixmaps/caffeine.png %{_mandir}/man1/caffeine.1%{?ext_man} %{_sysconfdir}/xdg/autostart/%{name}.desktop %changelog
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