SPECS: gkrellm.spec - use libsensors for sensors monitoring

draenog draenog at pld-linux.org
Fri Oct 26 01:54:31 CEST 2007


Author: draenog                      Date: Thu Oct 25 23:54:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use libsensors for sensors monitoring

---- Files affected:
SPECS:
   gkrellm.spec (1.116 -> 1.117) 

---- Diffs:

================================================================
Index: SPECS/gkrellm.spec
diff -u SPECS/gkrellm.spec:1.116 SPECS/gkrellm.spec:1.117
--- SPECS/gkrellm.spec:1.116	Thu Oct 25 23:11:30 2007
+++ SPECS/gkrellm.spec	Fri Oct 26 01:54:26 2007
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %bcond_without	gnutls	# gnutls support for mail check (instead of OpenSSL)
+%bcond_without	lm_sensors	# don't include sensors support by libsensors
 Summary:	Multiple stacked system monitors: 1 process
 Summary(pl.UTF-8):	Zestaw wielu monitorów systemu(ów) w jednym procesie
 Summary(pt_BR.UTF-8):	Monitoração de atividades do sistema
@@ -20,11 +21,13 @@
 Patch1:		%{name}-home_etc.patch
 Patch2:		%{name}-pl.po-update.patch
 Patch3:		%{name}-gnutls.patch
+Patch4:		%{name}-lm_sensors.patch
 URL:		http://www.gkrellm.net/
 BuildRequires:	gettext-devel
 BuildRequires:	glib2-devel >= 2.2.0
 %{?with_gnutls:BuildRequires:	gnutls-devel >= 1.2.5}
 BuildRequires:	gtk+2-devel >= 2:2.2.0
+%{?with_lm_sensors:BuildRequires:	lm_sensors-devel}
 %{!?with_gnutls:BuildRequires:	openssl-devel}
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -127,6 +130,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__make} \
@@ -134,7 +138,8 @@
 	OPTFLAGS="%{rpmcflags}" \
 	PKGCONFIGDIR=%{_pkgconfigdir} \
 	INSTALLROOT=%{_prefix} \
-	%{!?with_gnutls:without-gnutls=yes}	
+	%{!?with_gnutls:without-gnutls=yes} \
+	%{!?with_lm_sensors:without-libsensors=yes}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -201,6 +206,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.117  2007/10/25 23:54:26  draenog
+- use libsensors for sensors monitoring
+
 Revision 1.116  2007/10/25 21:11:30  draenog
 - gnutls bcond
 - fix compilation with gnutls
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gkrellm.spec?r1=1.116&r2=1.117&f=u



More information about the pld-cvs-commit mailing list