## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %global commit ea010f3033db99169467226fdc41517bc100dfbe %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: mankalaengine Version: 0.0^20250101.%{shortcommit} Release: %autorelease Summary: Game engine for Mancala games License: GPL-3.0-or-later URL: https://invent.kde.org/joaotgouveia/mankalaengine Source0: %{url}/-/archive/%{commit}/mankalaengine-%{shortcommit}.tar.gz BuildRequires: cmake BuildRequires: cppcheck BuildRequires: doxygen BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: qt6-qtbase-devel %description MankalaEngine is an engine used for creating computerized opponents for Mancala variants. %package devel Summary: Development libraries and header files %description devel Development libraries and header files for MankalaEngine. %prep %autosetup -n mankalaengine-%{commit} %build %cmake %cmake_build %install %cmake_install %check %ctest %files %license LICENSES/GPL-3.0-or-later.txt %doc README.md %{_libdir}/libMankalaEngine.so %files devel %dir %{_includedir}/mankalaengine %{_includedir}/mankalaengine/*.h %dir %{_libdir}/cmake/mankalaengine %{_libdir}/cmake/mankalaengine/*.cmake %changelog ## START: Generated by rpmautospec * Sun Jan 05 2025 John Doe - 0.0^20250101.ea010f3-1 - Uncommitted changes ## END: Generated by rpmautospec