## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Summary: EdgeTX Companion Name: edgetx-companion Version: 2.11.6 Release: %autorelease License: GPLv2 URL: https://edgetx.org/ Source0: https://github.com/EdgeTX/edgetx/archive/refs/tags/v%{version}.tar.gz#/edgetx-%{version}.tar.gz Source12: https://github.com/nothings/stb/archive/5c205738c191bcb0abc65c4febfa9bd25ff35234.tar.gz#/stb-5c205738.tar.gz Source14: https://github.com/EdgeTX/lvgl/archive/19d397271e195320c32fd73eb132642aa4acf3ce.tar.gz#/lvgl-19d39727.tar.gz Source15: https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz#/googletest-1.14.0.tar.gz Source16: https://github.com/edgetx/maxLibQt/archive/ac1988ffd005cd15a8449b92150ce6c08574a4f1.tar.gz#/maxLibQt-ac1988ff.tar.gz Source17: https://github.com/microsoft/uf2/archive/d03b585ed780ed51bb0d1e6e8cf233aacb408305.tar.gz#/uf2-d03b585e.tar.gz Patch1: edgetx-cmake.patch Patch2: edgetx-desktop.patch Patch4: edgetx-disable-appimage.patch Patch5: edgetx-simulator-name.patch Patch6: build-simulator.sh.patch %if 0%{?fedora} >= 43 Patch7: edgetx-miniz.patch %endif BuildRequires: cmake BuildRequires: make BuildRequires: gcc-c++ BuildRequires: clang-devel BuildRequires: qt5-qttools-devel, qt5-qtsvg-devel, qt5-qtmultimedia-devel, qt5-qtserialport-devel BuildRequires: fox-devel BuildRequires: SDL2-devel BuildRequires: python3-pillow python3-lz4 python3-clang BuildRequires: libusb1-devel BuildRequires: yaml-cpp-devel BuildRequires: miniz-devel BuildRequires: python3-jinja2 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. %global debug_package %{nil} %prep %autosetup -n edgetx-%{version} -p1 mkdir deps ( cd radio/src/thirdparty && tar xvzf %SOURCE12 && rmdir stb && ln -sv stb-* stb ) ( cd radio/src/thirdparty && tar xvzf %SOURCE14 && rmdir lvgl && ln -sv lvgl-* lvgl ) ( cd radio/src/thirdparty && tar xvzf %SOURCE17 && rmdir uf2 && ln -sv uf2-* uf2 ) ( cd deps && tar xvzf %SOURCE15 && ln -sv googletest-* googletest ) ( cd deps && tar xvzf %SOURCE16 && ln -sv maxLibQt-* maxLibQt ) %build CMAKE_OPTS=$( eval echo $( cat <<'EOS' | sed -e '1,\#%{__cmake}#d' -e '/ -S /d' -e '/ -B /d' -e '/-G Ninja/d' -e 's/\\$//' %cmake EOS )) CMAKE_OPTS+=" -DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON -DDEBUG=YES -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS:BOOL=OFF -DINSTALL_GTEST=OFF -DFETCHCONTENT_SOURCE_DIR_GOOGLETEST=$(pwd)/deps/googletest -DFETCHCONTENT_SOURCE_DIR_MAXLIBQT=$(pwd)/deps/maxLibQt" tools/build-companion.sh -j${RPM_BUILD_NCPUS} "$(pwd)" "$(pwd)/%{_vpath_builddir}" "$CMAKE_OPTS" %{release} %install %{cmake_install}/native %files %defattr(-,root,root,-) %{_bindir}/edgetx-companion %{_bindir}/edgetx-simulator %dir %{_libdir}/%{name} %{_libdir}/%{name}/libedgetx-boxer-simulator.so %{_libdir}/%{name}/libedgetx-bumblebee-simulator.so %{_libdir}/%{name}/libedgetx-commando8-simulator.so %{_libdir}/%{name}/libedgetx-el18-simulator.so %{_libdir}/%{name}/libedgetx-gx12-simulator.so %{_libdir}/%{name}/libedgetx-f16-simulator.so %{_libdir}/%{name}/libedgetx-lr3pro-simulator.so %{_libdir}/%{name}/libedgetx-mt12-simulator.so %{_libdir}/%{name}/libedgetx-nv14-simulator.so %{_libdir}/%{name}/libedgetx-pa01-simulator.so %{_libdir}/%{name}/libedgetx-pl18-simulator.so %{_libdir}/%{name}/libedgetx-pl18ev-simulator.so %{_libdir}/%{name}/libedgetx-pl18u-simulator.so %{_libdir}/%{name}/libedgetx-pocket-simulator.so %{_libdir}/%{name}/libedgetx-st16-simulator.so %{_libdir}/%{name}/libedgetx-t8-simulator.so %{_libdir}/%{name}/libedgetx-t12-simulator.so %{_libdir}/%{name}/libedgetx-t12max-simulator.so %{_libdir}/%{name}/libedgetx-t14-simulator.so %{_libdir}/%{name}/libedgetx-t15-simulator.so %{_libdir}/%{name}/libedgetx-t16-simulator.so %{_libdir}/%{name}/libedgetx-t18-simulator.so %{_libdir}/%{name}/libedgetx-t20-simulator.so %{_libdir}/%{name}/libedgetx-t20v2-simulator.so %{_libdir}/%{name}/libedgetx-tlite-simulator.so %{_libdir}/%{name}/libedgetx-tpro-simulator.so %{_libdir}/%{name}/libedgetx-tpros-simulator.so %{_libdir}/%{name}/libedgetx-tprov2-simulator.so %{_libdir}/%{name}/libedgetx-tx12-simulator.so %{_libdir}/%{name}/libedgetx-tx12mk2-simulator.so %{_libdir}/%{name}/libedgetx-tx16s-simulator.so %{_libdir}/%{name}/libedgetx-v14-simulator.so %{_libdir}/%{name}/libedgetx-v16-simulator.so %{_libdir}/%{name}/libedgetx-x7-simulator.so %{_libdir}/%{name}/libedgetx-x7access-simulator.so %{_libdir}/%{name}/libedgetx-x9d-simulator.so %{_libdir}/%{name}/libedgetx-x9d+-simulator.so %{_libdir}/%{name}/libedgetx-x9d+2019-simulator.so %{_libdir}/%{name}/libedgetx-x9e-simulator.so %{_libdir}/%{name}/libedgetx-x9lite-simulator.so %{_libdir}/%{name}/libedgetx-x9lites-simulator.so %{_libdir}/%{name}/libedgetx-x10-simulator.so %{_libdir}/%{name}/libedgetx-x10express-simulator.so %{_libdir}/%{name}/libedgetx-x12s-simulator.so %{_libdir}/%{name}/libedgetx-xlite-simulator.so %{_libdir}/%{name}/libedgetx-xlites-simulator.so %{_libdir}/%{name}/libedgetx-zorro-simulator.so %{_prefix}/lib/udev/rules.d/45-%{name}-taranis.rules %{_prefix}/lib/udev/rules.d/45-%{name}-usbasp.rules %{_datadir}/applications/edgetx-companion.desktop %{_datadir}/applications/edgetx-simulator.desktop %{_datadir}/icons/hicolor/16x16/apps/%{name}.png %{_datadir}/icons/hicolor/22x22/apps/%{name}.png %{_datadir}/icons/hicolor/24x24/apps/%{name}.png %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/128x128/apps/%{name}.png %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %{_datadir}/icons/hicolor/512x512/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog ## START: Generated by rpmautospec * Sat May 02 2026 Jan Pazdziora - 2.11.6-3 - Addressing Node.js 20 actions are deprecated. * Sat May 02 2026 Jan Pazdziora - 2.11.6-2 - Test build on Fedora 44. * Sat May 02 2026 Jan Pazdziora - 2.11.6-1 - Update to EdgeTX 2.11.6. * Tue Feb 24 2026 Jan Pazdziora - 2.11.5-2 - Disable use of the Ninja generator. * Tue Feb 24 2026 Jan Pazdziora - 2.11.5-1 - Update to EdgeTX 2.11.5. * Thu Jan 29 2026 Jan Pazdziora - 2.11.4-21 - Remove options that are enabled in CMakeLists.txt anyway. * Thu Jan 29 2026 Jan Pazdziora - 2.11.4-20 - Stop using the APP_NAME_SUFFIX (211) for directory and file names. * Thu Jan 29 2026 Jan Pazdziora - 2.11.4-19 - Use the rpm release for the binary as well. * Thu Jan 29 2026 Jan Pazdziora - 2.11.4-18 - With cmake now driving the build, the -j option to tools/build- companion.sh is the relevant one. * Wed Jan 28 2026 Jan Pazdziora - 2.11.4-17 - Extract the cmake options from the rpm macro, use tools/build- companion.sh to build everything. * Wed Jan 28 2026 Jan Pazdziora - 2.11.4-16 - Remove options that are reported by cmake as not used. * Wed Jan 28 2026 Jan Pazdziora - 2.11.4-15 - Disable installing weak dependencies to minimize the transaction sizes. * Wed Jan 28 2026 Jan Pazdziora - 2.11.4-14 - %%set_build_flags is not needed in %%prep. * Tue Jan 27 2026 Jan Pazdziora - 2.11.4-13 - Make it easier to use the commands on SELinux-enabled Fedoras. * Wed Jan 21 2026 Jan Pazdziora - 2.11.4-12 - Fix typo in the README. * Tue Jan 20 2026 Jan Pazdziora - 2.11.4-11 - On Fedora 42-, pkgconfig/miniz.pc is not present. * Tue Jan 20 2026 Jan Pazdziora - 2.11.4-10 - Use find_package instead of sed. * Tue Jan 20 2026 Jan Pazdziora - 2.11.4-9 - Unpack the sources to deps/. * Tue Jan 20 2026 Jan Pazdziora - 2.11.4-8 - Use FETCHCONTENT_SOURCE_DIR_GOOGLETEST instead of disabling FetchGtest. * Tue Jan 20 2026 Jan Pazdziora - 2.11.4-7 - Use FETCHCONTENT_SOURCE_DIR_MAXLIBQT instead of disabling FetchMaxLibQt. * Sun Jan 11 2026 Jan Pazdziora - 2.11.4-6 - Fedora 41 is EOL. * Tue Dec 16 2025 Jan Pazdziora - 2.11.4-5 - Workaround https://github.com/fedora-copr/copr/issues/4088. * Mon Dec 15 2025 Jan Pazdziora - 2.11.4-4 - Build and upload the .src.rpm early. * Mon Dec 15 2025 Jan Pazdziora - 2.11.4-3 - Add monthly cron build on current Fedora. * Mon Dec 15 2025 Jan Pazdziora - 2.11.4-2 - Support older Fedoras with conditional .spec, test-build on the older Fedoras as well. * Mon Dec 15 2025 Jan Pazdziora - 2.11.4-1 - Update to EdgeTX 2.11.4. * Fri Nov 14 2025 Jan Pazdziora - 2.11.3-3 - Update the lvgl and maxLibQt versions to match the source repo. * Fri Nov 14 2025 Jan Pazdziora - 2.11.3-2 - Find miniz.h in /usr/include/miniz/miniz.h on Fedora 43+. * Sat Aug 23 2025 Jan Pazdziora - 2.11.3-1 - Update to EdgeTX 2.11.3. * Tue Jun 24 2025 Jan Pazdziora - 2.11.2-1 - Update to EdgeTX 2.11.2. * Sat May 24 2025 Alexander Kabaev - 2.11.1-2 - Update binary name for simulator to match one this package builds * Thu May 15 2025 Jan Pazdziora - 2.11.1-1 - Update to EdgeTX 2.11.1. * Wed Apr 30 2025 Jan Pazdziora - 2.11.0-4 - Update README with the 2.11 information. * Wed Apr 30 2025 Jan Pazdziora - 2.11.0-3 - Workaround missing debugging symbols. * Tue Apr 29 2025 Jan Pazdziora - 2.11.0-2 - Workaround -isystem /usr/include getting to the CXX command. * Tue Apr 29 2025 Jan Pazdziora - 2.11.0-1 - Update to EdgeTX 2.11.0. * Tue Apr 29 2025 Jan Pazdziora - 2.10.6-2 - Upload the .src.rpm even if the binary build fails. * Thu Jan 23 2025 Jan Pazdziora - 2.10.6-1 - Update to EdgeTX 2.10.6. * Tue Dec 24 2024 Jan Pazdziora - 2.10.5-4 - We need the full history and clean worktree to make the computed release in GitHub Actions precise. * Mon Dec 23 2024 Jan Pazdziora - 2.10.5-3 - Use %%autorelease and %%autochangelog to take advantage of the git history. * Mon Dec 23 2024 Alexander Kabaev - 2.10.5-2 - Build simulation libraries before companion and simulator itself. * Mon Nov 25 2024 Jan Pazdziora - 2.10.5-1 - Update to EdgeTX 2.10.5. * Tue Sep 10 2024 Jan Pazdziora - 2.10.4-1 - Update to EdgeTX 2.10.4. * Sat Aug 03 2024 Jan Pazdziora - 2.10.3-1 - Update to EdgeTX 2.10.3. * Thu Jul 04 2024 Jan Pazdziora - 2.10.2-1 - Update to EdgeTX 2.10.2. * Fri May 31 2024 Jan Pazdziora - 2.10.1-1 - Update to EdgeTX 2.10.1. * Thu May 30 2024 Jan Pazdziora - 2.10.0-7 - Update README with the 2.10 information. * Sun May 12 2024 Jan Pazdziora - 2.10.0-6 - Update to EdgeTX 2.10.0 GA. * Sat May 04 2024 Jan Pazdziora - 2.10.0-5 - Update to EdgeTX 2.10.0-rc4. * Thu Apr 04 2024 Jan Pazdziora - 2.10.0-4 - Update to EdgeTX 2.10.0-rc3. * Thu Mar 28 2024 Jan Pazdziora - 2.10.0-3 - Addressing Node.js 16 actions are deprecated. * Thu Mar 28 2024 Jan Pazdziora - 2.10.0-2 - Update to EdgeTX 2.10.0-rc2. * Sat Mar 09 2024 Jan Pazdziora - 2.10.0-1 - Update to EdgeTX 2.10.0-rc1. * Tue Feb 13 2024 Jan Pazdziora - 2.9.4-1 - Update to EdgeTX 2.9.4. * Sun Jan 21 2024 Jan Pazdziora - 2.9.3-2 - Prevent installation of libusb. * Sat Jan 20 2024 Jan Pazdziora - 2.9.3-1 - Update to EdgeTX 2.9.3. * Sat Nov 18 2023 Jan Pazdziora - 2.9.2-1 - Update to EdgeTX 2.9.2. * Thu Sep 28 2023 Jan Pazdziora - 2.9.1-1 - Update to EdgeTX 2.9.1. * Sat Sep 02 2023 Jan Pazdziora - 2.9.0-4 - Add build status information. * Sat Sep 02 2023 Jan Pazdziora - 2.9.0-3 - Disable network for rpmbuild, to make sure the .src.rpm brought everything needed. * Sat Sep 02 2023 Jan Pazdziora - 2.9.0-2 - Update to EdgeTX 2.9.0. * Sun Aug 06 2023 Jan Pazdziora - 2.9.0-1 - Update to EdgeTX 2.9.0-rc2. * Sun Aug 06 2023 Jan Pazdziora - 2.8.5-3 - Test building the rpm in GitHub Actions. * Sun Aug 06 2023 Jan Pazdziora - 2.8.5-2 - Add brief README. * Sat Aug 05 2023 Jan Pazdziora - 2.8.5-1 - Update to EdgeTX 2.8.5. * Mon May 15 2023 Jan Pazdziora - 2.8.4-1 - Update to EdgeTX 2.8.4. * Mon May 15 2023 Jan Pazdziora - 2.8.3-4 - Revert "Fixes https://github.com/EdgeTX/edgetx/issues/3222." * Sun Apr 23 2023 Jan Pazdziora - 2.8.3-3 - The yaml-cpp ships Google Test, use that one. * Thu Apr 20 2023 Jan Pazdziora - 2.8.3-2 - Addressing %%patchN is deprecated (5 usages found), use %%patch N (or %%patch -P N). * Wed Apr 19 2023 Jan Pazdziora - 2.8.3-1 - Update to EdgeTX 2.8.3. * Mon Apr 03 2023 Jan Pazdziora - 2.8.2-1 - Update to EdgeTX 2.8.2. * Tue Feb 21 2023 Jan Pazdziora - 2.8.1-3 - Fixes https://github.com/EdgeTX/edgetx/issues/3222. * Tue Feb 21 2023 Jan Pazdziora - 2.8.1-2 - Radiomaster Boxer simulator gets built as well. * Tue Feb 21 2023 Jan Pazdziora - 2.8.1-1 - Update to EdgeTX 2.8.1. * Mon Jan 02 2023 Jan Pazdziora - 2.8.0-1 - Rebase to EdgeTX 2.8.0. * Sun Jan 01 2023 Jan Pazdziora - 2.7.2-2 - Update the yaml-cpp source to match the git module for the 2.7.2 release. * Sun Jan 01 2023 Jan Pazdziora - 2.7.2-1 - Update to EdgeTX 2.7.2. * Mon May 09 2022 Jan Pazdziora - 2.7.1-1 - Rebase to 2.7.1 * Sat Apr 16 2022 Jan Pazdziora - 2.7.0-1 - Rebase to EdgeTX 2.7.0. * Thu Mar 24 2022 Jan Pazdziora - 2.6.0-2 - Revert "The commit 1e09791a1e2fe2a0ca9835019d634a4c6a4fa3bf marking 2.3.14 is not included in the release/2.3.14 tag." * Tue Mar 22 2022 Jan Pazdziora - 2.6.0-1 - Rebase to EdgeTX 2.6.0. * Mon Mar 21 2022 Jan Pazdziora - 2.5.0-1 - Update .spec and patches for EdgeTX 2.5.0. ## END: Generated by rpmautospec