]>
Commit | Line | Data |
---|---|---|
2c865f17 | 1 | Summary: shows information of an ACPI capable system |
2 | Summary(pl.UTF-8): wyświetla informacje systemu ACPI | |
3 | Name: acpitail | |
4 | Version: 0.1 | |
5 | Release: 0.1 | |
6 | License: GPL v2+ | |
7 | Group: Applications | |
8 | Source0: http://www.vanheusden.com/acpitail/%{name}-%{version}.tgz | |
9 | # Source0-md5: 59b60dcdee061bc5b6a9537d269cea4b | |
10 | Patch0: %{name}-Makefile.patch | |
11 | URL: http://www.vanheusden.com/acpitail/ | |
12 | BuildRequires: libacpi-devel | |
13 | BuildRequires: libacpi-static | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | acpitail shows information regarding the battery-state, fan-states, | |
18 | temperatures, and other relevant details of an ACPI capable system | |
19 | (mostly laptops). | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | acpitail wyświetla informacje o stanie baterii, stanie wiatraków, | |
23 | temperaturach oraz innych podobnych rzeczach sysetmu ACPI (głównie | |
24 | laptopy). | |
25 | ||
26 | %prep | |
27 | %setup -q | |
28 | %patch0 -p1 | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
32 | CC="%{__cc}" | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc readme.txt | |
47 | %attr(755,root,root) %{_sbindir}/%{name} |