]> git.pld-linux.org Git - packages/cpufreqd.git/blob - cpufreqd.spec
- massive attack: adding Source-md5
[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 # Source0-md5:  3596674f1c36b85f7c05c8a4adf14a3d
11 URL:            http://www.brodo.de/cpufreq/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 This daemon monitors /proc/apm for the battery status and scales your
16 cpu frequency according to a set of rules. It is very useful for
17 providing maximum battery life but good cpu speed at the same time.
18
19 %description -l pl
20 Ten demon monitoruje stan baterii przez /proc/apm i skaluje
21 czêstotliwo¶æ procesora zgodnie z zestawem regu³. Jest bardzo
22 przydatny do zapewniania maksymalnego czasu ¿ycia baterii, a
23 jednocze¶nie dobrej szybko¶ci procesora.
24
25 %prep
26 %setup  -q -n %{name}-%{version}-%{_pre}
27
28 %build
29 %{__make} CFLAGS="%{rpmcflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/{man1,man5}}
34
35 install %{name} $RPM_BUILD_ROOT%{_sbindir}
36 install cpufreqd.conf $RPM_BUILD_ROOT%{_sysconfdir}
37 install *.1  $RPM_BUILD_ROOT%{_mandir}/man1
38 install *.5  $RPM_BUILD_ROOT%{_mandir}/man5
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README TODO
46 %attr(754,root,root) %{_sbindir}/*
47 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
48 %{_mandir}/man1/*.1*
49 %{_mandir}/man5/*.5*
This page took 0.054555 seconds and 4 git commands to generate.