|
|
|
@ -11,7 +11,7 @@ Source0: http://www.intra2net.com/en/developer/%{name}/download/%{name}1-%{versi
|
|
|
|
|
# This has been reported to the mailing list
|
|
|
|
|
Patch0: libftdi-cmake_swig.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake gcc-c++
|
|
|
|
|
BuildRequires: cmake3 gcc-c++
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: libconfuse-devel
|
|
|
|
@ -30,7 +30,6 @@ FT232BM and FT245BM type chips including the popular bitbang mode.
|
|
|
|
|
Summary: Header files and static libraries for libftdi
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: python3-%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Header files and static libraries for libftdi
|
|
|
|
@ -74,7 +73,7 @@ sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules
|
|
|
|
|
export CMAKE_PREFIX_PATH=%{_prefix}
|
|
|
|
|
|
|
|
|
|
mkdir build-py3 && pushd build-py3
|
|
|
|
|
%{cmake} -DPython_ADDITIONAL_VERSIONS=%{python3_version} ..
|
|
|
|
|
%{cmake3} -DPython_ADDITIONAL_VERSIONS=%{python3_version} ..
|
|
|
|
|
%make_build
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|