File gnome-2048.spec of Package gnome-2048
#
# spec file for package gnome-2048
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnome-2048
Version: 3.26.1
Release: 0
Summary: Sliding block puzzle game
License: GPL-3.0-or-later
Group: Amusements/Games/Board/Puzzle
URL: https://wiki.gnome.org/Apps/2048
Source: http://download.gnome.org/sources/gnome-2048/3.26/%{name}-%{version}.tar.xz
BuildRequires: appstream-glib-devel
BuildRequires: intltool >= 0.50
BuildRequires: itstool
BuildRequires: libxml2-tools
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.24.0
BuildRequires: perl(XML::Parser)
BuildRequires: pkgconfig(clutter-1.0) >= 1.12.0
BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.6.0
BuildRequires: pkgconfig(gee-0.8) >= 0.14.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0
BuildRequires: pkgconfig(libgnome-games-support-1) >= 0.90
%description
2048 is a single-player sliding block puzzle game, in which the
objective is to slide and merge same-numbered tiles on a grid to
reach higher numbers.
%lang_package
%prep
%setup -q
%build
%configure
%install
%make_install
%suse_update_desktop_file org.gnome.gnome-2048 Games Amusement
%find_lang %{name}
%files
%license COPYING
%{_bindir}/gnome-2048
%dir %{_datadir}/appdata
%{_datadir}/appdata/org.gnome.gnome-2048.appdata.xml
%{_datadir}/applications/org.gnome.gnome-2048.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.2048.gschema.xml
%{_datadir}/icons/hicolor/*/apps/gnome-2048*
%files lang -f %{name}.lang
%changelog