2024-01-05 23:47:09 +01:00
|
|
|
Name: i2c-tools
|
2024-01-05 23:47:10 +01:00
|
|
|
Version: 4.2
|
2024-01-05 23:47:10 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:47:09 +01:00
|
|
|
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
|
2024-01-05 23:47:10 +01:00
|
|
|
Source: git://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/v%{version}/i2c-tools-%{version}.tar.bz2
|
|
|
|
#Source: http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-%{version}.tar.bz2
|
2024-01-05 23:47:09 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:47:10 +01:00
|
|
|
Requires: libi2c = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:47:09 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-05 23:47:10 +01:00
|
|
|
%package -n libi2c
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n libi2c
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n libi2c-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: libi2c = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libi2c-devel
|
|
|
|
This package contains development files for %{name}.
|
|
|
|
|
2024-01-05 23:47:09 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 23:47:10 +01:00
|
|
|
%make PREFIX=%{_prefix} libdir=%{_libdir}
|
2024-01-05 23:47:09 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 23:47:10 +01:00
|
|
|
%makeinstall PREFIX=%{_prefix} libdir=%{_libdir}
|
2024-01-05 23:47:09 +01:00
|
|
|
|
|
|
|
rm -f %{buildroot}%{_includedir}/linux/i2c-dev.h
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 23:47:10 +01:00
|
|
|
%post -n libi2c -p /sbin/ldconfig
|
|
|
|
%postun -n libi2c -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 23:47:09 +01:00
|
|
|
%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
|
2024-01-05 23:47:10 +01:00
|
|
|
%{_sbindir}/i2ctransfer
|
2024-01-05 23:47:09 +01:00
|
|
|
%{_mandir}/man1/decode-dimms.1*
|
|
|
|
%{_mandir}/man1/decode-vaio.1*
|
|
|
|
%{_mandir}/man8/i2c*.8*
|
|
|
|
#CHANGES README
|
|
|
|
|
2024-01-05 23:47:10 +01:00
|
|
|
%files -n libi2c
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:47:10 +01:00
|
|
|
%{_libdir}/libi2c.so.*
|
2024-01-05 23:47:10 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n libi2c-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:47:10 +01:00
|
|
|
%dir %{_includedir}/i2c
|
2024-01-05 23:47:10 +01:00
|
|
|
%{_includedir}/i2c/smbus.h
|
2024-01-05 23:47:10 +01:00
|
|
|
%{_libdir}/libi2c.a
|
|
|
|
%{_libdir}/libi2c.so
|
2024-01-05 23:47:10 +01:00
|
|
|
%{_mandir}/man3/libi2c.3*
|
2024-01-05 23:47:10 +01:00
|
|
|
|
2024-01-05 23:47:09 +01:00
|
|
|
%changelog
|
2024-01-05 23:47:10 +01:00
|
|
|
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:10 +01:00
|
|
|
* Sat Jan 12 2019 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:10 +01:00
|
|
|
* Thu Sep 13 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-2mamba
|
|
|
|
- x86_64: fix library path
|
|
|
|
|
2024-01-05 23:47:10 +01:00
|
|
|
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
|
|
|
|
- update to 4.0
|
|
|
|
|
2024-01-05 23:47:10 +01:00
|
|
|
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 23:47:09 +01:00
|
|
|
* 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
|