]>
Commit | Line | Data |
---|---|---|
8f5bb5d4 | 1 | Summary: AcpiTool - Linux ACPI client |
d796b8fc | 2 | Summary(pl.UTF-8): AcpiTool - linuksowy klient ACPI |
8e1d66f0 | 3 | Name: acpitool |
a1fbf594 | 4 | Version: 0.5.1 |
dbddefda | 5 | Release: 1 |
8e1d66f0 | 6 | License: GPL v2 |
7 | Group: Applications | |
dbddefda | 8 | Source0: http://freeunix.dyndns.org:8088/ftp_site/pub/unix/acpitool/%{name}-%{version}.tar.bz2 |
a1fbf594 | 9 | # Source0-md5: 9e4ec55201be0be71ffbc56d38b42b57 |
8e1d66f0 | 10 | URL: http://freeunix.dyndns.org:8088/site2/acpitool.shtml |
a1fbf594 | 11 | BuildRequires: autoconf >= 2.61 |
8e1d66f0 | 12 | BuildRequires: automake |
a1fbf594 | 13 | BuildRequires: libstdc++-devel |
8e1d66f0 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | AcpiTool is (yet another) Linux ACPI client. It's a small command-line | |
18 | application. Besides "basic" ACPI information like battery status, AC | |
8f5bb5d4 JB |
19 | presence, etc... Acpitool also supports various extensions for |
20 | Toshiba, Asus and IBM Thinkpad laptops, allowing you to change the LCD | |
21 | brightness level, toggle fan on/off, and more. | |
8e1d66f0 | 22 | |
15cf6222 JR |
23 | %description -l pl.UTF-8 |
24 | AcpiTool to (jeszcze jeden) linuksowy klient ACPI. Jest to mała | |
25 | aplikacja działająca z linii poleceń. Oprócz "podstawowych" informacji | |
26 | ACPI, takich jak stan baterii, obecność zasilania AC itp. obsługuje | |
27 | także różne rozszerzenia dla laptopów Toshiby, Asusa i IBM Thinkpad, | |
28 | pozwalające zmieniać poziom jasności LCD, włączać i wyłączać | |
8f5bb5d4 | 29 | wiatraczki itp. |
8e1d66f0 | 30 | |
31 | %prep | |
32 | %setup -q | |
33 | ||
34 | %build | |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %{__automake} | |
38 | %configure | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
a1fbf594 JB |
52 | %doc AUTHORS ChangeLog README TODO |
53 | %attr(755,root,root) %{_bindir}/acpitool | |
54 | %{_mandir}/man1/acpitool.1* |