%define url_ver %(echo %{version}|cut -d. -f1,2) %define _disable_rebuild_configure 1 %global optflags %{optflags} -Wno-incompatible-function-pointer-types Name: swell-foop Version: 48.1 Release: 2 Summary: GNOME colored tiles puzzle game License: GPLv2+ and GFDL Group: Games/Puzzles URL: https://wiki.gnome.org/Apps/Swell_Foop Source0: https://download.gnome.org/sources/swell-foop/%{url_ver}/swell-foop-%{version}.tar.xz BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libgnome-games-support-2) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: librsvg-vala-devel BuildRequires: intltool BuildRequires: itstool BuildRequires: libxml2-utils BuildRequires: meson BuildRequires: vala # For help Requires: yelp %description Clear the screen by removing groups of colored and shaped tiles %prep %setup -q %build %meson %meson_build %install %meson_install %find_lang %{name} --with-gnome %files -f %{name}.lang %doc COPYING %{_bindir}/%{name} %{_datadir}/applications/org.gnome.SwellFoop.desktop %{_datadir}/glib-2.0/schemas/org.gnome.SwellFoop.gschema.xml %{_iconsdir}/*/*/apps/org.gnome.SwellFoop*.* #{_datadir}/%{name} %{_datadir}/metainfo/org.gnome.SwellFoop.metainfo.xml %{_datadir}/dbus-1/services/org.gnome.SwellFoop.service