]> git.pld-linux.org Git - SPECS.git/blob - yacpi.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / yacpi.spec
1 Summary:        ncurses based ACPI monitor for text mode
2 Summary(pl.UTF-8):      Oparty na ncurses tekstowy monitor ACPI
3 Name:           yacpi
4 Version:        3.0.1
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://www.ngolde.de/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  1b03394ee3b916f686cdc3e2c05ddb7a
10 Patch0:         %{name}-Makefile.patch
11 URL:            http://www.ngolde.de/yacpi.html
12 BuildRequires:  libacpi-devel
13 BuildRequires:  ncurses-devel
14 ExclusiveArch:  %{ix86} %{x8664} ia64
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 yacpi (Yet Another Configuration and Power Interface) is an ncurses
19 based ACPI monitoring program for notebooks. There is also a text-only
20 output so it is possible to include it in scripts. It displays various
21 ACPI information like battery status, temperature, charging circuits
22 and AC status. Additionally it displays CPU governor and current
23 frequency.
24
25 %description -l pl.UTF-8
26 yacpi (Yet Another Configuration and Power Interface, czyli jeszcze
27 jeden interfejs do konfiguracji i zasilania) to oparty na ncurses
28 program do monitorowania ACPI dla notebooków. Ma także wyjście
29 tekstowe, więc nadaje się do używania w skryptach. Wyświetla różne
30 informacje ACPI, takie jak stan baterii, temperatura, prąd ładowania i
31 stan zasilania AC. Ponadto wyświetla stan regulacji procesora i jego
32 aktualną częstotliwość.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__make} \
40         CC="%{__cc}" \
41         CFLAGS="%{rpmcflags}" \
42         CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT \
49         prefix="%{_prefix}"
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc CHANGELOG README THANKS
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man1/*.1*
This page took 0.193804 seconds and 3 git commands to generate.