]> git.pld-linux.org Git - packages/lm_sensors.git/blobdiff - lm_sensors.spec
- Release 2. Added /etc/sensors.d as better place for storing board system specic...
[packages/lm_sensors.git] / lm_sensors.spec
index 06d43b623b5c7ea4573272fe527d8b0d06f012c5..6e92e8d3643150e44cfeec195eca357ffc79a771 100644 (file)
@@ -1,5 +1,4 @@
 # TODO
-# - package eeprom* etc. tools (from lm_sensors 2.x or i2c-tools, if included there?)
 # - a big trigger warning how to use fancontrol and to init it first
 #
 %define                cmodule         /etc/sysconfig/sensors_modules
@@ -14,12 +13,12 @@ Summary(pt_BR.UTF-8):       Ferramentas para monitoração do hardware
 Summary(ru.UTF-8):     Утилиты для мониторинга аппаратуры
 Summary(uk.UTF-8):     Утиліти для моніторингу апаратури
 Name:          lm_sensors
-Version:       3.0.1
-Release:       1
+Version:       3.1.2
+Release:       2
 License:       GPL v2+
 Group:         Applications/System
 Source0:       http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: dace0c6bb031bd097a46a336de60587c
+# Source0-md5: 58a9a225808ac4587c4c8cbd12b40b5c
 Source1:       sensors.init
 Source2:       sensors.sysconfig
 Source3:       fancontrol.init
@@ -34,16 +33,13 @@ Patch3:             %{name}-make.patch
 URL:           http://www.lm-sensors.org/
 BuildRequires: bison
 BuildRequires: flex >= 2.5.1
-BuildRequires: perl-modules >= 5.6
 BuildRequires: rpm-perlprov >= 3.0.3-16
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: rrdtool-devel >= 1.2.10
-BuildRequires: sysfsutils-devel
+Requires:      %{name}-config
 Requires:      %{name}-libs = %{version}-%{release}
-Requires:      uname(release) >= 2.6.5
 Requires:      dev >= 2.9.0-13
-Requires:      dmidecode
-Requires:      %{name}-config
+Requires:      uname(release) >= 2.6.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -225,6 +221,7 @@ install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/fancontrol
 install %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}
 install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/sensors_modules
 install %{SOURCE7} $RPM_BUILD_ROOT/etc/sysconfig/sensors_modules
+install -d $RPM_BUILD_ROOT/%{_sysconfdir}/sensors.d 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -314,8 +311,8 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README doc/chips
-%doc doc/{FAQ,donations,fan-divisors,progs,temperature-sensors,*html,vid}
-%doc prog/{daemon,maxilife}
+%doc doc/{donations,fan-divisors,progs,temperature-sensors,vid}
+%doc prog/daemon
 %attr(755,root,root) %{_bindir}/sensors-conf-convert
 %attr(755,root,root) %{_bindir}/sensors
 %attr(755,root,root) %{_bindir}/sensors.sh
@@ -328,21 +325,23 @@ fi
 %endif
 %{_mandir}/man1/sensors.1*
 %{_mandir}/man5/sensors.conf.5*
+%{_mandir}/man8/sensors-detect.8*
 %attr(754,root,root) /etc/rc.d/init.d/sensors_modules
 
 %files config-default
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sensors3.conf
+%dir %{_sysconfdir}/sensors.d
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sensors_modules
 
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libsensors.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsensors.so.[0-9]
+%attr(755,root,root) %ghost %{_libdir}/libsensors.so.4
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/developers
+%doc doc/developers doc/libsensors-API.txt
 %attr(755,root,root) %{_libdir}/libsensors.so
 %{_includedir}/sensors
 %{_mandir}/man3/libsensors.3*
@@ -356,7 +355,6 @@ fi
 %attr(754,root,root) %{_sbindir}/sensord
 %attr(754,root,root) /etc/rc.d/init.d/sensors
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sensors
-%{_mandir}/man8/sensors-detect.8*
 %{_mandir}/man8/sensord.8*
 
 %files fancontrol
This page took 0.067705 seconds and 4 git commands to generate.