[packages/thinkfan] - enable temp reading using libatasmart
arekm
arekm at pld-linux.org
Mon Jan 27 20:10:40 CET 2014
commit 708da53e798c0024ba42d7168560d534b1f46ed4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jan 27 20:10:37 2014 +0100
- enable temp reading using libatasmart
thinkfan.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/thinkfan.spec b/thinkfan.spec
index 6076770..d5a4916 100644
--- a/thinkfan.spec
+++ b/thinkfan.spec
@@ -10,6 +10,7 @@ Source0: http://downloads.sourceforge.net/thinkfan/%{name}-%{version}.tar.gz
Source1: %{name}.init
URL: http://thinkfan.sourceforge.net/
BuildRequires: cmake
+BuildRequires: libatasmart-devel
BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,7 +35,9 @@ wykonaną przez ludzi na thinkwiki.org.
%build
install -d build
cd build
-%{cmake} ..
+%{cmake} \
+ -DUSE_ATASMART=1 \
+ ..
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/thinkfan.git/commitdiff/708da53e798c0024ba42d7168560d534b1f46ed4
More information about the pld-cvs-commit
mailing list