]>
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 | |
166d9850 JB |
4 | Version: 3.32.0 |
5 | Release: 1 | |
0f73612b JB |
6 | License: GPL v2+ |
7 | Group: X11/Applications/Games | |
166d9850 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.32/%{name}-%{version}.tar.xz |
9 | # Source0-md5: d0171d4f149fafed9f8da9c2a507effe | |
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 | |
2c42335d MB |
17 | BuildRequires: gtk+3-devel >= 3.18.0 |
18 | BuildRequires: intltool >= 0.50.2 | |
0f73612b | 19 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
5980de3f JB |
20 | BuildRequires: libgnome-games-support-devel >= 1 |
21 | BuildRequires: libgee-devel >= 0.8 | |
0f73612b JB |
22 | BuildRequires: librsvg-devel >= 2.32.0 |
23 | BuildRequires: pkgconfig | |
2c42335d | 24 | BuildRequires: vala >= 2:0.28.0 |
0f73612b JB |
25 | BuildRequires: yelp-tools |
26 | Requires(post,postun): gtk-update-icon-cache | |
5980de3f | 27 | Requires(post,postun): glib2 >= 1:2.40.0 |
2c42335d MB |
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 | |
0f73612b JB |
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) | |
38 | ||
39 | %description | |
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 | |
2c42335d | 42 | placed around it. |
0f73612b JB |
43 | |
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 | |
47 | ścianami. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
53 | %{__intltoolize} | |
5980de3f | 54 | %{__aclocal} -I m4 |
0f73612b | 55 | %{__autoconf} |
0f73612b JB |
56 | %{__automake} |
57 | %configure \ | |
58 | --disable-silent-rules | |
59 | ||
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %find_lang %{name} --with-gnome | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
74 | %glib_compile_schemas | |
0f73612b JB |
75 | %update_icon_cache hicolor |
76 | ||
77 | %postun | |
78 | %glib_compile_schemas | |
0f73612b JB |
79 | %update_icon_cache hicolor |
80 | ||
81 | %files -f %{name}.lang | |
82 | %defattr(644,root,root,755) | |
83 | %doc NEWS | |
84 | %attr(755,root,root) %{_bindir}/gnome-nibbles | |
0f73612b JB |
85 | %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml |
86 | %{_datadir}/gnome-nibbles | |
166d9850 | 87 | %{_datadir}/metainfo/org.gnome.Nibbles.appdata.xml |
2c42335d | 88 | %{_desktopdir}/org.gnome.Nibbles.desktop |
33e4f627 | 89 | %{_iconsdir}/hicolor/*x*/apps/gnome-nibbles.png |
0f73612b | 90 | %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg |
2c42335d | 91 | %{_iconsdir}/hicolor/symbolic/apps/gnome-nibbles-symbolic.svg |
0f73612b | 92 | %{_mandir}/man6/gnome-nibbles.6* |