import libi2cd-1.0.3-1.el9

This commit is contained in:
CentOS Sources 2022-09-27 07:42:30 -04:00 committed by Stepan Oksanichenko
commit 46ed2001c9
3 changed files with 64 additions and 0 deletions

.gitignore vendored Normal file
View File

@ -0,0 +1 @@

.libi2cd.metadata Normal file
View File

@ -0,0 +1 @@
d06a803e11187acd3b6a4a529147574c057b0317 SOURCES/libi2cd-1.0.3.tar.gz

SPECS/libi2cd.spec Normal file
View File

@ -0,0 +1,62 @@
#global candidate rc2
Name: libi2cd
Version: 1.0.3
Release: 1%{?candidate:.%{candidate}}%{?dist}
Summary: C library for interacting with linux I2C devices
License: LGPLv2+
BuildRequires: automake autoconf libtool
BuildRequires: gcc
BuildRequires: libcmocka-devel
BuildRequires: make
libi2cd provides a simple and straightforward API for accessing I2C devices from
userspace. It relies on the i2c-dev Linux kernel module and is intended to
complement existing tools and libraries, such as those provided by i2c-tools.
It provides both high- and low-level access to the underlying ioctl requests.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Files for development with %{name}.
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}}
autoreconf -vif
%configure --disable-static
#Remove libtool archives.
find %{buildroot} -name '*.la' -delete
%license COPYING
%files devel
* Fri Jan 21 2022 Peter Robinson <> - 1.0.3-1
- Update to 1.0.3
* Tue Sep 21 2021 Peter Robinson <> - 1.0-1
- Iniital build