rebuilt with python3 == 3.11 [release 1.4-3mamba;Mon Oct 16 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 04:18:24 +01:00
parent 8050123e30
commit b63a67e87b

View File

@ -1,27 +1,26 @@
Name: libftdi1
Version: 1.4
Release: 2mamba
Release: 3mamba
Summary: A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.intra2net.com/en/developer/libftdi/index.php
URL: https://www.intra2net.com/en/developer/libftdi/index.php
Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2
Patch0: libftdi1-1.4-cmake_swig.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libconfuse-devel
BuildRequires: libgcc
BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
BuildRequires: libstdc++6-devel
BuildRequires: libusb-devel
BuildRequires: python3
## AUTOBUILDREQ-END
BuildRequires: python3 >= 3.11
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using libusb, including the popular bitbang mode. This library is linked with your program in userspace, no kernel driver required.
@ -48,12 +47,14 @@ Utilities to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using l
%prep
%setup -q -n libftdi1-%{version}
%patch0 -p1
%patch 0 -p1
%build
%cmake -d build \
-DEXAMPLES=OFF \
-DFTDI_EEPROM=ON
-DFTDI_EEPROM=ON \
-DPYTHON_LIBRARY=%{_libdir}/libpython%{python3_version}.so \
-DPYTHON_INCLUDE_DIR=%{python3_inc}
%make -j1
@ -101,6 +102,9 @@ Utilities to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using l
%{_bindir}/ftdi_eeprom
%changelog
* Mon Oct 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-3mamba
- rebuilt with python3 == 3.11
* Wed Dec 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-2mamba
- rebuilt with debug package and cmake swig build patch