]>
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 | |
67cf31d2 | 4 | Version: 3.22.1 |
0f73612b JB |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Games | |
67cf31d2 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.22/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 97daff7427a19c5dfed225e26442e283 | |
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 | |
2c42335d MB |
14 | BuildRequires: clutter-devel >= 1.22.0 |
15 | BuildRequires: clutter-gtk-devel >= 1.4.0 | |
16 | BuildRequires: glib2-devel >= 1:2.40.0 | |
0f73612b | 17 | BuildRequires: gnome-common |
2c42335d MB |
18 | BuildRequires: gtk+3-devel >= 3.18.0 |
19 | BuildRequires: intltool >= 0.50.2 | |
0f73612b | 20 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
67cf31d2 | 21 | BuildRequires: libgnome-games-support-devel |
2c42335d | 22 | BuildRequires: libgee-devel |
0f73612b JB |
23 | BuildRequires: librsvg-devel >= 2.32.0 |
24 | BuildRequires: pkgconfig | |
2c42335d | 25 | BuildRequires: vala >= 2:0.28.0 |
0f73612b JB |
26 | BuildRequires: yelp-tools |
27 | Requires(post,postun): gtk-update-icon-cache | |
28 | Requires(post,postun): glib2 >= 1:2.26.0 | |
2c42335d MB |
29 | Requires: clutter >= 1.22.0 |
30 | Requires: clutter-gtk >= 1.4.0 | |
31 | Requires: glib2 >= 1:2.40.0 | |
32 | Requires: gtk+3 >= 3.18.0 | |
0f73612b JB |
33 | Requires: hicolor-icon-theme |
34 | Requires: libcanberra-gtk3 >= 0.26 | |
35 | Requires: librsvg >= 2.32.0 | |
36 | Provides: gnome-games-gnibbles = 1:%{version}-%{release} | |
37 | Obsoletes: gnome-games-gnibbles < 1:3.8.0 | |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
40 | %description | |
41 | GNOME Nibbles is a game where the user controls a snake. The snake | |
42 | moves around the board, eating diamonds while avoiding the walls | |
2c42335d | 43 | placed around it. |
0f73612b JB |
44 | |
45 | %description -l pl.UTF-8 | |
46 | GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż | |
47 | przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze | |
48 | ścianami. | |
49 | ||
50 | %prep | |
51 | %setup -q | |
52 | ||
53 | %build | |
54 | %{__intltoolize} | |
55 | %{__aclocal} | |
56 | %{__autoconf} | |
0f73612b JB |
57 | %{__automake} |
58 | %configure \ | |
59 | --disable-silent-rules | |
60 | ||
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %find_lang %{name} --with-gnome | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post | |
75 | %glib_compile_schemas | |
0f73612b JB |
76 | %update_icon_cache hicolor |
77 | ||
78 | %postun | |
79 | %glib_compile_schemas | |
0f73612b JB |
80 | %update_icon_cache hicolor |
81 | ||
82 | %files -f %{name}.lang | |
83 | %defattr(644,root,root,755) | |
84 | %doc NEWS | |
85 | %attr(755,root,root) %{_bindir}/gnome-nibbles | |
2c42335d | 86 | %{_datadir}/appdata/org.gnome.Nibbles.appdata.xml |
0f73612b JB |
87 | %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml |
88 | %{_datadir}/gnome-nibbles | |
2c42335d | 89 | %{_desktopdir}/org.gnome.Nibbles.desktop |
33e4f627 | 90 | %{_iconsdir}/hicolor/*x*/apps/gnome-nibbles.png |
0f73612b | 91 | %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg |
2c42335d | 92 | %{_iconsdir}/hicolor/symbolic/apps/gnome-nibbles-symbolic.svg |
0f73612b | 93 | %{_mandir}/man6/gnome-nibbles.6* |