SPECS: lm_sensors.spec - -libs split

glen glen at pld-linux.org
Tue Nov 1 22:18:30 CET 2005


Author: glen                         Date: Tue Nov  1 21:18:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -libs split

---- Files affected:
SPECS:
   lm_sensors.spec (1.143 -> 1.144) 

---- Diffs:

================================================================
Index: SPECS/lm_sensors.spec
diff -u SPECS/lm_sensors.spec:1.143 SPECS/lm_sensors.spec:1.144
--- SPECS/lm_sensors.spec:1.143	Fri Oct 14 21:42:08 2005
+++ SPECS/lm_sensors.spec	Tue Nov  1 22:18:24 2005
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# TODO
+# - unpackaged:
+#   /usr/sbin/fancontrol.pl
 #
 # Conditional build:
 %bcond_without	dist_kernel	# without kernel for distributions
@@ -18,7 +21,7 @@
 Summary(uk):	őÔÉĚŚÔÉ ÄĚŃ ÍĎÎŚÔĎŇÉÎÇŐ ÁĐÁŇÁÔŐŇÉ
 Name:		lm_sensors
 Version:	2.9.2
-%define _rel	2
+%define _rel	2.1
 Release:	%{_rel}
 License:	GPL
 Group:		Applications/System
@@ -75,6 +78,13 @@
 SMBus ÔÁ ÍĎÎŚÔĎŇÉÎÇŐ. ő÷áçá: ÄĚŃ ĂŘĎÇĎ ĐĎÔŇŚÂÎÁ ÓĐĹĂŚÁĚŘÎÁ ĐŚÄÔŇÉÍËÁ,
 ŃËÁ ׌ÄÓŐÔÎŃ Ő ÓÔÁÎÄÁŇÔÎÉČ ÓÔÁŇÉČ ŃÄŇÁČ 2.2.XX!
 
+%package libs
+Summary:	lm_sensors library
+Group:		Libraries
+
+%description libs
+lm_sensors library.
+
 %package sensord
 Summary:	Sensord daemon
 Summary(pl):	Demon sensord
@@ -96,7 +106,7 @@
 Summary(ru):	ćÁĘĚŮ ŇÁÚŇÁÂĎÔŢÉËÁ ÄĚŃ ĐŇĎÇŇÁÍÍ, ÉÓĐĎĚŘÚŐŔÝÉČ lm_sensors
 Summary(uk):	ćÁĘĚÉ ĐŇĎÇŇÁÍŚÓÔÁ ÄĚŃ ĐŇĎÇŇÁÍ, ŃËŚ ×ÉËĎŇÉÓÔĎ×ŐŔÔŘ lm_sensors
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 Obsoletes:	liblm_sensors1-devel
 
 %description devel
@@ -290,8 +300,8 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %post sensord
 /sbin/chkconfig --add sensors
@@ -343,7 +353,6 @@
 %{_mandir}/man8/isaset.8*
 %endif
 %attr(755,root,root) %{_sbindir}/pwmconfig
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sensors.conf
 %{_mandir}/man1/sensors.1*
 %{_mandir}/man5/sensors.conf.5*
@@ -352,6 +361,10 @@
 %{_mandir}/man8/pwmconfig.8*
 %{_mandir}/man8/sensors-detect.8*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
 %files sensord
 %defattr(644,root,root,755)
 %attr(754,root,root) %{_sbindir}/sensord
@@ -396,6 +409,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.144  2005/11/01 21:18:24  glen
+- -libs split
+
 Revision 1.143  2005/10/14 19:42:08  arekm
 - rebuild with new rrdtool
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lm_sensors.spec?r1=1.143&r2=1.144&f=u




More information about the pld-cvs-commit mailing list