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