2022-01-23 12:06:58 +00:00
|
|
|
#global candidate rc2
|
|
|
|
|
|
|
|
Name: libi2cd
|
|
|
|
Version: 1.0.3
|
2024-10-29 15:41:47 +00:00
|
|
|
Release: 8%{?candidate:.%{candidate}}%{?dist}
|
2022-01-23 12:06:58 +00:00
|
|
|
Summary: C library for interacting with linux I2C devices
|
|
|
|
|
2023-09-16 18:44:35 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2022-01-23 12:06:58 +00:00
|
|
|
URL: https://github.com/sstallion/libi2cd/
|
|
|
|
Source0: https://github.com/sstallion/libi2cd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: automake autoconf libtool
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libcmocka-devel
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
%description
|
|
|
|
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}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}}
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -vif
|
|
|
|
%configure --disable-static
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
#Remove libtool archives.
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/i2cd.h
|
|
|
|
%{_libdir}/%{name}*.so
|
|
|
|
%{_libdir}/pkgconfig/libi2cd.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-10-29 15:41:47 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.3-8
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-06-24 15:56:06 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.3-7
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 02:26:39 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 04:19:00 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 11:06:36 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 16:33:15 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 18:02:39 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-23 12:06:58 +00:00
|
|
|
* Fri Jan 21 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.3-1
|
|
|
|
- Update to 1.0.3
|
|
|
|
|
|
|
|
* Tue Sep 21 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0-1
|
|
|
|
- Iniital build
|