update to 4.0 [release 4.0-1mamba;Sun Jul 29 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 23:47:10 +01:00
parent 1986b40067
commit 04d8dc35e8

View File

@ -1,5 +1,5 @@
Name: i2c-tools Name: i2c-tools
Version: 3.1.2 Version: 4.0
Release: 1mamba Release: 1mamba
Summary: A heterogeneous set of I2C tools for Linux Summary: A heterogeneous set of I2C tools for Linux
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
@ -7,17 +7,34 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.lm-sensors.org/wiki/I2CTools URL: http://www.lm-sensors.org/wiki/I2CTools
Source: http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-%{version}.tar.bz2 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
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: libi2c = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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.
%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}.
%prep %prep
%setup -q %setup -q
@ -33,6 +50,9 @@ rm -f %{buildroot}%{_includedir}/linux/i2c-dev.h
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libi2c -p /sbin/ldconfig
%postun -n libi2c -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/ddcmon %{_bindir}/ddcmon
@ -44,13 +64,27 @@ rm -f %{buildroot}%{_includedir}/linux/i2c-dev.h
%{_sbindir}/i2cdump %{_sbindir}/i2cdump
%{_sbindir}/i2cget %{_sbindir}/i2cget
%{_sbindir}/i2cset %{_sbindir}/i2cset
%{_sbindir}/i2ctransfer
%{_mandir}/man1/decode-dimms.1* %{_mandir}/man1/decode-dimms.1*
%{_mandir}/man1/decode-vaio.1* %{_mandir}/man1/decode-vaio.1*
%{_mandir}/man8/i2c*.8* %{_mandir}/man8/i2c*.8*
%doc COPYING
#CHANGES README #CHANGES README
%files -n libi2c
%defattr(-,root,root)
%{_prefix}/lib/libi2c.so.*
%doc COPYING
%files -n libi2c-devel
%defattr(-,root,root)
%{_includedir}/i2c/smbus.h
%{_prefix}/lib/libi2c.a
%{_prefix}/lib/libi2c.so
%changelog %changelog
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
- update to 4.0
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba * Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- automatic update by autodist - automatic update by autodist