]> git.pld-linux.org Git - SPECS.git/blob - acpitail.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / acpitail.spec
1 Summary:        Shows information of an ACPI capable system
2 Summary(pl.UTF-8):      Wyświetlanie informacji 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 ExclusiveArch:  %{ix86} %{x8664} ia64
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 szczegółach systemu ACPI (głównie
24 w laptopach).
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 %{__make} \
32         CC="%{__cc}" \
33         CFLAGS="%{rpmcflags} -Wall -DVERSION=\\\"\$(VERSION)\\\"" \
34         LDFLAGS="%{rpmldflags} -lacpi"
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}
This page took 0.239185 seconds and 3 git commands to generate.