]> git.pld-linux.org Git - packages/cpufreqd.git/blob - cpufreqd.spec
- pl description, verify for config
[packages/cpufreqd.git] / cpufreqd.spec
1 Summary:        Scales your cpu frequency
2 Summary(pl):    Skalowanie czêstotliwo¶ci 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 %description -l pl
19 Ten demon monitoruje stan baterii przez /proc/apm i skaluje
20 czêstotliwo¶æ procesora zgodnie z zestawem regu³. Jest bardzo
21 przydatny do zapewniania maksymalnego czasu ¿ycia baterii, a
22 jednocze¶nie dobrej szybko¶ci procesora.
23
24 %prep
25 %setup  -q -n %{name}-%{version}-%{_pre}
26
27 %build
28 %{__make} CFLAGS="%{rpmcflags}"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/{man1,man5}}
33
34 install %{name} $RPM_BUILD_ROOT%{_sbindir}
35 install cpufreqd.conf $RPM_BUILD_ROOT%{_sysconfdir}
36 install *.1  $RPM_BUILD_ROOT%{_mandir}/man1
37 install *.5  $RPM_BUILD_ROOT%{_mandir}/man5
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README TODO
45 %attr(754,root,root) %{_sbindir}/*
46 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
47 %{_mandir}/man1/*.1*
48 %{_mandir}/man5/*.5*
This page took 0.032292 seconds and 3 git commands to generate.