]> git.pld-linux.org Git - packages/acpitail.git/blob - acpitail.spec
1b40705f0e4e3aec7ab1f33cfaa62c30f74cc06b
[packages/acpitail.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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 acpitail shows information regarding the battery-state, fan-states,
17 temperatures, and other relevant details of an ACPI capable system
18 (mostly laptops).
19
20 %description -l pl.UTF-8
21 acpitail wyświetla informacje o stanie baterii, stanie wiatraków,
22 temperaturach oraz innych podobnych szczegółach systemu ACPI (głównie
23 w laptopach).
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 %build
30 %{__make} \
31         CC="%{__cc}" \
32         CFLAGS="%{rpmcflags} -Wall -DVERSION=\\\"\$(VERSION)\\\"" \
33         LDFLAGS="%{rpmldflags} -lacpi"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_sbindir}
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc readme.txt
48 %attr(755,root,root) %{_sbindir}/%{name}
This page took 0.039687 seconds and 2 git commands to generate.