- libacpi-static is not needed with shared libacpi built correctly
Changed files:
acpitail.spec -> 1.3
-# TODO: optflags; why -static?
Summary: Shows information of an ACPI capable system
Summary(pl.UTF-8): WyĆwietlanie informacji systemu ACPI
Name: acpitail
Patch0: %{name}-Makefile.patch
URL: http://www.vanheusden.com/acpitail/
BuildRequires: libacpi-devel
-BuildRequires: libacpi-static
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%build
%{__make} \
- CC="%{__cc}"
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -Wall -DVERSION=\\\"\$(VERSION)\\\"" \
+ LDFLAGS="%{rpmldflags} -lacpi"
%install
rm -rf $RPM_BUILD_ROOT