Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37550939
en ru br
ALT Linux repositórios
S:2.4.3-alt3
5.0: 2.3.4-alt1
4.1: 2.2.1-alt1
4.0: 2.2.1-alt1
3.0: 1.2.3-alt2

Group :: Sistema/Kernel e hardware
RPM: cpufreqd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method relaxed

Summary: CPU frequency scaling daemon
Name: cpufreqd
Version: 2.2.1
Release: alt1
License: GPL
Group: System/Kernel and hardware
Source: %name-%version.tar.bz2
Source1: %name.init
Patch1: cpufreqd-2.1.1-defaults.patch
Patch2: cpufreqd.conf-alt-fix-cpumax.patch

Url: http://sourceforge.net/projects/cpufreqd/

BuildRequires: gcc-c++ libcpufreq-devel libsensors-devel libsysfs-devel packages-info-i18n-common
Requires: cpufrequtils

%description
Cpufreqd is meant to be a replacement of the speedstep applet you
can find on some other OS, it monitors battery level, AC state and
running programs and adjusts the frequency of the processor according to
a set of rules specified in the config file (see cpufreqd.conf (5)).

Cpufreqd 2 aims to become the next generation power management
daemon. It provides a common interface to enable system monitoring
and to take useful actions upon that.
Currently it is still centered on the CPUFreq kernel interface,
that means that running a CPUFreq capable kernel is still needed but
also that behaviour could be delegated to a plugin.

Note that the configuration file format is slightly incompatible
with the previous cpufreqd 1 but it's really easy to migrate (a
simple Perl script could do it, I'll try to prepare one soon).

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%build
#  %__autoreconf
%configure
%make_build

%install
%make DESTDIR=%buildroot install

%__install -d %buildroot%_initdir
%__install %SOURCE1 %buildroot%_initdir/%name

# remove non-packaged files

%__rm -f %buildroot%_libdir/*.la

%post
%post_service cpufreqd

%preun
%preun_service cpufreqd

%files
%doc AUTHORS COPYING INSTALL README NEWS TODO ChangeLog
%_sbindir/*
%_bindir/*
%_libdir/*
%attr(644,root,root) %config(noreplace) %_sysconfdir/%name.conf
%_initdir/%name
%_mandir/man?/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009