|
|
c6acbb |
#global candidate rc2
|
|
|
c6acbb |
|
|
|
c6acbb |
Name: libgpiod
|
|
|
c6acbb |
Version: 1.6.3
|
|
|
c6acbb |
Release: 1%{?candidate:.%{candidate}}%{?dist}
|
|
|
c6acbb |
Summary: C library and tools for interacting with linux GPIO char device
|
|
|
c6acbb |
|
|
|
c6acbb |
License: LGPLv2+
|
|
|
c6acbb |
URL: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
|
|
|
c6acbb |
Source0: https://mirrors.edge.kernel.org/pub/software/libs/%{name}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.xz
|
|
|
c6acbb |
|
|
|
c6acbb |
BuildRequires: automake autoconf autoconf-archive libtool
|
|
|
c6acbb |
BuildRequires: doxygen
|
|
|
c6acbb |
BuildRequires: gcc gcc-c++
|
|
|
c6acbb |
BuildRequires: kernel-headers
|
|
|
c6acbb |
BuildRequires: kmod-devel
|
|
|
c6acbb |
BuildRequires: libstdc++-devel
|
|
|
c6acbb |
BuildRequires: python3-devel
|
|
|
c6acbb |
BuildRequires: python3-setuptools
|
|
|
c6acbb |
BuildRequires: systemd-devel
|
|
|
c6acbb |
BuildRequires: make
|
|
|
c6acbb |
|
|
|
c6acbb |
%description
|
|
|
c6acbb |
libgpiod is a C library and tools for interacting with the linux GPIO character
|
|
|
c6acbb |
device (gpiod stands for GPIO device) The new character device interface
|
|
|
c6acbb |
guarantees all allocated resources are freed after closing the device file
|
|
|
c6acbb |
descriptor and adds several new features that are not present in the obsolete
|
|
|
c6acbb |
sysfs interface (like event polling, setting/reading multiple values at once or
|
|
|
c6acbb |
open-source and open-drain GPIOs).
|
|
|
c6acbb |
|
|
|
c6acbb |
%package utils
|
|
|
c6acbb |
Summary: Utilities for GPIO
|
|
|
c6acbb |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c6acbb |
|
|
|
c6acbb |
%description utils
|
|
|
c6acbb |
Utilities for interacting with GPIO character devices.
|
|
|
c6acbb |
|
|
|
c6acbb |
%package c++
|
|
|
c6acbb |
Summary: C++ bindings for %{name}
|
|
|
c6acbb |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c6acbb |
|
|
|
c6acbb |
%description c++
|
|
|
c6acbb |
C++ bindings for use with %{name}.
|
|
|
c6acbb |
|
|
|
c6acbb |
%package -n python3-%{name}
|
|
|
c6acbb |
Summary: Python 3 bindings for %{name}
|
|
|
c6acbb |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c6acbb |
%{?python_provide:%python_provide python3-%{name}}
|
|
|
c6acbb |
|
|
|
c6acbb |
%description -n python3-%{name}
|
|
|
c6acbb |
Python 3 bindings for development with %{name}.
|
|
|
c6acbb |
|
|
|
c6acbb |
%package devel
|
|
|
c6acbb |
Summary: Development package for %{name}
|
|
|
c6acbb |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c6acbb |
|
|
|
c6acbb |
%description devel
|
|
|
c6acbb |
Files for development with %{name}.
|
|
|
c6acbb |
|
|
|
c6acbb |
%prep
|
|
|
c6acbb |
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}}
|
|
|
c6acbb |
|
|
|
c6acbb |
%build
|
|
|
c6acbb |
autoreconf -vif
|
|
|
c6acbb |
%configure --enable-tools=yes --disable-static \
|
|
|
c6acbb |
--enable-bindings-cxx --enable-bindings-python
|
|
|
c6acbb |
|
|
|
c6acbb |
%make_build
|
|
|
c6acbb |
|
|
|
c6acbb |
%install
|
|
|
c6acbb |
%make_install
|
|
|
c6acbb |
|
|
|
c6acbb |
#Remove libtool archives.
|
|
|
c6acbb |
find %{buildroot} -name '*.la' -delete
|
|
|
c6acbb |
|
|
|
c6acbb |
|
|
|
c6acbb |
%ldconfig_scriptlets
|
|
|
c6acbb |
|
|
|
c6acbb |
%files
|
|
|
c6acbb |
%license COPYING
|
|
|
c6acbb |
%doc README
|
|
|
c6acbb |
%{_libdir}/%{name}.so.*
|
|
|
c6acbb |
|
|
|
c6acbb |
%files utils
|
|
|
c6acbb |
%{_bindir}/gpio*
|
|
|
c6acbb |
|
|
|
c6acbb |
%files c++
|
|
|
c6acbb |
%{_libdir}/libgpiodcxx.so.*
|
|
|
c6acbb |
|
|
|
c6acbb |
%files -n python3-%{name}
|
|
|
c6acbb |
%{python3_sitearch}/gpiod.so
|
|
|
c6acbb |
|
|
|
c6acbb |
%files devel
|
|
|
c6acbb |
%{_includedir}/gpiod.*
|
|
|
c6acbb |
%{_libdir}/pkgconfig/libgpiod*.pc
|
|
|
c6acbb |
%{_libdir}/%{name}*.so
|
|
|
c6acbb |
|
|
|
c6acbb |
%changelog
|
|
|
c6acbb |
* Mon Mar 22 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.3-1
|
|
|
c6acbb |
- Update to 1.6.3
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
|
|
|
c6acbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Dec 1 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.2-1
|
|
|
c6acbb |
- Update to 1.6.2
|
|
|
c6acbb |
|
|
|
c6acbb |
* Mon Nov 2 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.1-1
|
|
|
c6acbb |
- Update to 1.6.1
|
|
|
c6acbb |
|
|
|
c6acbb |
* Thu Oct 01 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6-1
|
|
|
c6acbb |
- Update to 1.6
|
|
|
c6acbb |
|
|
|
c6acbb |
* Sat Sep 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.5.3-1
|
|
|
c6acbb |
- Update to 1.5.3
|
|
|
c6acbb |
|
|
|
c6acbb |
* Wed Aug 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.5.2-1
|
|
|
c6acbb |
- Update to 1.5.2
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
|
|
c6acbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-2
|
|
|
c6acbb |
- Rebuilt for Python 3.9
|
|
|
c6acbb |
|
|
|
c6acbb |
* Wed Apr 01 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.5.1-1
|
|
|
c6acbb |
- Update to 1.5.1
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Jan 28 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-1
|
|
|
c6acbb |
- Update to 1.5
|
|
|
c6acbb |
|
|
|
c6acbb |
* Wed Jan 15 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-0.2-RC2
|
|
|
c6acbb |
- Update to 1.5 RC2
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Jan 7 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-0.1-RC1
|
|
|
c6acbb |
- Update to 1.5 RC1
|
|
|
c6acbb |
|
|
|
c6acbb |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.1-2
|
|
|
c6acbb |
- Rebuilt for Python 3.8
|
|
|
c6acbb |
|
|
|
c6acbb |
* Fri Aug 9 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.1-1
|
|
|
c6acbb |
- Update to 1.4.1 release
|
|
|
c6acbb |
|
|
|
c6acbb |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
|
|
|
c6acbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c6acbb |
|
|
|
c6acbb |
* Sun Jun 9 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-1
|
|
|
c6acbb |
- Update to 1.4 release
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Mar 26 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-1
|
|
|
c6acbb |
- Update to 1.3 release
|
|
|
c6acbb |
|
|
|
c6acbb |
* Sat Feb 16 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.1-1
|
|
|
c6acbb |
- Update to 1.2.1 release
|
|
|
c6acbb |
|
|
|
c6acbb |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
c6acbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c6acbb |
|
|
|
c6acbb |
* Sat Nov 10 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.2-1
|
|
|
c6acbb |
- Update to 1.2 release
|
|
|
c6acbb |
|
|
|
c6acbb |
* Thu Jul 26 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-1
|
|
|
c6acbb |
- Update to 1.1.1 release
|
|
|
c6acbb |
|
|
|
c6acbb |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
|
|
|
c6acbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1-2
|
|
|
c6acbb |
- Rebuilt for Python 3.7
|
|
|
c6acbb |
|
|
|
c6acbb |
* Thu May 17 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-1
|
|
|
c6acbb |
- Update to 1.1 release
|
|
|
c6acbb |
- New C++ and Python 3 bindings
|
|
|
c6acbb |
|
|
|
c6acbb |
* Sun Apr 15 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.1-1
|
|
|
c6acbb |
- Update to 1.0.1
|
|
|
c6acbb |
|
|
|
c6acbb |
* Thu Feb 8 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.0-1
|
|
|
c6acbb |
- Update to 1.0.0 with stable API
|
|
|
c6acbb |
|
|
|
c6acbb |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
|
|
|
c6acbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
c6acbb |
|
|
|
c6acbb |
* Thu Nov 9 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.2-1
|
|
|
c6acbb |
- Update to 0.3.2
|
|
|
c6acbb |
|
|
|
c6acbb |
* Tue Aug 22 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.3-2
|
|
|
c6acbb |
- Minor review updates
|
|
|
c6acbb |
|
|
|
c6acbb |
* Sat Jul 1 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.3-1
|
|
|
c6acbb |
- Initial package
|