From 66f212ae4469ac939b6fdf85180f2cbe973ca72c Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:47:09 +0100 Subject: [PATCH] automatic update by autodist [release 3.1.1-1mamba;Sat Feb 22 2014] --- README.md | 2 ++ i2c-tools.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 i2c-tools.spec diff --git a/README.md b/README.md index 1cd4fb1..f74b938 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # i2c-tools +The i2c-tools package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access. + diff --git a/i2c-tools.spec b/i2c-tools.spec new file mode 100644 index 0000000..2abeb9b --- /dev/null +++ b/i2c-tools.spec @@ -0,0 +1,61 @@ +Name: i2c-tools +Version: 3.1.1 +Release: 1mamba +Summary: A heterogeneous set of I2C tools for Linux +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.lm-sensors.org/wiki/I2CTools +Source: http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The i2c-tools package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access. + +%prep +%setup -q + +%build +%make prefix=%{_prefix} + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall prefix=%{_prefix} + +rm -f %{buildroot}%{_includedir}/linux/i2c-dev.h + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/ddcmon +%{_bindir}/decode-dimms +%{_bindir}/decode-edid +%{_bindir}/decode-vaio +%{_sbindir}/i2c-stub-from-dump +%{_sbindir}/i2cdetect +%{_sbindir}/i2cdump +%{_sbindir}/i2cget +%{_sbindir}/i2cset +%{_mandir}/man1/decode-dimms.1* +%{_mandir}/man1/decode-vaio.1* +%{_mandir}/man8/i2c*.8* +%doc COPYING +#CHANGES README + +%changelog +* Sat Feb 22 2014 Automatic Build System 3.1.1-1mamba +- automatic update by autodist + +* Wed Aug 08 2012 Automatic Build System 3.1.0-1mamba +- automatic version update by autodist + +* Mon Nov 21 2011 Silvan Calarco 3.0.3-1mamba +- package created by autospec