]>
Commit | Line | Data |
---|---|---|
8f5bb5d4 | 1 | Summary: AcpiTool - Linux ACPI client |
d796b8fc | 2 | Summary(pl.UTF-8): AcpiTool - linuksowy klient ACPI |
8e1d66f0 | 3 | Name: acpitool |
dbddefda TP |
4 | Version: 0.5 |
5 | Release: 1 | |
8e1d66f0 | 6 | License: GPL v2 |
7 | Group: Applications | |
dbddefda TP |
8 | Source0: http://freeunix.dyndns.org:8088/ftp_site/pub/unix/acpitool/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: c4acc19eb002d6871d12abb490593202 | |
10 | Patch0: %{name}-gcc43.patch | |
8e1d66f0 | 11 | URL: http://freeunix.dyndns.org:8088/site2/acpitool.shtml |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
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 | |
dbddefda | 33 | %patch0 -p1 |
8e1d66f0 | 34 | |
35 | %build | |
36 | %{__aclocal} | |
37 | %{__autoconf} | |
38 | %{__automake} | |
39 | %configure | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
69cca781 | 53 | %doc AUTHORS ChangeLog NEWS README TODO |
8e1d66f0 | 54 | %attr(755,root,root) %{_bindir}/* |
55 | %{_mandir}/*/* |