1 Summary: GNOME Nibbles - classic snake game
2 Summary(pl.UTF-8): Nibbles dla GNOME - klasyczna gra w węża
7 Group: X11/Applications/Games
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.24/%{name}-%{version}.tar.xz
9 # Source0-md5: dc0684ee05bbf873518994c31109bc94
10 URL: https://wiki.gnome.org/Apps/Nibbles
11 BuildRequires: appstream-glib-devel
12 BuildRequires: autoconf >= 2.63
13 BuildRequires: automake >= 1:1.11
14 BuildRequires: clutter-devel >= 1.22.0
15 BuildRequires: clutter-gtk-devel >= 1.4.0
16 BuildRequires: glib2-devel >= 1:2.40.0
17 BuildRequires: gtk+3-devel >= 3.18.0
18 BuildRequires: intltool >= 0.50.2
19 BuildRequires: libcanberra-gtk3-devel >= 0.26
20 BuildRequires: libgnome-games-support-devel >= 1
21 BuildRequires: libgee-devel >= 0.8
22 BuildRequires: librsvg-devel >= 2.32.0
23 BuildRequires: pkgconfig
24 BuildRequires: vala >= 2:0.28.0
25 BuildRequires: yelp-tools
26 Requires(post,postun): gtk-update-icon-cache
27 Requires(post,postun): glib2 >= 1:2.40.0
28 Requires: clutter >= 1.22.0
29 Requires: clutter-gtk >= 1.4.0
30 Requires: glib2 >= 1:2.40.0
31 Requires: gtk+3 >= 3.18.0
32 Requires: hicolor-icon-theme
33 Requires: libcanberra-gtk3 >= 0.26
34 Requires: librsvg >= 2.32.0
35 Provides: gnome-games-gnibbles = 1:%{version}-%{release}
36 Obsoletes: gnome-games-gnibbles < 1:3.8.0
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 GNOME Nibbles is a game where the user controls a snake. The snake
41 moves around the board, eating diamonds while avoiding the walls
44 %description -l pl.UTF-8
45 GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
46 przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze
58 --disable-silent-rules
63 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
68 %find_lang %{name} --with-gnome
71 rm -rf $RPM_BUILD_ROOT
75 %update_icon_cache hicolor
79 %update_icon_cache hicolor
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/gnome-nibbles
85 %{_datadir}/appdata/org.gnome.Nibbles.appdata.xml
86 %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
87 %{_datadir}/gnome-nibbles
88 %{_desktopdir}/org.gnome.Nibbles.desktop
89 %{_iconsdir}/hicolor/*x*/apps/gnome-nibbles.png
90 %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg
91 %{_iconsdir}/hicolor/symbolic/apps/gnome-nibbles-symbolic.svg
92 %{_mandir}/man6/gnome-nibbles.6*