LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pm-profiler.spec of Package pm-profiler (Project DISCONTINUED:openSUSE:11.1)

#
# spec file for package pm-profiler (Version 0.1)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           pm-profiler
Summary:        Managing power options on servers
Version:        0.1
Release:        15
License:        GPL v2 only
Url:            http://www.stilltobefound.org
Group:          System/Management
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %insserv_prereq
BuildArch:      noarch
AutoReqProv:    on
Obsoletes:      powersave <= 0.15.20
Provides:       powersave = 0.15.20

%description
Script infrastructure to enable/disable certain power management
functions via simple configuration files. It is intended for server
use.



Authors:
--------
    Holger Macht <hmacht@suse.de>

%prep
%setup -q

%build

%install
%makeinstall

%post

%preun

%postun
%{insserv_cleanup}

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%_docdir/pm-profiler
/usr/lib/pm-profiler
%config(noreplace) %_sysconfdir/pm-profiler.conf
%dir %_sysconfdir/pm-profiler
%dir %_sysconfdir/pm-profiler/balanced_low_latency
%config %_sysconfdir/pm-profiler/balanced_low_latency/config
%dir %_sysconfdir/pm-profiler/low_latency
%config %_sysconfdir/pm-profiler/low_latency/config
%dir %_sysconfdir/pm-profiler/powersaving
%config %_sysconfdir/pm-profiler/powersaving/config
%_sysconfdir/init.d/pm-profiler
%_sbindir/rcpm-profiler
%_bindir/powersave
/usr/share/locale/*/LC_MESSAGES/pm-profiler.mo

%changelog
* Mon Nov 24 2008 hmacht@suse.de
- update and install translations
* Wed Nov 19 2008 hmacht@suse.de
- Add default profiles: low_latency, balanced_latency, powersaving
* Tue Nov 18 2008 hmacht@suse.de
- don't insserv in %%post, will be done by YaST as soon as a profile
  gets activated (bnc#443177)
* Wed Oct 08 2008 hmacht@suse.de
- Use D-Bus methods to trigger hibernate/suspend/standby to make it
  work for common users (bnc#433361)
- Add documentation infrastructure (no functional changes)
* Wed Sep 17 2008 lrupp@suse.de
- added PreReq for fillup
- use versioned Obsoletes/Provides
- don't replace /etc/pm-profiler.conf on update
* Mon Sep 01 2008 hmacht@suse.de
- add COPYING file to tarball
* Mon Aug 18 2008 hmacht@suse.de
- initial import