## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 %define rdnn io.github.prayag2.Drawy %define commit b12eca1ea772d8c5b458390a78f0ae6daec88e82 %global shortcommit %{sub %{commit} 1 7} Name: drawy Version: 1.0.0~^2.%{shortcommit} Release: %autorelease Summary: Your handy, infinite, brainstorming tool # primary license: GPL-3.0-or-later # src/resources/fonts/{FuzzyBubbles,Inter}.ttf: OFL-1.1 License: GPL-3.0-or-later AND OFL-1.1 URL: https://github.com/Prayag2/drawy Source: %{url}/archive/%{commit}/drawy-%{shortcommit}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6OpenGLWidgets) # for desktop-file-validate command BuildRequires: desktop-file-utils # for appstream-util command BuildRequires: libappstream-glib # for ownership of icon parent directories Requires: hicolor-icon-theme %description Drawy is a work-in-progress infinite whiteboard tool written in Qt/C++, which aims to be a native-desktop alternative to the amazing web-based Excalidraw. %prep %autosetup -n drawy-%{commit} %conf %cmake -DCMAKE_BUILD_TYPE=Release %build %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{rdnn}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{rdnn}.metainfo.xml %files %license LICENSE %{_bindir}/drawy %{_datadir}/applications/%{rdnn}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{rdnn}.svg %{_metainfodir}/%{rdnn}.metainfo.xml %changelog ## START: Generated by rpmautospec * Wed Dec 17 2025 Carl George - 1.0.0~^2.b12eca1-1 - Update to new upstream snapshot * Fri Nov 21 2025 Carl George - 1.0.0~^1.4fec01b-2 - Drop i686 support * Fri Nov 21 2025 Carl George - 1.0.0~^1.4fec01b-1 - Initial package rhbz#2415302 ## END: Generated by rpmautospec