]> git.pld-linux.org Git - packages/acpitail.git/blob - acpitail.spec
738d17c1626bf9d75808c6b7dba79dfa65869929
[packages/acpitail.git] / acpitail.spec
1 # TODO: optflags; why -static?
2 Summary:        Shows information of an ACPI capable system
3 Summary(pl.UTF-8):      Wyświetlanie informacji systemu ACPI
4 Name:           acpitail
5 Version:        0.1
6 Release:        0.1
7 License:        GPL v2+
8 Group:          Applications
9 Source0:        http://www.vanheusden.com/acpitail/%{name}-%{version}.tgz
10 # Source0-md5:  59b60dcdee061bc5b6a9537d269cea4b
11 Patch0:         %{name}-Makefile.patch
12 URL:            http://www.vanheusden.com/acpitail/
13 BuildRequires:  libacpi-devel
14 BuildRequires:  libacpi-static
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 acpitail shows information regarding the battery-state, fan-states,
19 temperatures, and other relevant details of an ACPI capable system
20 (mostly laptops).
21
22 %description -l pl.UTF-8
23 acpitail wyświetla informacje o stanie baterii, stanie wiatraków,
24 temperaturach oraz innych podobnych szczegółach systemu ACPI (głównie
25 w laptopach).
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %{__make} \
33         CC="%{__cc}"
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.062161 seconds and 2 git commands to generate.