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
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