File pm-profiler.spec of Package pm-profiler

#
# spec file for package pm-profiler (Version 0.1_git20090812)
#
# Copyright (c) 2009 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_git20090812
Release:        1
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
%find_lang %name

%preun
%stop_on_removal pm-profiler

%postun
%{insserv_cleanup}

%clean
rm -rf %buildroot

%files -f %name.lang
%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/pm-profiler

%changelog
openSUSE Build Service is sponsored by