Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
gnome-power-manager
gnome-power-manager.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-power-manager.spec of Package gnome-power-manager
# # spec file for package gnome-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/ # Name: gnome-power-manager Version: 2.32.0 Release: 7.<RELEASE3> License: GPLv2+ Summary: Power Management for GNOME Url: http://gnome-power.sourceforge.net/ Group: System/GUI/GNOME Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/2.16/%{name}-%{version}.tar.bz2 # PATCH-NEEDS-REBASE gnome-power-manager-schedule-wakeups.patch gburt fate302448 -- add tab to prefs to schedule rtcwake (was PATCH-FEATURE-OPENSUSE) Patch10: gnome-power-manager-schedule-wakeups.patch # PATCH-FEATURE-UPSTREAM gnome-power-manager-notify-idle-sleep.patch hmacht bnc#439018 bgo575467 -- notify user about auto suspend when returning from sleep Patch12: gnome-power-manager-notify-idle-sleep.patch # PATCH-FIX-OPENSUSE gnome-power-manager-no-fallback-to-hibernate.patch hmacht@suse.de bnc#440410 Patch14: gnome-power-manager-no-fallback-to-hibernate.patch # PATCH-FIX-UPSTREAM gnome-power-manager-no-xfce.patch bgo#642616 vuntz@opensuse.org -- Don't start g-p-m in XFCE, since XFCE now has xfce4-power-manager Patch15: gnome-power-manager-no-xfce.patch BuildRequires: docbook-utils BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-panel-devel BuildRequires: gnome-patch-translation BuildRequires: intltool BuildRequires: libcanberra-devel BuildRequires: libgnome-keyring-devel BuildRequires: libnotify-devel BuildRequires: libunique-devel BuildRequires: libupower-glib-devel BuildRequires: libwnck-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: xmlto Requires: gnome-session-core # g-p-m uses the pkexec binary Requires: polkit Requires: upower Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq %description GNOME Power Manager is a GNOME session daemon that acts as a policy agent. It listens for system events and responds with user-configurable actions. %package -n gnome-applets-brightness License: GPLv2+ Summary: A GNOME panel applet to control brightness on laptop screens Group: System/GUI/GNOME Requires: %{name} = %{version} %description -n gnome-applets-brightness GNOME Power Manager is a GNOME session daemon that acts as a policy agent. It listens for system events and responds with user-configurable actions. This package provides an applet to control brightness on your laptop screen. %package -n gnome-applets-inhibit-powersave License: GPLv2+ Summary: A GNOME panel applet to disable and reenable power saving Group: System/GUI/GNOME Requires: %{name} = %{version} %description -n gnome-applets-inhibit-powersave GNOME Power Manager is a GNOME session daemon that acts as a policy agent. It listens for system events and responds with user-configurable actions. This package provides an applet to disable and reenable powersaving on the fly. %lang_package %prep %setup -q translation-update-upstream gnome-patch-translation-prepare # Needs rebase: #%patch10 -p1 %patch12 -p1 %patch14 -p1 %patch15 -p1 gnome-patch-translation-update %build %configure \ --libexecdir=%{_libexecdir}/gnome-power-manager \ --disable-schemas-install \ --disable-scrollkeeper %{__make} %{?jobs:-j %jobs} %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif %suse_update_desktop_file gnome-power-preferences %suse_update_desktop_file gnome-power-manager %suse_update_desktop_file gnome-power-statistics %find_lang %{name} %{?no_lang_C} %find_gconf_schemas %fdupes %{buildroot} %clean rm -rf %{buildroot} %pre -f %{name}.schemas_pre %post %desktop_database_post %icon_theme_cache_post %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun %desktop_database_postun %icon_theme_cache_postun %files -f %{name}.schemas_list %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog HACKING NEWS README TODO %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/* %{_sbindir}/gnome-power-backlight-helper %{_sysconfdir}/xdg/autostart/*.desktop %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/gnome-power-manager.service %{_datadir}/gnome-power-manager %{_datadir}/icons/hicolor/*/apps/* # pkexec is used, so we have no real dependency on polkit => we have to own the directories %dir %{_datadir}/polkit-1 %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/org.gnome.power.policy %doc %{_mandir}/man?/*.* %dir %{_libexecdir}/gnome-power-manager %files -n gnome-applets-brightness %defattr(-, root, root) %{_libdir}/bonobo/servers/GNOME_BrightnessApplet.server %{_libexecdir}/gnome-power-manager/gnome-brightness-applet %{_datadir}/gnome-2.0/ui/GNOME_BrightnessApplet.xml %files -n gnome-applets-inhibit-powersave %defattr(-, root, root) %{_libdir}/bonobo/servers/GNOME_InhibitApplet.server %{_libexecdir}/gnome-power-manager/gnome-inhibit-applet %{_datadir}/gnome-2.0/ui/GNOME_InhibitApplet.xml %files lang -f %{name}.lang %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