Summary: OpenTX Companion Name: opentx-companion Version: 2.3.2 Release: 2%{?dist} License: GPLv2 URL: http://www.open-tx.org Source0: https://github.com/opentx/opentx/archive/%{version}.tar.gz#/opentx-%{version}.tar.gz Patch1: opentx-cmake-2.2.1.patch Patch2: opentx-desktop-2.2.0.patch BuildRequires: cmake BuildRequires: make BuildRequires: gcc-c++ BuildRequires: qt5-devel BuildRequires: fox-devel BuildRequires: SDL-devel BuildRequires: arm-none-eabi-gcc-cs-c++ BuildRequires: arm-none-eabi-newlib BuildRequires: python3-pillow BuildRequires: llvm-googletest Requires: dfu-util %description OpenTX Companion transmitter support software is used for many different tasks like loading OpenTX firmware to the radio, backing up model settings, editing settings and running radio simulators. %prep %setup -n opentx-%{version} %patch1 -p1 %patch2 -p1 %build rm -rf build-taranis-debug mkdir build-taranis-debug cd build-taranis-debug %cmake -DPCB=X9D+ -DGVARS=YES -DLUA=YES -DDEBUG=YES -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS:BOOL=OFF -DGTEST_ROOT=%{_datarootdir}/llvm/src/utils/unittest/googletest ../ make %{?_smp_mflags} opentx-companion make %{?_smp_mflags} opentx-simulator %install make -C build-taranis-debug install DESTDIR=%{buildroot} %files %defattr(-,root,root,-) %{_bindir}/opentx-companion %{_bindir}/opentx-simulator %{_libdir}/opentx-companion-23/ %{_prefix}/lib/udev/rules.d/* %{_datadir}/applications/* %{_datadir}/icons/hicolor/* %changelog * Sat Nov 16 2019 Jan Pazdziora - 2.3.2-2 - Rebase to 2.3.2. * Sat Oct 05 2019 Jan Pazdziora - 2.3.1-1 - Rebase to 2.3.1. * Sat Sep 28 2019 Jan Pazdziora - 2.3.0-1 - Rebase to 2.3.0 GA. * Sun Sep 15 2019 Jan Pazdziora - 2.3.0-RC3.1 - Test build of 2.3.0-RC3. * Fri Jul 12 2019 Jan Pazdziora - 2.2.4-1 - Rebase to 2.2.4 release. * Fri Jul 12 2019 Jan Pazdziora - 2.2.3-1 - Address compile errors on Fedora 30+. - Rebase to 2.2.3 release. * Sun Sep 30 2018 Jan Pazdziora - 2.2.2-1 - Rebase to 2.2.2 release. * Sun Sep 30 2018 Jan Pazdziora - 2.2.1-1 - Rebase to 2.2.1 release. * Sun Aug 20 2017 Jan Pazdziora - 2.2.1-* - Rebase to 2.2 master. * Sat Aug 19 2017 Jan Pazdziora - 2.2.0-1 - Rebase to 2.2.0. * Sat Jul 15 2017 Jan Pazdziora - 2.1.9-4 - Drive the build and installation by cmake and macros more. * Fri Jul 14 2017 Jan Pazdziora - 2.1.9-2 - Rebase to 2.1.9. * Fri Jun 27 2014 Jan Pazdziora - 2.0.5-1 - Use 2.0.5. * Fri Jun 13 2014 Jan Pazdziora - 2.0.2-0.1 - Use 2.0.2. * Fri Jun 06 2014 Jan Pazdziora - 2.0.1-0.1 - Use 2.0.1. * Sun Jun 01 2014 Jan Pazdziora - 1.99.7-0.1 - Initial attempt to build on Fedora 20.