]>
Commit | Line | Data |
---|---|---|
20e55083 JB |
1 | Summary: Shows information of an ACPI capable system |
2 | Summary(pl.UTF-8): Wyświetlanie informacji systemu ACPI | |
2c865f17 | 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 | |
1769880c | 13 | ExclusiveArch: %{ix86} %{x8664} ia64 |
2c865f17 | 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, | |
20e55083 JB |
23 | temperaturach oraz innych podobnych szczegółach systemu ACPI (głównie |
24 | w laptopach). | |
2c865f17 | 25 | |
26 | %prep | |
27 | %setup -q | |
28 | %patch0 -p1 | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
9312eb5c JB |
32 | CC="%{__cc}" \ |
33 | CFLAGS="%{rpmcflags} -Wall -DVERSION=\\\"\$(VERSION)\\\"" \ | |
34 | LDFLAGS="%{rpmldflags} -lacpi" | |
2c865f17 | 35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc readme.txt | |
49 | %attr(755,root,root) %{_sbindir}/%{name} |