%global debug_package %{nil} %global forgeurl https://gitlab.com/ubports/development/core/cmake-extras Version: 1.9 %global tag %{version} %forgemeta Name: cmake-extras Release: %autorelease Summary: A collection of add-ons for the CMake build tool License: LGPL-3.0-or-later URL: %{forgeurl} Source0: %{forgesource} Patch0: cmake-extras-1.9-fix-find-qmlplugindump.patch BuildRequires: cmake %description A collection of add-ons for the CMake build tool. %prep %forgeautosetup -p1 sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' src/IncludeChecker/include_checker.py %build %cmake %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_datadir}/cmake/CopyrightTest/ %{_datadir}/cmake/CoverageReport/ %{_datadir}/cmake/DoxygenBuilder/ %{_datadir}/cmake/FormatCode/ %{_datadir}/cmake/GDbus/ %{_datadir}/cmake/GMock/ %{_datadir}/cmake/GObjectIntrospection/ %{_datadir}/cmake/GSettings/ %{_datadir}/cmake/GdbusCodegen/ %{_datadir}/cmake/IncludeChecker/ %{_datadir}/cmake/Intltool/ %{_datadir}/cmake/Lcov/ %{_datadir}/cmake/QmlPlugins/ %{_datadir}/cmake/Vala/ %{_datadir}/cmake/gcovr/ %changelog %autochangelog