Name: i2c-tools Version: 3.1.0 Release: %mkrel 7 Summary: Heterogeneous set of I2C tools for Linux Group: System/Kernel and hardware License: GPL URL: http://www.lm-sensors.org/wiki/I2CTools Source0: http://dl.lm-sensors.org/i2c-tools/releases/%{name}-%{version}.tar.bz2 Requires: udev %description This package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level access helpers, EEPROM decoding scripts, and more. %package eepromer Summary: Programs for reading/writing i2c/smbus eeproms Group: System/Kernel and hardware Requires: %{name} = %{version}-%{release} %description eepromer Programs for reading/writing i2c/smbus eeproms. Notice that writing the eeproms in your system is very dangerous and is likely to render your system unusable. Do not install, let alone use this, unless you really, _really_ know what you are doing. %package -n python-smbus Summary: Python module for SMBus access via I2C Group: System/Kernel and hardware BuildRequires: python-devel BuildRequires: python-setuptools Requires: python %description -n python-smbus This Python module allows SMBus access through the I2C /dev interface on Linux hosts. The host kernel must have I2C support, I2C device interface support, and a bus adapter driver. %prep %setup -q %build %make CFLAGS="%{optflags}" pushd eepromer %make CFLAGS="%{optflags} -I../include" popd pushd py-smbus CFLAGS="%{optflags} -I../include" python setup.py build popd %install %makeinstall %__cp -a eepromer/eeprog eepromer/eeprom eepromer/eepromer %{buildroot}%{_sbindir} pushd py-smbus python setup.py install --root=%{buildroot} --compile --optimize=2 popd %__rm -r %{buildroot}%{_includedir}/linux %files %doc CHANGES COPYING README %attr(660,root,root) %dev(c,89,0) /lib/udev/devices/i2c-0 %attr(660,root,root) %dev(c,89,0) /lib/udev/devices/i2c-1 %attr(660,root,root) %dev(c,89,0) /lib/udev/devices/i2c-2 %attr(660,root,root) %dev(c,89,0) /lib/udev/devices/i2c-3 %exclude %{_sbindir}/eeprog %exclude %{_sbindir}/eeprom %exclude %{_sbindir}/eepromer %attr(0755,root,root) %{_bindir}/ddcmon %attr(0755,root,root) %{_bindir}/decode-dimms %attr(0755,root,root) %{_bindir}/decode-edid %attr(0755,root,root) %{_bindir}/decode-vaio %attr(0755,root,root) %{_sbindir}/i2cdetect %attr(0755,root,root) %{_sbindir}/i2cdump %attr(0755,root,root) %{_sbindir}/i2cget %attr(0755,root,root) %{_sbindir}/i2cset %attr(0755,root,root) %{_sbindir}/i2c-stub-from-dump %{_mandir}/man8/i2cdetect.8* %{_mandir}/man8/i2cdump.8* %{_mandir}/man8/i2cget.8* %{_mandir}/man8/i2cset.8* %{_mandir}/man8/i2c-stub-from-dump.8* %files eepromer %doc eepromer/README eepromer/README.eeprom eepromer/README.eepromer eepromer/README.eeprog %attr(0755,root,root) %{_sbindir}/eeprog %attr(0755,root,root) %{_sbindir}/eeprom %attr(0755,root,root) %{_sbindir}/eepromer %files -n python-smbus %doc py-smbus/README %{py_platsitedir}/smbus* %changelog * Wed Oct 15 2014 umeabot <umeabot> 3.1.0-7.mga5 + Revision: 745198 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv <tv> 3.1.0-6.mga5 + Revision: 726474 - rebuild for missing pythoneggs deps * Tue Sep 16 2014 umeabot <umeabot> 3.1.0-5.mga5 + Revision: 680395 - Mageia 5 Mass Rebuild * Sat May 31 2014 pterjan <pterjan> 3.1.0-4.mga5 + Revision: 628257 - Rebuild for new Python * Tue Oct 22 2013 umeabot <umeabot> 3.1.0-3.mga4 + Revision: 542670 - Mageia 4 Mass Rebuild * Mon Oct 14 2013 pterjan <pterjan> 3.1.0-2.mga4 + Revision: 497805 - Rebuild to add different pythonegg provides for python 2 and 3 * Fri Sep 27 2013 sander85 <sander85> 3.1.0-1.mga4 + Revision: 487881 - New version: 3.1.0 * Sat Jan 12 2013 umeabot <umeabot> 3.0.3-2.mga3 + Revision: 354016 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Apr 06 2011 tv <tv> 3.0.3-1.mga1 + Revision: 81020 - imported package i2c-tools * Wed Mar 16 2011 Stéphane Téletchéa <steletch@mandriva.org> 3.0.3-1mdv2011.0 + Revision: 645236 - update to new version 3.0.3 * Tue Nov 02 2010 Jani Välimaa <wally@mandriva.org> 3.0.2-3mdv2011.0 + Revision: 592187 - rebuild for python 2.7 * Fri Sep 11 2009 Thierry Vignaud <tv@mandriva.org> 3.0.2-2mdv2010.1 + Revision: 437911 - rebuild * Wed Feb 18 2009 Jérôme Soyer <saispo@mandriva.org> 3.0.2-1mdv2009.1 + Revision: 342304 - New upstream release * Fri Jan 02 2009 Funda Wang <fwang@mandriva.org> 3.0.1-6mdv2009.1 + Revision: 323371 - rebuild * Thu Nov 20 2008 Adam Williamson <awilliamson@mandriva.org> 3.0.1-5mdv2009.1 + Revision: 305334 - fix the CFLAGS for the pysmbus build to include -I../include (right fix) - drop pysmbus_include.patch (completely the wrong 'fix') * Sun Nov 09 2008 Adam Williamson <awilliamson@mandriva.org> 3.0.1-4mdv2009.1 + Revision: 301638 - requires python - move kernel-headers BR into the python-smbus section for clarity - python buildrequires - add pysmbus_include.patch: add a necessary include for py-smbus to build - build and package python-smbus too * Fri Aug 29 2008 Olivier Blin <oblin@mandriva.com> 3.0.1-3mdv2009.0 + Revision: 277375 - install udev helpers in /lib/udev (this is the default on x86_64 too now, as per upstream) * Thu Aug 07 2008 Thierry Vignaud <tv@mandriva.org> 3.0.1-2mdv2009.0 + Revision: 267108 - rebuild early 2009.0 package (before pixel changes) * Sun Apr 20 2008 David Walluck <walluck@mandriva.org> 3.0.1-1mdv2009.0 + Revision: 195989 - fix file list - 3.0.1 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Tue Dec 11 2007 David Walluck <walluck@mandriva.org> 3.0.0-1mdv2008.1 + Revision: 117438 - import i2c-tools