62 lines
1.7 KiB
RPMSpec
62 lines
1.7 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <autodist@mambasoft.it> 3.1.1-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Nov 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-1mamba
|
||
|
- package created by autospec
|