]>
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 | |
c9af7100 | 4 | Version: 3.38.1 |
166d9850 | 5 | Release: 1 |
89a6b8e7 | 6 | License: GPL v3+ |
0f73612b | 7 | Group: X11/Applications/Games |
93130859 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.38/%{name}-%{version}.tar.xz |
c9af7100 | 9 | # Source0-md5: 596ca4e8a1d992e5e73398a9a8dd3cd0 |
0f73612b | 10 | URL: https://wiki.gnome.org/Apps/Nibbles |
89a6b8e7 | 11 | BuildRequires: appstream-glib |
2c42335d MB |
12 | BuildRequires: clutter-devel >= 1.22.0 |
13 | BuildRequires: clutter-gtk-devel >= 1.4.0 | |
89a6b8e7 | 14 | BuildRequires: gettext-tools |
93130859 | 15 | BuildRequires: glib2-devel >= 1:2.42.0 |
89a6b8e7 | 16 | BuildRequires: gsound-devel >= 1.0.2 |
93130859 JB |
17 | BuildRequires: gtk+3-devel >= 3.24.0 |
18 | BuildRequires: libgnome-games-support-devel >= 1.7.1 | |
5980de3f | 19 | BuildRequires: libgee-devel >= 0.8 |
89a6b8e7 | 20 | BuildRequires: librsvg-devel >= 1:2.32.0 |
93130859 | 21 | BuildRequires: meson >= 0.50.1 |
89a6b8e7 | 22 | BuildRequires: ninja >= 1.5 |
0f73612b | 23 | BuildRequires: pkgconfig |
89a6b8e7 JB |
24 | BuildRequires: rpmbuild(macros) >= 1.736 |
25 | BuildRequires: tar >= 1:1.22 | |
2c42335d | 26 | BuildRequires: vala >= 2:0.28.0 |
89a6b8e7 JB |
27 | BuildRequires: vala-gsound >= 1.0.2 |
28 | BuildRequires: vala-libgee >= 0.8 | |
93130859 | 29 | BuildRequires: vala-libgnome-games-support >= 1.7.1 |
89a6b8e7 | 30 | BuildRequires: xz |
0f73612b JB |
31 | BuildRequires: yelp-tools |
32 | Requires(post,postun): gtk-update-icon-cache | |
93130859 | 33 | Requires(post,postun): glib2 >= 1:2.42.0 |
2c42335d MB |
34 | Requires: clutter >= 1.22.0 |
35 | Requires: clutter-gtk >= 1.4.0 | |
93130859 | 36 | Requires: glib2 >= 1:2.42.0 |
89a6b8e7 | 37 | Requires: gsound >= 1.0.2 |
93130859 | 38 | Requires: gtk+3 >= 3.24.0 |
0f73612b | 39 | Requires: hicolor-icon-theme |
93130859 | 40 | Requires: libgnome-games-support >= 1.7.1 |
89a6b8e7 | 41 | Requires: librsvg >= 1:2.32.0 |
0f73612b JB |
42 | Provides: gnome-games-gnibbles = 1:%{version}-%{release} |
43 | Obsoletes: gnome-games-gnibbles < 1:3.8.0 | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
47 | GNOME Nibbles is a game where the user controls a snake. The snake | |
48 | moves around the board, eating diamonds while avoiding the walls | |
2c42335d | 49 | placed around it. |
0f73612b JB |
50 | |
51 | %description -l pl.UTF-8 | |
52 | GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż | |
53 | przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze | |
54 | ścianami. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
89a6b8e7 | 60 | %meson build |
0f73612b | 61 | |
89a6b8e7 | 62 | %ninja_build -C build |
0f73612b JB |
63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
89a6b8e7 | 67 | %ninja_install -C build |
0f73612b JB |
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 | |
93130859 JB |
86 | %{_datadir}/dbus-1/services/org.gnome.Nibbles.service |
87 | %{_datadir}/glib-2.0/schemas/org.gnome.Nibbles.gschema.xml | |
0f73612b | 88 | %{_datadir}/gnome-nibbles |
166d9850 | 89 | %{_datadir}/metainfo/org.gnome.Nibbles.appdata.xml |
2c42335d | 90 | %{_desktopdir}/org.gnome.Nibbles.desktop |
89a6b8e7 JB |
91 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Nibbles.svg |
92 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Nibbles-symbolic.svg | |
0f73612b | 93 | %{_mandir}/man6/gnome-nibbles.6* |