# Generated by go2rpm 1.17.1 %bcond check 1 %global app_id io.github.tfuxu.floodit # https://github.com/tfuxu/floodit %global goipath github.com/tfuxu/floodit Version: 1.1.0 %global tag 1.1.0-1 %gometa -L -f Name: floodit Release: %autorelease Summary: Flood the board # Generated by go-vendor-tools License: BSD-3-Clause AND GPL-3.0-only AND ISC AND MIT AND MPL-2.0 URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: blueprint-compiler BuildRequires: desktop-file-utils BuildRequires: go-vendor-tools BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) %description Challenge yourself with this simple, yet addictive strategy game, where you need to flood-it as efficiently as you can! %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %meson %meson_build %install %go_vendor_license_install -c %{S:2} %meson_install %check %go_vendor_license_check -c %{S:2} %if %{with check} %meson_test %endif desktop-file-validate %{buildroot}%{_datadir}/applications/%{app_id}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{app_id}.metainfo.xml %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc README.md %{_bindir}/floodit %{_datadir}/applications/%{app_id}.desktop %{_datadir}/glib-2.0/schemas/%{app_id}.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{app_id}* %{_datadir}/%{name}/ %{_metainfodir}/%{app_id}.metainfo.xml %changelog %autochangelog