|
|
c1024f8 |
Name: libiio
|
|
|
ecb7f4e |
Version: 0.23
|
|
|
a9ba752 |
Release: 6%{?dist}
|
|
|
c1024f8 |
Summary: Library for Industrial IO
|
|
|
c1024f8 |
License: LGPLv2
|
|
|
c1024f8 |
URL: https://analogdevicesinc.github.io/libiio/
|
|
|
eb130fc |
Source0: https://github.com/analogdevicesinc/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
c1024f8 |
|
|
|
a2dc1da |
BuildRequires: avahi-devel
|
|
|
c1024f8 |
BuildRequires: bison
|
|
|
c1024f8 |
BuildRequires: cmake
|
|
|
4ded52a |
BuildRequires: doxygen
|
|
|
c1024f8 |
BuildRequires: flex
|
|
|
c1024f8 |
BuildRequires: gcc
|
|
|
4ded52a |
BuildRequires: libaio-devel
|
|
|
bcd2ecd |
BuildRequires: libusb1-devel
|
|
|
c1024f8 |
BuildRequires: libxml2-devel
|
|
|
a9ba752 |
BuildRequires: man2html
|
|
|
c1024f8 |
BuildRequires: python3-devel
|
|
|
c1024f8 |
BuildRequires: python3-setuptools
|
|
|
0d1a290 |
BuildRequires: python3-sphinx
|
|
|
0d1a290 |
BuildRequires: python3-sphinx_rtd_theme
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%description
|
|
|
c1024f8 |
Library for interfacing with Linux IIO devices
|
|
|
c1024f8 |
|
|
|
c1024f8 |
libiio is used to interface to Linux Industrial Input/Output (IIO) Subsystem.
|
|
|
c1024f8 |
The Linux IIO subsystem is intended to provide support for devices that in some
|
|
|
c1024f8 |
sense are analog to digital or digital to analog converters (ADCs, DACs). This
|
|
|
c1024f8 |
includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance
|
|
|
c1024f8 |
to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity
|
|
|
c1024f8 |
Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital
|
|
|
c1024f8 |
Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers
|
|
|
c1024f8 |
(VGA, PGA), and RF transceivers.
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%package utils
|
|
|
c1024f8 |
Summary: Utilities for Industrial IO
|
|
|
c1024f8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%description utils
|
|
|
c1024f8 |
Utilities for accessing IIO using libiio
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%package devel
|
|
|
c1024f8 |
Summary: Development package for %{name}
|
|
|
c1024f8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%description devel
|
|
|
c1024f8 |
Files for development with %{name}.
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%package doc
|
|
|
c1024f8 |
Summary: Development documentation for %{name}
|
|
|
c1024f8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%description doc
|
|
|
c1024f8 |
Documentation for development with %{name}.
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%package -n python3-iio
|
|
|
c1024f8 |
Summary: Python 3 bindings for Industrial IO (libiio)
|
|
|
c1024f8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%description -n python3-iio
|
|
|
c1024f8 |
Python 3 bindings for Industrial IO
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%prep
|
|
|
0d1a290 |
%autosetup -p1
|
|
|
c1024f8 |
sed -i 's/${LIBIIO_VERSION_MAJOR}-doc//' CMakeLists.txt
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%build
|
|
|
a9ba752 |
%cmake -DPYTHON_BINDINGS=on -DWITH_DOC=on -DWITH_MAN=on
|
|
|
89ffb2d |
%cmake_build
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%install
|
|
|
89ffb2d |
%cmake_install
|
|
|
c1024f8 |
|
|
|
c1024f8 |
#Remove libtool archives.
|
|
|
c1024f8 |
find %{buildroot} -name '*.la' -delete
|
|
|
c1024f8 |
|
|
|
fdd7edb |
%ldconfig_scriptlets
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%files
|
|
|
c1024f8 |
%license COPYING.txt
|
|
|
c1024f8 |
%{_libdir}/%{name}.so.*
|
|
|
4ded52a |
/lib/udev/rules.d/90-libiio.rules
|
|
|
a9ba752 |
%{_mandir}/man1/*
|
|
|
a9ba752 |
%{_mandir}/man3/*
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%files utils
|
|
|
c1024f8 |
%{_bindir}/iio_*
|
|
|
c1024f8 |
%{_sbindir}/iiod
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%files devel
|
|
|
c1024f8 |
%{_includedir}/iio.h
|
|
|
c1024f8 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
c1024f8 |
%{_libdir}/%{name}.so
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%files doc
|
|
|
c1024f8 |
%doc %{_docdir}/%{name}
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%files -n python3-iio
|
|
|
c1024f8 |
%{python3_sitelib}/__pycache__/iio*
|
|
|
a2dc1da |
%{python3_sitelib}/iio.py
|
|
|
a2dc1da |
%{python3_sitelib}/pylibiio*
|
|
|
c1024f8 |
|
|
|
c1024f8 |
%changelog
|
|
|
a9ba752 |
* Wed Jun 22 2022 Iker Pedrosa <pbrobinson@fedoraproject.org> - 0.23-6
|
|
|
a9ba752 |
- Package man pages
|
|
|
a9ba752 |
|
|
|
f07890c |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.23-5
|
|
|
f07890c |
- Rebuilt for Python 3.11
|
|
|
f07890c |
|
|
|
4bf6cd3 |
* Thu Apr 07 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.23-4
|
|
|
4bf6cd3 |
- Drop unused libserialport
|
|
|
4bf6cd3 |
|
|
|
bcd2ecd |
* Tue Mar 29 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.23-3
|
|
|
bcd2ecd |
- Minor spec updates for cmake changes
|
|
|
bcd2ecd |
|
|
|
0a69c3b |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-2
|
|
|
0a69c3b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
0a69c3b |
|
|
|
ecb7f4e |
* Sun Aug 22 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.23-1
|
|
|
ecb7f4e |
- Update to 0.23
|
|
|
ecb7f4e |
|
|
|
a2dc1da |
* Sun Aug 01 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.22-1
|
|
|
a2dc1da |
- Update to 0.22
|
|
|
a2dc1da |
|
|
|
efcbce5 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6
|
|
|
efcbce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
efcbce5 |
|
|
|
664f6f4 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.21-5
|
|
|
664f6f4 |
- Rebuilt for Python 3.10
|
|
|
664f6f4 |
|
|
|
8f3497c |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-4
|
|
|
8f3497c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8f3497c |
|
|
|
39d98c0 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-3
|
|
|
39d98c0 |
- Second attempt - Rebuilt for
|
|
|
39d98c0 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
39d98c0 |
|
|
|
fbcf0eb |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-2
|
|
|
fbcf0eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
fbcf0eb |
|
|
|
fc2dd40 |
* Tue Jun 23 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.21-1
|
|
|
fc2dd40 |
- Update to 0.21
|
|
|
fc2dd40 |
|
|
|
0d1a290 |
* Sat Jun 06 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.20-1
|
|
|
0d1a290 |
- Update to 0.20
|
|
|
0d1a290 |
|
|
|
e41bf96 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.19-2
|
|
|
e41bf96 |
- Rebuilt for Python 3.9
|
|
|
e41bf96 |
|
|
|
5ab4516 |
* Sat Feb 15 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.19-1
|
|
|
5ab4516 |
- Update to 0.19
|
|
|
5ab4516 |
|
|
|
57b5914 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-5
|
|
|
57b5914 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
57b5914 |
|
|
|
43ffa13 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.18-4
|
|
|
43ffa13 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
43ffa13 |
|
|
|
31a9ea5 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.18-3
|
|
|
31a9ea5 |
- Rebuilt for Python 3.8
|
|
|
31a9ea5 |
|
|
|
7476316 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-2
|
|
|
7476316 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
7476316 |
|
|
|
eb130fc |
* Sun May 12 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.18-1
|
|
|
eb130fc |
- Update to 0.18
|
|
|
eb130fc |
|
|
|
13d661e |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
|
|
|
13d661e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
13d661e |
|
|
|
4ded52a |
* Sun Jan 27 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.17-1
|
|
|
4ded52a |
- Update to 0.17
|
|
|
4ded52a |
- Enable IIOD USB/AIO backend
|
|
|
4ded52a |
|
|
|
fdd7edb |
* Thu Nov 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.16-1
|
|
|
fdd7edb |
- Update to 0.16
|
|
|
fdd7edb |
|
|
|
a2acdc4 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-3
|
|
|
a2acdc4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a2acdc4 |
|
|
|
4e73bb0 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.15-2
|
|
|
4e73bb0 |
- Rebuilt for Python 3.7
|
|
|
4e73bb0 |
|
|
|
fff8189 |
* Wed May 23 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.15-1
|
|
|
fff8189 |
- Update to 0.15
|
|
|
fff8189 |
|
|
|
5639bcc |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
|
|
|
5639bcc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5639bcc |
|
|
|
baca379 |
* Mon Jan 29 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.14-1
|
|
|
baca379 |
- Update to 0.14
|
|
|
4ca1c0f |
|
|
|
3fe31eb |
* Fri Dec 22 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.12-1
|
|
|
3fe31eb |
- Update to 0.12
|
|
|
3fe31eb |
|
|
|
23da501 |
* Wed Oct 25 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.11-1
|
|
|
23da501 |
- Update to 0.11
|
|
|
23da501 |
|
|
|
c1024f8 |
* Wed Aug 16 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.10-1
|
|
|
c1024f8 |
- Update to 0.10
|
|
|
c1024f8 |
- Review updates
|
|
|
c1024f8 |
|
|
|
c1024f8 |
* Wed Feb 22 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.9-1
|
|
|
c1024f8 |
- Initial package
|