2007-01-16 00:36:43 +01:00
|
|
|
|
#
|
2007-10-29 10:25:39 +01:00
|
|
|
|
# spec file for package sensors (Version 2.10.5)
|
2007-01-16 00:36:43 +01:00
|
|
|
|
#
|
2007-02-02 15:42:03 +01:00
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:36:43 +01:00
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
|
#
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
Name: sensors
|
2007-10-16 18:36:08 +02:00
|
|
|
|
BuildRequires: bison flex rrdtool-devel sysfsutils
|
|
|
|
|
Url: http://www.lm-sensors.org/
|
2007-10-29 10:25:39 +01:00
|
|
|
|
Version: 2.10.5
|
|
|
|
|
Release: 1
|
2007-01-16 00:36:43 +01:00
|
|
|
|
Summary: Hardware health monitoring for Linux
|
2007-08-03 22:46:50 +02:00
|
|
|
|
License: GPL v2 or later
|
2007-01-16 00:36:43 +01:00
|
|
|
|
Group: System/Monitoring
|
2007-10-16 18:36:08 +02:00
|
|
|
|
Requires: modules
|
|
|
|
|
AutoReqProv: on
|
2007-10-29 10:25:39 +01:00
|
|
|
|
Source0: lm_sensors-2.10.5.tar.bz2
|
2007-01-16 00:36:43 +01:00
|
|
|
|
Source1: README.SuSE
|
2007-10-29 10:25:39 +01:00
|
|
|
|
Patch: lm_sensors-2.10.5.dif
|
2007-10-16 18:36:08 +02:00
|
|
|
|
Patch1: lm_sensors-drop-i2c-tools.dif
|
2007-01-16 00:36:43 +01:00
|
|
|
|
Patch2: lm_sensors-2.7.0-kernelheaders.dif
|
2007-08-15 20:36:45 +02:00
|
|
|
|
Patch4: lm_sensors-2.10.4-sysconfig_metadata.patch
|
2007-01-16 00:36:43 +01:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-06-05 01:12:42 +02:00
|
|
|
|
ExcludeArch: s390 s390x
|
2007-01-16 00:36:43 +01:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package includes programs that show data from some sensor chips.
|
|
|
|
|
The interface /proc/bus/i2c/ is provided by loading kernel modules.
|
|
|
|
|
Which modules to load can be interactively detected as root by calling
|
|
|
|
|
/usr/sbin/sensors-detect. Warning, before using the sensors the default
|
|
|
|
|
configuration in /etc/sensors.conf has to be checked and changed to fit
|
|
|
|
|
the actual set up of the mainboard and the BIOS used on that specific
|
|
|
|
|
mainboard!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Simon G. Vogl <simon@tk.uni-linz.ac.at>
|
|
|
|
|
Mark D. Studebaker <mds@eng.paradyne.com>
|
|
|
|
|
Philip Edelbrock <phil@netroedge.com>
|
|
|
|
|
Ky<EFBFBD>sti M<EFBFBD>lkki <kmalkki@cc.hut.fi>
|
|
|
|
|
Fons Rademakers <Fons.Rademakers@cern.ch>
|
|
|
|
|
Frodo Looijaard <frodol@dds.nl>
|
|
|
|
|
Geert Uytterhoeven <geert@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
%prep
|
2007-08-15 20:36:45 +02:00
|
|
|
|
%setup -q -n lm_sensors-%{version}
|
2007-01-16 00:36:43 +01:00
|
|
|
|
%patch
|
2007-05-09 15:16:06 +02:00
|
|
|
|
%patch1
|
2007-01-16 00:36:43 +01:00
|
|
|
|
%patch2
|
2007-08-15 20:36:45 +02:00
|
|
|
|
%patch4
|
2007-01-16 00:36:43 +01:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
make PROG_EXTRA:=sensord LIBDIR=%{_libdir} user
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make user_install PROG_EXTRA:=sensord LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
cd doc/
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors
|
|
|
|
|
cp -a FAQ $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
cp -a donations $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
cp -a fan-divisors $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
cp -a fancontrol.txt $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
cp -a temperature-sensors $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
cp -a vid $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
cp -a progs $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
cd ../
|
|
|
|
|
cp ${RPM_SOURCE_DIR}/README.SuSE $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors/prog/init
|
|
|
|
|
install -m 0755 prog/init/lm_sensors.init.suse $RPM_BUILD_ROOT/%{_docdir}/sensors/prog/init/
|
|
|
|
|
install -m 0755 prog/init/sensord.init $RPM_BUILD_ROOT/%{_docdir}/sensors/prog/init/
|
|
|
|
|
install -m 0644 prog/init/README $RPM_BUILD_ROOT/%{_docdir}/sensors/prog/init/
|
|
|
|
|
chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libsensors.so.*
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
|
|
|
|
install -m 0755 prog/init/lm_sensors.init.suse $RPM_BUILD_ROOT/etc/init.d/lm_sensors
|
|
|
|
|
# cleanup
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/src/linux/include/sensors.h
|
|
|
|
|
|
2007-09-03 18:42:30 +02:00
|
|
|
|
%post
|
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
2007-01-16 00:36:43 +01:00
|
|
|
|
%postun
|
|
|
|
|
%{insserv_cleanup}
|
2007-09-03 18:42:30 +02:00
|
|
|
|
%run_ldconfig
|
2007-01-16 00:36:43 +01:00
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%config(noreplace) /etc/sensors.conf
|
2007-05-28 15:04:57 +02:00
|
|
|
|
/etc/init.d/lm_sensors
|
2007-01-16 00:36:43 +01:00
|
|
|
|
/usr/bin/*
|
|
|
|
|
/usr/sbin/*
|
|
|
|
|
%doc %{_docdir}/sensors/
|
|
|
|
|
/usr/include/sensors/
|
|
|
|
|
%{_libdir}/libsensors.a
|
|
|
|
|
%{_libdir}/libsensors.so*
|
|
|
|
|
%doc /usr/share/man/man1/*.1.gz
|
|
|
|
|
%doc /usr/share/man/man3/*.3.gz
|
|
|
|
|
%doc /usr/share/man/man5/*.5.gz
|
|
|
|
|
%doc /usr/share/man/man8/*.8.gz
|
2007-02-25 23:38:40 +01:00
|
|
|
|
%changelog
|
2007-10-29 10:25:39 +01:00
|
|
|
|
* Sun Oct 28 2007 - jdelvare@suse.de
|
|
|
|
|
- Update to lm_sensors version 2.10.5
|
|
|
|
|
* Support for the SMSC SCH3112, SCH3114, SCH3116
|
|
|
|
|
* libsensors fixes for the thmc50, bmcsensors, lm93, adm1026
|
|
|
|
|
drivers
|
|
|
|
|
* sensord support for the w83793 and lm87 drivers
|
|
|
|
|
* sensors fixes for the dme1737, thmc50 and adm1021 drivers
|
|
|
|
|
* Detect new Winbond chips
|
|
|
|
|
- useful_addresses.html is no longer part of the package.
|
|
|
|
|
- lm_sensors-dont-probe-i2c-isa.dif: Drop, bug fixed upstream.
|
2007-10-16 18:36:08 +02:00
|
|
|
|
* Mon Oct 15 2007 - jdelvare@suse.de
|
|
|
|
|
- Do not include i2c tools, they have their own package now.
|
2007-09-03 18:42:30 +02:00
|
|
|
|
* Mon Sep 03 2007 - jdelvare@suse.de
|
|
|
|
|
- Run ldconfig in %%post and %%postun. rpmlint was complaining
|
|
|
|
|
that this was missing.
|
2007-08-29 22:43:19 +02:00
|
|
|
|
* Tue Aug 28 2007 - werner@suse.de
|
|
|
|
|
- Remove hard coded modules introduced by last change
|
2007-08-15 20:36:45 +02:00
|
|
|
|
* Tue Aug 14 2007 - hvogel@suse.de
|
|
|
|
|
- Add sysconfig metadata [#300069]
|
|
|
|
|
* Mon Aug 13 2007 - jdelvare@suse.de
|
|
|
|
|
- Don't probe i2c-isa as a regular i2c bus. This regression was
|
|
|
|
|
introduced in lm_sensors 2.10.4. Fixed upstream in:
|
|
|
|
|
http://www.lm-sensors.org/changeset/4649
|
2007-08-03 22:46:50 +02:00
|
|
|
|
* Wed Aug 01 2007 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors version 2.10.4
|
|
|
|
|
* added support for recent devices and cips like
|
|
|
|
|
dme1737, applesmc, abituguru3, f71882fg, w83627ehf (kernel 2.4)
|
|
|
|
|
support for the w83627ehf VID function
|
|
|
|
|
support for the w83627ehf thermal sensor types
|
|
|
|
|
support for it87 fan4 and fan5
|
|
|
|
|
* support block reads with specified length of I2C devices
|
|
|
|
|
* A lot of fixes and enhancements
|
|
|
|
|
* Add both patches form us for fancontrol and pwmconfig
|
2007-06-28 19:42:49 +02:00
|
|
|
|
* Wed Jun 27 2007 - jdelvare@suse.de
|
|
|
|
|
- Don't package the decode-edid.pl script. It requires parse-edid
|
|
|
|
|
from the read-edid package, which isn't included in Suse.
|
2007-06-22 00:13:46 +02:00
|
|
|
|
* Thu Jun 21 2007 - dmueller@suse.de
|
|
|
|
|
- adjust buildrequires
|
2007-06-05 01:12:42 +02:00
|
|
|
|
* Mon Jun 04 2007 - jdelvare@suse.de
|
|
|
|
|
- Don't build on s390 nor s390x.
|
2007-05-28 15:04:57 +02:00
|
|
|
|
* Mon May 28 2007 - jdelvare@suse.de
|
|
|
|
|
- Fix two rpmlint errors: /etc/init.d/lm_sensors shouldn't be
|
|
|
|
|
marked as a config file, and was missing a Short-Description
|
|
|
|
|
tag.
|
2007-05-09 15:16:06 +02:00
|
|
|
|
* Wed May 09 2007 - jdelvare@suse.de
|
|
|
|
|
- lm_sensors-no-xeon-script.patch: The decode-xeon.pl script is
|
|
|
|
|
outdated. It was never ported to work with 2.6 kernels, so it is
|
|
|
|
|
of no use on recent Suse distributions. Stop shipping it.
|
|
|
|
|
- Drop a legacy patch to sensors/main.c related to the
|
|
|
|
|
configuration file name, which is no longer needed.
|
2007-05-06 17:18:15 +02:00
|
|
|
|
* Fri May 04 2007 - jdelvare@suse.de
|
|
|
|
|
- Don't package outdated driver documentation. The up-to-date
|
|
|
|
|
driver documentation is in the kernel-source package.
|
|
|
|
|
(bug #271302)
|
|
|
|
|
- Two minor cleanups to the spec file.
|
2007-04-12 18:19:02 +02:00
|
|
|
|
* Thu Apr 12 2007 - jdelvare@suse.de
|
|
|
|
|
- lm_sensors-2.8.3-nodump.patch: Removed, should no longer be
|
|
|
|
|
needed. Since lm_sensors 2.8.6, isadump is only compiled on i386
|
|
|
|
|
and x86_64.
|
|
|
|
|
- Likewise, no need to patch prog/dump/isadump.c for powerpc,
|
|
|
|
|
as it won't be compiled for these architectures anyway.
|
2007-04-06 00:30:23 +02:00
|
|
|
|
* Thu Apr 05 2007 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors version 2.10.3 which added support for
|
|
|
|
|
recent devices and support for kernel 2.6.22.
|
2007-03-29 22:37:13 +02:00
|
|
|
|
* Thu Mar 29 2007 - ro@suse.de
|
|
|
|
|
- added bison,flex to buildreq
|
2007-02-25 23:38:40 +01:00
|
|
|
|
* Mon Feb 19 2007 - werner@suse.de
|
|
|
|
|
- Make README.SuSE encoding independend (bug #246130)
|
2007-02-02 15:42:03 +01:00
|
|
|
|
* Tue Jan 30 2007 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors version 2.10.2 which added support for
|
|
|
|
|
recent devices.
|
2007-01-16 00:36:43 +01:00
|
|
|
|
* Mon Nov 13 2006 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors version 2.10.1 which also includes the
|
|
|
|
|
fix for bug #192092 by not overwriting chip settings
|
|
|
|
|
- Remove notify warn message from pdb about overwriting settings
|
|
|
|
|
* Mon Jun 26 2006 - werner@suse.de
|
|
|
|
|
- Load i2c-dev kernel module instead of i2c-sensor (bug #188126)
|
|
|
|
|
* Tue Feb 28 2006 - werner@suse.de
|
|
|
|
|
- Update to version 2.10.0 for better udev support (bug #151931)
|
|
|
|
|
- Add i2c-0 to static device list for udev (bug #151931)
|
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
|
* Wed Jan 11 2006 - werner@suse.de
|
|
|
|
|
- Include fan control in lm_sensors service script (bug #141958)
|
|
|
|
|
* Tue Dec 13 2005 - werner@suse.de
|
|
|
|
|
- Do not to handle module variables from package Modules (#137963)
|
|
|
|
|
* Thu Nov 10 2005 - werner@suse.de
|
|
|
|
|
- Add postun section to run insserv_clean (bug #132934)
|
|
|
|
|
* Fri Oct 14 2005 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors version 2.9.2
|
|
|
|
|
* Thu Aug 25 2005 - werner@suse.de
|
|
|
|
|
- Security fix in pwmconfig (bug #112925)
|
|
|
|
|
* Wed May 11 2005 - schwab@suse.de
|
|
|
|
|
- Add freetype2 and libart_lgpl to nfb, needed by rrdtool.
|
|
|
|
|
* Mon May 09 2005 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors-2.9.1
|
|
|
|
|
- Use insserv to enable rc script (bug #76174)
|
|
|
|
|
* Thu Feb 17 2005 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors-2.9.0 (bug #50681)
|
|
|
|
|
* Mon Aug 30 2004 - werner@suse.de
|
|
|
|
|
- Update to newest lm_sensors-2.8.7 to be compatible to the current
|
|
|
|
|
kernel version.
|
|
|
|
|
* Tue May 04 2004 - werner@suse.de
|
|
|
|
|
- Fix bug #35502 (missing w83627hf entries) by updating to
|
|
|
|
|
lm_sensors-2.8.6 which includes a better parser for sysfs
|
|
|
|
|
* Tue Apr 13 2004 - ro@suse.de
|
|
|
|
|
- remove kernel-source from neededforbuild
|
|
|
|
|
(not needed any longer)
|
|
|
|
|
* Wed Mar 10 2004 - werner@suse.de
|
|
|
|
|
- Add workaround for missing w83627hf chip driver (bug #35501)
|
|
|
|
|
* Tue Mar 09 2004 - werner@suse.de
|
|
|
|
|
- A few changes for kernel 2.6 (bug #35500)
|
|
|
|
|
* Fri Mar 05 2004 - pth@suse.de
|
|
|
|
|
- Remove no-strict-aliasing and fix the code instead. Patch
|
|
|
|
|
was also sent to upstream maintainers for inclusion.
|
|
|
|
|
* Fri Mar 05 2004 - ro@suse.de
|
|
|
|
|
- added libpng to neededforbuild (for rrdtool)
|
|
|
|
|
- use no-strict-aliasing
|
|
|
|
|
* Wed Jan 28 2004 - ro@suse.de
|
|
|
|
|
- update to 2.8.3
|
|
|
|
|
- use buildroot and build as user
|
|
|
|
|
* Fri Sep 12 2003 - ro@suse.de
|
|
|
|
|
- configure kernel-source if needed
|
|
|
|
|
* Mon Jul 21 2003 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors 2.8.0
|
|
|
|
|
* Thu Jun 05 2003 - ro@suse.de
|
|
|
|
|
- compile using headers from kernel-source not glibc
|
|
|
|
|
* Wed Mar 19 2003 - olh@suse.de
|
|
|
|
|
- add lm_sensors-2.7.0-nodump.patch to fix dependency tree
|
|
|
|
|
* Thu Feb 27 2003 - werner@suse.de
|
|
|
|
|
- Fix location of sensors program in boot script
|
|
|
|
|
* Tue Feb 11 2003 - werner@suse.de
|
|
|
|
|
- Update due to kernel interface update (anything else is a bug)
|
|
|
|
|
* Mon Dec 02 2002 - werner@suse.de
|
|
|
|
|
- Update to lm_sensors 2.4.6
|
|
|
|
|
* Wed Nov 06 2002 - werner@suse.de
|
|
|
|
|
- Fix bug # 21583: sensors shouldn't segfault on missing argument.
|
|
|
|
|
* Wed Sep 04 2002 - werner@suse.de
|
|
|
|
|
- Fix boot scripts to be usable (bug #18868)
|
|
|
|
|
- Install some progs which are described in FAQ
|
|
|
|
|
* Wed Aug 28 2002 - fehr@suse.de
|
|
|
|
|
- updated to current version 2.6.4 of lm_sensors
|
|
|
|
|
* Thu Aug 01 2002 - werner@suse.de
|
|
|
|
|
- Use _libdir macro for 64bit architectures
|
|
|
|
|
* Wed Jul 31 2002 - werner@suse.de
|
|
|
|
|
- Install sensord daemon for logging (bug #17316)
|
|
|
|
|
* Tue Jun 18 2002 - ke@suse.de
|
|
|
|
|
- Fix typo in README.SuSE [# 14790].
|
|
|
|
|
* Mon Aug 06 2001 - uli@suse.de
|
|
|
|
|
- fixed to build on PPC
|
|
|
|
|
* Wed Jul 04 2001 - werner@suse.de
|
|
|
|
|
- update to 2.6.0
|
|
|
|
|
* Mon Apr 16 2001 - werner@suse.de
|
|
|
|
|
- update to 2.5.5
|
|
|
|
|
* Thu Apr 05 2001 - uli@suse.de
|
|
|
|
|
- removed lx_suse from neededforbuild
|
|
|
|
|
* Thu Dec 14 2000 - werner@suse.de
|
|
|
|
|
- Group tag
|
|
|
|
|
* Mon Jun 19 2000 - ro@suse.de
|
|
|
|
|
- update to 2.5.0
|
|
|
|
|
* Wed Jun 07 2000 - uli@suse.de
|
|
|
|
|
- moved docs to %%{_docdir}
|
|
|
|
|
* Fri Feb 11 2000 - ro@suse.de
|
|
|
|
|
- removed requires kernmod (package eliminated)
|
|
|
|
|
* Wed Feb 02 2000 - werner@suse.de
|
|
|
|
|
- No asm/io.h if sys/io.h is included
|
|
|
|
|
* Wed Feb 02 2000 - werner@suse.de
|
|
|
|
|
- No sys/perm.h or sys/io.h on ppc and sparc
|
|
|
|
|
* Tue Feb 01 2000 - werner@suse.de
|
|
|
|
|
- New package sensors (version 2.4.3 corresponds with
|
|
|
|
|
current used kernel i2c patch)
|
|
|
|
|
- Prefix is /usr, mandir is /usr/share/man, and kernel
|
|
|
|
|
includes i2c
|
|
|
|
|
- Be reentrant
|
|
|
|
|
- Use RPM_OPT_FLAGS
|
|
|
|
|
- Install docs of busses, chips and the FAQ
|