]>
Commit | Line | Data |
---|---|---|
8e1d66f0 | 1 | Summary: AcpiTool is Linux ACPI client |
2 | Summary(pl): - | |
3 | Name: acpitool | |
4 | Version: 0.4.6 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications | |
8 | Source0: http://dl.sourceforge.net/acpitool/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 4bd3efda303c12bf154771adf61be0f6 | |
10 | URL: http://freeunix.dyndns.org:8088/site2/acpitool.shtml | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | AcpiTool is (yet another) Linux ACPI client. It's a small command-line | |
17 | application. Besides "basic" ACPI information like battery status, AC | |
18 | presence, etc... Acpitool also supports various extensions for Toshiba, | |
19 | Asus and IBM Thinkpad laptops, allowing you to change the LCD brightness | |
20 | level, toggle fan on/off, and more. | |
21 | ||
22 | %description -l pl | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | %{__aclocal} | |
29 | %{__autoconf} | |
30 | %{__automake} | |
31 | %configure | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %{__make} install \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc AUTHORS ChangeLog README TODO | |
46 | %attr(755,root,root) %{_bindir}/* | |
47 | %{_mandir}/*/* |