]> git.pld-linux.org Git - packages/autothrottle.git/blob - autothrottle.spec
- tabs in preamble
[packages/autothrottle.git] / autothrottle.spec
1 Summary:        autothrottle throttles your CPU
2 Summary(pl.UTF-8):      autothrottle - regulacja prędkości procesora
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
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.
20
21 %prep
22 %setup -q
23
24 %build
25 %{__make} \
26         CC="%{__cc}" \
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}/*
45 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
46 %{_mandir}/man1/*.1*
This page took 0.070376 seconds and 3 git commands to generate.