|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: libftdi
|
|
|
|
Name: libftdi
|
|
|
|
Version: 1.5
|
|
|
|
Version: 1.5
|
|
|
|
Release: 14%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Library to program and control the FTDI USB controller
|
|
|
|
Summary: Library to program and control the FTDI USB controller
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2
|
|
|
|
License: LGPLv2
|
|
|
@ -9,10 +9,6 @@ Source0: https://www.intra2net.com/en/developer/%{name}/download/%{name}1-%{vers
|
|
|
|
|
|
|
|
|
|
|
|
# http://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=cdb28383402d248dbc6062f4391b038375c52385;hp=5c2c58e03ea999534e8cb64906c8ae8b15536c30
|
|
|
|
# http://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=cdb28383402d248dbc6062f4391b038375c52385;hp=5c2c58e03ea999534e8cb64906c8ae8b15536c30
|
|
|
|
Patch0: libftdi-1.5-fix_pkgconfig_path.patch
|
|
|
|
Patch0: libftdi-1.5-fix_pkgconfig_path.patch
|
|
|
|
# http://developer.intra2net.com/mailarchive/html/libftdi/2023/msg00003.html
|
|
|
|
|
|
|
|
Patch1: libftdi-1.5-no-distutils.patch
|
|
|
|
|
|
|
|
# http://developer.intra2net.com/mailarchive/html/libftdi/2023/msg00005.html
|
|
|
|
|
|
|
|
Patch2: libftdi-1.5-cmake-deps.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
@ -77,7 +73,7 @@ sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cmake -DSTATICLIBS=off -DFTDIPP=on -DPYTHON_BINDINGS=on -DDOCUMENTATION=on -DEXAMPLES=off
|
|
|
|
%cmake -DSTATICLIBS=off -DFTDIPP=on -DPYTHON_BINDINGS=on -DDOCUMENTATION=on .
|
|
|
|
%cmake_build
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -85,6 +81,21 @@ sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules
|
|
|
|
|
|
|
|
|
|
|
|
install -D -pm 0644 packages/99-libftdi.rules %{buildroot}%{_udevrulesdir}/69-libftdi.rules
|
|
|
|
install -D -pm 0644 packages/99-libftdi.rules %{buildroot}%{_udevrulesdir}/69-libftdi.rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/usr/lib/udev/rules.d/
|
|
|
|
|
|
|
|
install -pm 0644 packages/99-libftdi.rules %{buildroot}/usr/lib/udev/rules.d/69-libftdi.rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Cleanup examples
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/simple
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/bitbang
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/bitbang2
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/bitbang_ft2232
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/bitbang_cbus
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/find_all
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/find_all_pp
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/baud_test
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/serial_read
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/serial_test
|
|
|
|
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_datadir}/doc/libftdi1/example.conf
|
|
|
|
rm -f %{buildroot}%{_datadir}/doc/libftdi1/example.conf
|
|
|
|
rm -f %{buildroot}%{_datadir}/doc/libftdipp1/example.conf
|
|
|
|
rm -f %{buildroot}%{_datadir}/doc/libftdipp1/example.conf
|
|
|
|
|
|
|
|
|
|
|
@ -121,47 +132,11 @@ rm -f %{buildroot}%{_datadir}/doc/libftdipp1/example.conf
|
|
|
|
%{_includedir}/libftdi1/*.hpp
|
|
|
|
%{_includedir}/libftdi1/*.hpp
|
|
|
|
%{_libdir}/pkgconfig/libftdipp1.pc
|
|
|
|
%{_libdir}/pkgconfig/libftdipp1.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%ldconfig_scriptlets c++
|
|
|
|
* Thu Dec 26 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 1.5-14
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1.5-13
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-12
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.5-9
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 06 2023 Dan Horák <dan[at]danny.cz> - 1.5-8
|
|
|
|
|
|
|
|
- Fix parallel build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 03 2023 Dan Horák <dan[at]danny.cz> - 1.5-7
|
|
|
|
|
|
|
|
- Prepare for distutils removal (rhbz#2154854)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.5-4
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Tue Aug 17 2021 Björn Esser <besser82@fedoraproject.org> - 1.5-2
|
|
|
|
* Tue Aug 17 2021 Björn Esser <besser82@fedoraproject.org> - 1.5-2
|
|
|
|
- Add patch to fix includedir in pkgconfig file
|
|
|
|
- Add patch to fix includedir in pkgconfig file
|
|
|
|
|
|
|
|
|