]> git.pld-linux.org Git - packages/autothrottle.git/blame - autothrottle.spec
- tabs in preamble
[packages/autothrottle.git] / autothrottle.spec
CommitLineData
bc99e5b4 1Summary: autothrottle throttles your CPU
a5d77424 2Summary(pl.UTF-8): autothrottle - regulacja prędkości procesora
bc99e5b4
PG
3Name: autothrottle
4Version: 1.0
5Release: 1
6License: GPL
7Group: Applications/System
8Source0: http://www.metalhead.ws/cbin/%{name}.tar.gz
9# Source0-md5: 05cf1c9bf50a6cbf762f2ecd6ff0a2cc
10URL: http://www.metalhead.ws/cbin/
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14Autothrottle is a daemon that throttles your CPU according to the
15system load. It can be used with both ACPI and CPUfreq throttling.
16
2dbaf26d
JR
17%description -l pl.UTF-8
18Autothrottle jest demonem, który reguluje prędkość procesora zależnie
19od 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
30rm -rf $RPM_BUILD_ROOT
31install -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
39rm -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*
This page took 0.109777 seconds and 4 git commands to generate.