commit 83c4b94e3b5b146733b5b447f9bc0b8c7ce3fc79174b322203a7f6514dcca3ba Author: Bjørn Lie Date: Mon Aug 19 14:44:30 2024 +0000 - BuildRequire gettext-devel instead of gettext: allow OBS to shortcut through gettext-runtime-mini OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-nibbles?expand=0&rev=94 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..bfd89b0 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/GNOME/gnome-nibbles.git + 4.0.4 + @PARENT_TAG@+@TAG_OFFSET@ + v?(.*)\+0 + \1 + + + + + *.tar + zst + + + + diff --git a/gnome-nibbles-4.0.4.obscpio b/gnome-nibbles-4.0.4.obscpio new file mode 100644 index 0000000..1852b70 --- /dev/null +++ b/gnome-nibbles-4.0.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c150cff3b73ac4bd795f32d982ba1bfb8c068452614cce8c931c424b4850373f +size 3875340 diff --git a/gnome-nibbles.changes b/gnome-nibbles.changes new file mode 100644 index 0000000..08f46f6 --- /dev/null +++ b/gnome-nibbles.changes @@ -0,0 +1,613 @@ +------------------------------------------------------------------- +Mon Aug 19 11:24:19 UTC 2024 - Dominique Leuenberger + +- BuildRequire gettext-devel instead of gettext: allow OBS to + shortcut through gettext-runtime-mini + +------------------------------------------------------------------- +Wed Apr 17 06:36:01 UTC 2024 - Dominique Leuenberger + +- Update to version 4.0.4: + + Fix compile issue with vala >= 0.57. + + Fix / work around for issue #69 (segfault at game start). + + Updated translations. + +------------------------------------------------------------------- +Fri Mar 15 07:10:48 UTC 2024 - Dominique Leuenberger + +- Update to version 4.0.3: + + Updated translations. + +------------------------------------------------------------------- +Mon Feb 12 15:00:30 UTC 2024 - Dominique Leuenberger + +- Update to version 4.0.2: + + Fixes for compatibility with gcc >= 14.0 & clang >= 16 + + Updated translations. + +------------------------------------------------------------------- +Fri Nov 24 21:14:30 UTC 2023 - Bjørn Lie + +- Update to version 4.0.rc2: + + Dependency changes: + - Updated to use gtk4 (>=4.6) + - libgnome-games-support (>=2.0.0). + - Dropped gtk3, cogl, clutter, clutter-gtk. + - Added pangocairo + - glib target version of 2.78. + + Feature: added a 3D view. + + Fix issues: + - Computer Worms get stuck + - Keys do not work in a non-Latin keyboard layout + + Updated translations. +- Drop pkgconfig(clutter-1.0), pkgconfig(clutter-gtk-1.0), + pkgconfig(gtk+-3.0) and pkgconfig(libgnome-games-support-1) + BuildRequires following upstream changes. +- Add pkgconfig(gtk4), pkgconfig(libgnome-games-support-2) and + pkgconfig(pangocairo) BuildRequires following upstream changes. + +------------------------------------------------------------------- +Tue May 2 08:06:21 UTC 2023 - Bjørn Lie + +- Update to version 3.38.3: + + Fixes to build with newer valac. + + Misc merge requests. + + Updated user help. + + Updated translations. +- Drop 1b48446068608aff9b5edf1fdbd4b8c0d9f0be94.patch: Fixed + upstream. +- Add desktop-file-utils BuildRequires: New dependency. + +------------------------------------------------------------------- +Thu Feb 18 16:32:16 UTC 2021 - Dominique Leuenberger + +- Add 1b48446068608aff9b5edf1fdbd4b8c0d9f0be94.patch: Fix build + with vala 0.51.x. + +------------------------------------------------------------------- +Mon Nov 2 11:46:32 UTC 2020 - Bjørn Lie + +- Update to version 3.38.2: + + Crash fixed. + + Updated translations. + +------------------------------------------------------------------- +Tue Oct 6 07:21:19 UTC 2020 - dimstar@opensuse.org + +- Update to version 3.38.1: + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 14 12:42:44 UTC 2020 - dimstar@opensuse.org + +- Update to version 3.38.0: + + Updated translations. + +------------------------------------------------------------------- +Fri Sep 4 12:06:56 UTC 2020 - dimstar@opensuse.org + +- Update to version 3.37.90: + + Keyboard shortcuts dialog and multiple shortcuts improvements. + + Add various command line arguments. +- Changes from version 3.37.0: + + Rework worms directions code. + + Many fixes to Control screen. + + Remove preferences dialog and create new pre-game screen with + options. + + Many other fixes and improvements. + + Updated translations. + +------------------------------------------------------------------- +Sat Jul 4 09:30:24 UTC 2020 - Bjørn Lie + +- Update to version 3.36.1: + + Fix button label in documentation. + + Fix bug related to parsing colors on non-English versions of + the game. + + Fix end-of-game screen being covered by another view. + + Fix bug causing the game to remain paused if restarted while + being paused. + + Fix right arrow on controls screen in Turkish locale. + + Update translations. + +------------------------------------------------------------------- +Sun Mar 8 21:36:32 UTC 2020 - Bjørn Lie + +- Update to version 3.36.0: + + No changes, stable version update only. + +------------------------------------------------------------------- +Tue Feb 18 16:25:48 UTC 2020 - Dominique Leuenberger + +- Update to version 3.35.90: + + Updated help pages. + + Updated translations. + +------------------------------------------------------------------- +Sat Jan 25 14:11:09 UTC 2020 - Dominique Leuenberger + +- No longer recommend -lang: supplements are in use + +------------------------------------------------------------------- +Sun Jan 5 14:32:59 UTC 2020 - Bjørn Lie + +- Update to version 3.34.2: + + Updated translations. + +------------------------------------------------------------------- +Mon Oct 7 22:22:30 UTC 2019 - Bjørn Lie + +- Update to version 3.34.1: + + Update appdata file. + +------------------------------------------------------------------- +Fri Sep 13 12:21:40 UTC 2019 - Bjørn Lie + +- Update to version 3.34.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 3 19:03:23 CDT 2019 - mgorse@suse.com + +- Update to version 3.33.90: + + Drop libcanberra in favor of gsound. + + Port to meson build system. +- Switch to meson. +- Drop libcanberra from BuildRequires, and add gsound. +- Drop intltool from BuildRequires, and add gettext. +- Require vala to build. +- Adjust icons directory in %files. + +------------------------------------------------------------------- +Mon Aug 5 23:12:50 UTC 2019 - Bjørn Lie + +- Update to version 3.32.0: + + Updated user help. + + Updated translations. + +------------------------------------------------------------------- +Fri Jan 4 21:01:21 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.31.3: + + Fix display of level completed label and next level button. + + Replace app menu with window menu. + + Updated translations. + +------------------------------------------------------------------- +Wed Aug 22 08:18:02 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 3.24.1: + + Fix missing label and button on level completed screen. + + Updated translations. +- Drop hicolor-icon-theme and update-desktop-files BuildRequires + and glib2_gsettings_schema_requires, suse_update_desktop_file + macros, and post(un) handling of glib2_gsettings_schema_post(un), + desktop_database_post(un) and icon_theme_cache_post(un), no + longer needed. +- Use autosetup and make_build macros. +- Add fdupes BuildRequires and corresponding macro, remove dupes. + +------------------------------------------------------------------- +Wed Feb 28 16:29:03 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Mon Mar 20 21:32:00 UTC 2017 - dimstar@opensuse.org + +- Update to version 3.24.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 14 09:17:11 UTC 2017 - zaitor@opensuse.org + +- Update to version 3.23.92: + + Updated translations. + +------------------------------------------------------------------- +Tue Feb 28 15:31:10 UTC 2017 - dimstar@opensuse.org + +- Update to version 3.23.91: + + Updated translations. + +------------------------------------------------------------------- +Tue Nov 22 17:27:37 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.23.2: + + Updated translations. + +------------------------------------------------------------------- +Sat Nov 12 03:23:01 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.23.1: + + Set default widget on level completed screen. + + Updated translations. + +------------------------------------------------------------------- +Fri Nov 11 10:10:44 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.22.2.2: + + Updated translations. +- Changes from version 3.22.2.1: + + Updated translations. +- Changes from version 3.22.2: + + Updated translations. + +------------------------------------------------------------------- +Tue Oct 11 08:43:35 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.22.1: + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 20 11:01:38 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.22.0: + + Updated translations. + +------------------------------------------------------------------- +Wed Sep 14 07:12:06 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.92: + + Updated translations. + +------------------------------------------------------------------- +Tue Aug 30 08:32:25 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.91: + + Fix libgnome-games-support target. + + Updated translations. +- Replace pkgconfig(libgnome-games-support-1.0) BuildRequires with + pkgconfig(libgnome-games-support-1), following upstreams port. + +------------------------------------------------------------------- +Tue Aug 16 13:57:17 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.21.90: + + Set default widgets on new game screens. + + Work around broken GtkStack transitions on Wayland. + + Fix incorrect license displayed in preferences dialog. + + Build with new libgnome-games-support. + + Updated translations. +- Replace pkgconfig(libgames-support-1.0) BuildRequires with + pkgconfig(libgnome-games-support-1.0), following upstreams port. + +------------------------------------------------------------------- +Sun Jul 17 19:05:00 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.4: + + Dist the gresource file. + + Updated translations. + +------------------------------------------------------------------- +Tue Jun 21 18:33:41 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.3: + + Simplify GResource handling. + + Updated translations. +- No longer obsolete gnibbles(-lang), it's been gone sine GNOME + 3.7.x, and there is no support for update from such an old + release anymore. Silences a rpmlint warning. + +------------------------------------------------------------------- +Mon May 23 22:53:57 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.2: + + Updated translations. + +------------------------------------------------------------------- +Mon May 9 18:43:42 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.20.2.1: + + Remove extra file added in the previous pre-release commit. +- Changes from version 3.20.2: + + Updated translations. + +------------------------------------------------------------------- +Mon Apr 11 09:34:29 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.20.1: + + Updated translations. + +------------------------------------------------------------------- +Wed Mar 23 16:25:53 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.20.0: + + Internationalization bugs fixed. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 15 10:34:03 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.19.92: + + Fix a crash when eating a cherry shortly after an apple or a + banana. + + Fix minor style issue. + + Updated translations. + +------------------------------------------------------------------- +Sun Feb 28 21:29:44 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.19.91: + + Fix New Game/Pause buttons during countown. + + Fix sounds played when eating a bonus. + + Restore user help. + + Updated translations. + +------------------------------------------------------------------- +Tue Feb 16 10:16:38 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.19.90: + + Fix CSS problems. + + Add proper end game screens for all possible outcomes. + + Use the new scores import API from libgames-support. + + Fix problem with buttons breaking the game during the end game + screens. + + Fix window size increasing with GTK+ 3.20. + + Fix bug with worm being briefly uncontrollable at the start of + a level. + + Add buttons for selecting the number of AI players. + + Update project license. + + Add screen congratulating the player when reaching the last + level of the game. + + Updated translations. +- Update license tag to GPL-3.0+, following upstreams changes. + +------------------------------------------------------------------- +Tue Jan 19 12:46:37 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.19.4: + + Added preferences dialog. + + Updated translations. + +------------------------------------------------------------------- +Wed Dec 23 13:37:03 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.19.3: + + Make worms spawning on top of other worms ghosts until they + move to a safe area. + + Reset level when starting a new game. +- Changes from version 3.19.2: + + Use gettext. + + Updated translations. +- Add pkgconfig(gee-0.8) and pkgconfig(libgames-support-1.0) + BuildRequires: new dependencies. +- Drop pkgconfig(librsvg-2.0) BuildRequires: no longer needed. + +------------------------------------------------------------------- +Tue Nov 10 07:53:58 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.18.2: + + Updated translations. + +------------------------------------------------------------------- +Sun Oct 11 21:21:47 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.18.1: + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 22 06:33:27 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.18.0: + + Updated translations. + +------------------------------------------------------------------- +Thu Aug 13 19:07:10 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.17.90: + + Fix typos in documentation. + + Updated translations. + +------------------------------------------------------------------- +Wed Jun 24 09:01:16 UTC 2015 - dimstar@opensuse.org + +- Own %{_datadir}/appdata for openSUSE 42. + +------------------------------------------------------------------- +Wed Apr 15 07:23:23 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.16.1: + + Provide symbolic app icon. + + Updated translations. +- Remove HighContrast %icon_theme_cache_post(un) calls, as Symbolic + icons have replaced them. + +------------------------------------------------------------------- +Mon Mar 23 09:01:59 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.16.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 17 08:21:34 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.92: + + Remove the two asserts that crash the most for the "stable" + release. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 3 16:31:26 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.91.1: + + Fix installation of appdata files. + +------------------------------------------------------------------- +Tue Mar 3 08:32:48 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.91: + + Pause game when viewing preferences or scores. + + Use gresource, code cleanups. + + Updated translations. + +------------------------------------------------------------------- +Tue Feb 17 09:11:09 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.90: + + Don't connect to the windowing system when parsing command line + options. + + Don't allow setting the number of human players to zero. + + Updated translations. + +------------------------------------------------------------------- +Mon Oct 13 22:15:15 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.14.1: + + Disable some asserts for stable branch. + +------------------------------------------------------------------- +Mon Sep 22 14:22:03 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.14.0: + + Updated translations. + +------------------------------------------------------------------- +Wed Sep 17 14:47:53 UTC 2014 - dimstar@opensuse.org + +- Drop special permission handling, incl pwdutils Requires: this + was required back when there was a system wide, shared highscore + list. + +------------------------------------------------------------------- +Tue Sep 16 11:21:34 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.13.92: + + Make game delay configurable by debug switch. + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 2 10:06:28 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.13.91: + + Make all animations depend on already existing game delay + constant. + + Updated translations. + +------------------------------------------------------------------- +Tue Aug 19 07:04:45 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.13.90: + + Fix several causes of invisible death worms, but a few known + cases remain. + + The game will now crash whenever an invisible death worm would + be created. + + Fix pause action in app menu. + + Fix resizing the board. + + Remove seriously buggy random teleporter on level 25. + + Use header bar on preferences dialog. + + Don't allow multiple windows. + + Fix small memory leak. + + Code cleanups. + + Updated translations. + +------------------------------------------------------------------- +Sat May 17 08:36:02 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.12.2: + + Set a minimum size correctly, fixed major resize issue. + + Updated translations. + +------------------------------------------------------------------- +Mon Apr 14 05:20:46 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.12.1: + + Properly change the state of the pause action. + + Update URLs. + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 24 07:40:37 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.12.0: + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 17 08:22:48 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.11.92: + + Updated translations. + +------------------------------------------------------------------- +Mon Feb 17 09:41:42 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.11.90.1: + + Added GtkHeaderBar, bumps depends to GTK+ 3.10. + +------------------------------------------------------------------- +Sun Feb 16 09:16:59 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.11.90: + + AppData improvements. +- Replace %suse_update_desktop_file gnibbles with + %suse_update_desktop_file gnome-nibbles. + +------------------------------------------------------------------- +Mon Feb 3 20:38:25 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.11.5: + + GtkApplication Port with new AppMenu. + + Fix scores system and move to storing in home. + + End game will show scores dialog. + + Updated translations. +- Remove calls to handle score files in /var/games. +- Drop gnome-games-scripts BuildRequires: no longer required, as + we no longer have score files in /var/games. + +------------------------------------------------------------------- +Wed Nov 20 16:41:51 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.11.1: + + Added AppData file. + + Minor improvements to translatablity. + + Code and file cleanups. + + Updated translations. + +------------------------------------------------------------------- +Sun Oct 13 11:09:42 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.10.1: + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 23 11:11:00 UTC 2013 - idonmez@suse.com + +- Create games user/group on demand (fate#314560) + + Depend on pwdutils for that to work. + +------------------------------------------------------------------- +Mon Sep 23 07:09:21 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.10.0: + + Updated translations. + +------------------------------------------------------------------- +Sun Sep 15 10:21:19 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.9.92: + + Added an appdata file. + + Disable preferences menu when playing. + + Remove score-dialog that doesn't work. + + Migrated to Clutter 1.14.4. + + Help pages updated. + + Performance improvements and code cleanup. + + Updated translations. + +------------------------------------------------------------------- +Mon Apr 8 17:22:15 UTC 2013 - dimstar@opensuse.org + +- Also obsolete -lang package. + +------------------------------------------------------------------- +Wed Mar 27 07:39:24 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.8.0: + + Renamed .desktop file back to gnibbles.desktop. + + Add HighContrast icon. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 5 20:16:14 UTC 2013 - dimstar@opensuse.org + +- Initial package, version 3.7.90: split-off from gnome-games. + diff --git a/gnome-nibbles.obsinfo b/gnome-nibbles.obsinfo new file mode 100644 index 0000000..d2211d0 --- /dev/null +++ b/gnome-nibbles.obsinfo @@ -0,0 +1,4 @@ +name: gnome-nibbles +version: 4.0.4 +mtime: 1713306881 +commit: 0256867acf6e4df953cbe01818d33b93e7c1684c diff --git a/gnome-nibbles.spec b/gnome-nibbles.spec new file mode 100644 index 0000000..dc7572e --- /dev/null +++ b/gnome-nibbles.spec @@ -0,0 +1,76 @@ +# +# spec file for package gnome-nibbles +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: gnome-nibbles +Version: 4.0.4 +Release: 0 +Summary: Worm Game for GNOME +License: GPL-3.0-or-later +Group: Amusements/Games/Action/Arcade +URL: https://live.gnome.org/Lightsoff +Source0: %{name}-%{version}.tar.zst + +BuildRequires: desktop-file-utils +BuildRequires: fdupes +BuildRequires: gettext-devel +BuildRequires: meson >= 0.50.1 +BuildRequires: pkgconfig +BuildRequires: vala +BuildRequires: yelp-tools +BuildRequires: pkgconfig(gee-0.8) +BuildRequires: pkgconfig(glib-2.0) >= 2.78.0 +BuildRequires: pkgconfig(gsound) >= 1.0.2 +BuildRequires: pkgconfig(gtk4) >= 4.6 +BuildRequires: pkgconfig(libgnome-games-support-2) >= 2.0.0 +BuildRequires: pkgconfig(pangocairo) + +%description +Nibbles is a worm game for GNOME. The player controls a 2D worm while +trying to get food. Getting food gives points, but hitting anything +causes a loss of points. When all points are lost, the player loses. + +%lang_package + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install +%fdupes %{buildroot}/%{_datadir} +%find_lang %{name} %{?no_lang_C} + +%files +%license COPYING +%doc NEWS +%doc %{_datadir}/help/C/%{name}/ +%{_bindir}/%{name} +%{_datadir}/%{name}/ +%{_datadir}/applications/org.gnome.Nibbles.desktop +%{_datadir}/dbus-1/services/org.gnome.Nibbles.service +%{_datadir}/glib-2.0/schemas/org.gnome.Nibbles.gschema.xml +%{_datadir}/icons/hicolor/*/apps/org.gnome.Nibbles*.* +%{_datadir}/metainfo/org.gnome.Nibbles.appdata.xml +%{_mandir}/man6/%{name}.6%{?ext_man} + +%files lang -f %{name}.lang + +%changelog