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 Name: libftdi1
Version: 1.4 Version: 1.4
Release: 2mamba Release: 3mamba
Summary: A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R Summary: A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> 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 Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2
Patch0: libftdi1-1.4-cmake_swig.patch Patch0: libftdi1-1.4-cmake_swig.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libconfuse-devel BuildRequires: libconfuse-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
BuildRequires: python3
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3 >= 3.11
BuildRequires: cmake BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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 %prep
%setup -q -n libftdi1-%{version} %setup -q -n libftdi1-%{version}
%patch0 -p1 %patch 0 -p1
%build %build
%cmake -d build \ %cmake -d build \
-DEXAMPLES=OFF \ -DEXAMPLES=OFF \
-DFTDI_EEPROM=ON -DFTDI_EEPROM=ON \
-DPYTHON_LIBRARY=%{_libdir}/libpython%{python3_version}.so \
-DPYTHON_INCLUDE_DIR=%{python3_inc}
%make -j1 %make -j1
@ -101,6 +102,9 @@ Utilities to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using l
%{_bindir}/ftdi_eeprom %{_bindir}/ftdi_eeprom
%changelog %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 * Wed Dec 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-2mamba
- rebuilt with debug package and cmake swig build patch - rebuilt with debug package and cmake swig build patch