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.18/%{name}-%{version}.tar.xz
9 # Source0-md5: e4adb6cfdd55b60e9aeecad978bc5257
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.14.4
15 BuildRequires: clutter-gtk-devel >= 1.2.0
16 BuildRequires: gnome-common
17 BuildRequires: gtk+3-devel >= 3.15.0
18 BuildRequires: intltool >= 0.50
19 BuildRequires: libcanberra-gtk3-devel >= 0.26
20 BuildRequires: librsvg-devel >= 2.32.0
21 BuildRequires: pkgconfig
22 BuildRequires: yelp-tools
23 Requires(post,postun): gtk-update-icon-cache
24 Requires(post,postun): glib2 >= 1:2.26.0
25 Requires: clutter >= 1.14.4
26 Requires: clutter-gtk >= 1.2.0
27 Requires: gtk+3 >= 3.15.0
28 Requires: hicolor-icon-theme
29 Requires: libcanberra-gtk3 >= 0.26
30 Requires: librsvg >= 2.32.0
31 Provides: gnome-games-gnibbles = 1:%{version}-%{release}
32 Obsoletes: gnome-games-gnibbles < 1:3.8.0
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 GNOME Nibbles is a game where the user controls a snake. The snake
37 moves around the board, eating diamonds while avoiding the walls
40 %description -l pl.UTF-8
41 GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
42 przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze
55 --disable-silent-rules
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
65 %find_lang %{name} --with-gnome
68 rm -rf $RPM_BUILD_ROOT
72 %update_icon_cache hicolor
76 %update_icon_cache hicolor
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/gnome-nibbles
82 %{_datadir}/appdata/gnome-nibbles.appdata.xml
83 %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
84 %{_datadir}/gnome-nibbles
85 %{_desktopdir}/gnome-nibbles.desktop
86 %{_iconsdir}/hicolor/*x*/apps/gnome-nibbles.png
87 %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg
88 %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles-symbolic.svg
89 %{_mandir}/man6/gnome-nibbles.6*