Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
xfce4-power-manager
xfce4-power-manager.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-power-manager.spec of Package xfce4-power-manager
# # spec file for package xfce4-power-manager # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 panel_version 4.7.0 Name: xfce4-power-manager Version: 1.0.10 Release: 16 License: GPLv2+ Summary: Power Management for the Xfce Desktop Environment Url: http://goodies.xfce.org/projects/applications/xfce4-power-manager/ Group: System/GUI/XFCE Source: http://archive.xfce.org/src/apps/xfce4-power-manager/1.0/%{name}-%{version}.tar.bz2 # PATCH-FEATURE-OPENSUSE xfce4-power-manager-0.9.98-lxde-support.patch andrea@opensuse.org -- Allow usage in LXDE Patch0: xfce4-power-manager-0.9.98-lxde-support.patch # PATCH-FIX-UPSTREAM xfce4-power-manager-1.0.10-fix-libnotify-0.7.patch gber@opensuse.org -- Fix the libnotify 0.7.0 API usage Patch1: xfce4-power-manager-1.0.10-fix-libnotify-0.7.patch # PATCH-FEATURE-UPSTREAM xfce4-power-manager-1.0.10-support-networkmanager-0.9.patch gber@opensuse.org -- Adds support for NetworkManager 0.9 Patch2: xfce4-power-manager-1.0.10-support-networkmanager-0.9.patch # PATCH-FIX-UPSTREAM xfce4-power-manager-1.0.10-fix-broken-icon.patch gber@opensuse.org -- Fix broken empty battery icon in tray Patch3: xfce4-power-manager-1.0.10-fix-broken-icon.patch # PATCH-FIX-UPSTREAM xfce4-power-manager-1.0.10-fix-saving-brightness-levels.patch bxo#7791 gber@opensuse.org -- Fix the type of saved brightness levels so they can be correctly loaded again Patch4: xfce4-power-manager-1.0.10-fix-saving-brightness-levels.patch # PATCH-FIX-UPSTREAM xfce4-power-manager-use-docdir.patch gber@opensuse.org -- Use docdir correctly Patch5: xfce4-power-manager-1.0.10-use-docdir.patch # PATCH-FIX-UPSTREAM xfce4-power-manager-workaround-xrandr-error.patch bnc#718980 bxo#7999 tiwai@suse.de -- Handles X errors when setting brightness via XRANDR gracefully rather than crashing Patch6: xfce4-power-manager-workaround-xrandr-error.patch # PATCH-FIX-UPSTREAM xfce4-power-manager-fix-battery-removal.patch bnc#707127 bxo#7851 tiwai@suse.de -- Prevents crashes due to xfpm_battery_notify_idle() being called on a battery that has been removed Patch7: xfce4-power-manager-fix-battery-removal.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libxfce4panel-1.0) BuildRequires: pkgconfig(libxfce4ui-1) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: update-desktop-files BuildRequires: xfconf BuildRequires: xfce4-dev-tools BuildRequires: libxslt BuildRequires: docbook-xsl-stylesheets Suggests: xfce4-panel-plugin-brightness BuildRoot: %{_tmppath}/%{name}-%{version}-build %description xfce4-power-manager is a tool for the Xfce desktop environment for managing profiles of policies which affect power consumption, such as the display brightness level, display sleep times, or CPU frequency scaling. It can also trigger actions on certain events such as closing the lid or reaching low battery levels and provides a set of interfaces to inform other applications about current power level so that they can adjust their power consumption. Furthermore, it provides a standardized inhibit interface which allows applications to prevent automatic sleep actions via the power manager. %package -n xfce4-panel-plugin-brightness License: GPLv2+ Summary: Xfce Panel Plugin to Regulate Display Brightness Group: System/GUI/XFCE Requires: xfce4-panel >= %panel_version Requires: xfce4-power-manager = %{version} %description -n xfce4-panel-plugin-brightness This package provides a plugin for the Xfce panel which allows one to regulate display brightness. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %build xdt-autogen %configure \ --docdir=%{_datadir}/xfce4/xfce4-power-manager \ --disable-hal make %{?_smp_mflags} V=1 %install %make_install %suse_update_desktop_file xfce4-power-manager-settings %suse_update_desktop_file xfce4-power-manager rm -rf %{buildroot}/%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang %{name} %fdupes %{buildroot}/%{_datadir} %clean rm -rf %{buildroot} %if 0%{?suse_version} >= 1140 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/xfce4-power-manager %{_bindir}/xfce4-power-manager-settings %{_bindir}/xfce4-power-information %{_sbindir}/xfpm-power-backlight-helper %config %{_sysconfdir}/xdg/autostart/xfce4-power-manager.desktop %{_mandir}/man1/* %dir %{_datadir}/polkit-1 %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/org.xfce.power.policy %{_datadir}/applications/xfce4-power-manager-settings.desktop %{_datadir}/icons/hicolor/128x128/devices/processor.png %{_datadir}/icons/hicolor/*/*/xfpm-*.png %{_datadir}/icons/hicolor/scalable/actions/*.svg %{_datadir}/icons/hicolor/scalable/status/*.svg %dir %{_datadir}/xfce4 %dir %{_datadir}/xfce4/xfce4-power-manager %doc %{_datadir}/xfce4/xfce4-power-manager/html/ %files -n xfce4-panel-plugin-brightness %defattr(-,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-brightness-plugin %{_datadir}/xfce4/panel-plugins/*.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