]>
Commit | Line | Data |
---|---|---|
0f73612b JB |
1 | Summary: GNOME Nibbles - classic snake game |
2 | Summary(pl.UTF-8): Nibbles dla GNOME - klasyczna gra w węża | |
3 | Name: gnome-nibbles | |
063437fe | 4 | Version: 3.18.1 |
0f73612b JB |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Games | |
063437fe JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.18/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 050e529152f18daef5e9285be7342e9d | |
0f73612b | 10 | URL: https://wiki.gnome.org/Apps/Nibbles |
33e4f627 | 11 | BuildRequires: appstream-glib-devel |
0f73612b JB |
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 | |
33e4f627 | 17 | BuildRequires: gtk+3-devel >= 3.15.0 |
0f73612b JB |
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 | |
33e4f627 | 27 | Requires: gtk+3 >= 3.15.0 |
0f73612b JB |
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) | |
34 | ||
35 | %description | |
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 | |
38 | placed around it. | |
39 | ||
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 | |
43 | ścianami. | |
44 | ||
45 | %prep | |
46 | %setup -q | |
47 | ||
48 | %build | |
49 | %{__intltoolize} | |
50 | %{__aclocal} | |
51 | %{__autoconf} | |
52 | %{__autoheader} | |
53 | %{__automake} | |
54 | %configure \ | |
55 | --disable-silent-rules | |
56 | ||
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %find_lang %{name} --with-gnome | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post | |
71 | %glib_compile_schemas | |
0f73612b JB |
72 | %update_icon_cache hicolor |
73 | ||
74 | %postun | |
75 | %glib_compile_schemas | |
0f73612b JB |
76 | %update_icon_cache hicolor |
77 | ||
78 | %files -f %{name}.lang | |
79 | %defattr(644,root,root,755) | |
80 | %doc NEWS | |
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 | |
33e4f627 | 86 | %{_iconsdir}/hicolor/*x*/apps/gnome-nibbles.png |
0f73612b | 87 | %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg |
33e4f627 | 88 | %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles-symbolic.svg |
0f73612b | 89 | %{_mandir}/man6/gnome-nibbles.6* |