]>
Commit | Line | Data |
---|---|---|
bc99e5b4 | 1 | Summary: autothrottle throttles your CPU |
a5d77424 | 2 | Summary(pl.UTF-8): autothrottle - regulacja prędkości procesora |
bc99e5b4 PG |
3 | Name: autothrottle |
4 | Version: 1.0 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/System | |
8 | Source0: http://www.metalhead.ws/cbin/%{name}.tar.gz | |
9 | # Source0-md5: 05cf1c9bf50a6cbf762f2ecd6ff0a2cc | |
10 | URL: http://www.metalhead.ws/cbin/ | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | Autothrottle is a daemon that throttles your CPU according to the | |
15 | system load. It can be used with both ACPI and CPUfreq throttling. | |
16 | ||
2dbaf26d JR |
17 | %description -l pl.UTF-8 |
18 | Autothrottle jest demonem, który reguluje prędkość procesora zależnie | |
19 | od obciążenia systemu. Może być używany poprzez ACPI oraz CPUfreq. | |
bc99e5b4 PG |
20 | |
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %{__make} \ | |
8384c941 | 26 | CC="%{__cc}" \ |
bc99e5b4 PG |
27 | CFLAGS="%{rpmcflags} -Wall -DTEST" |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}} | |
32 | ||
33 | %{__make} install \ | |
34 | bindir=$RPM_BUILD_ROOT%{_bindir} \ | |
35 | mandir=$RPM_BUILD_ROOT%{_mandir} \ | |
36 | sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README | |
44 | %attr(755,root,root) %{_bindir}/* | |
8384c941 | 45 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf |
bc99e5b4 | 46 | %{_mandir}/man1/*.1* |