]> git.pld-linux.org Git - packages/cpufreqd.git/blob - cpufreqd.spec
- initial release (it has any sense only with kernel 2.5 or "a bit"
[packages/cpufreqd.git] / cpufreqd.spec
1 Summary:        Scales your cpu frequency
2 Summary(pl):    Skaluje czêstotliwo¶æ procesora
3 Name:           cpufreqd
4 Version:        1.0
5 %define         _pre    pre1
6 Release:        0.%{_pre}.1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://www.staikos.net/~staikos/cpufreqd/%{name}-%{version}-%{_pre}.tar.gz
10 URL:            http://www.brodo.de/cpufreq/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 This daemon monitors /proc/apm for the battery status and scales your
15 cpu frequency according to a set of rules. It is very useful for
16 providing maximum battery life but good cpu speed at the same time.
17
18 %prep
19 %setup  -q -n %{name}-%{version}-%{_pre}
20
21 %build
22 %{__make} CFLAGS="%{rpmcflags}"
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/{man1,man5}}
27
28 install %{name} $RPM_BUILD_ROOT%{_sbindir}
29 install cpufreqd.conf $RPM_BUILD_ROOT%{_sysconfdir}
30 install *.1  $RPM_BUILD_ROOT%{_mandir}/man1
31 install *.5  $RPM_BUILD_ROOT%{_mandir}/man5
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc README TODO
39 %attr(754,root,root) %{_sbindir}/*
40 %attr(644,root,root) %config(noreplace) %{_sysconfdir}/*
41 %{_mandir}/man1/*.1*
42 %{_mandir}/man5/*.5*
This page took 0.112655 seconds and 4 git commands to generate.