]> git.pld-linux.org Git - packages/gnome-nibbles.git/blame - gnome-nibbles.spec
- updated to 3.18.1
[packages/gnome-nibbles.git] / gnome-nibbles.spec
CommitLineData
0f73612b
JB
1Summary: GNOME Nibbles - classic snake game
2Summary(pl.UTF-8): Nibbles dla GNOME - klasyczna gra w węża
3Name: gnome-nibbles
063437fe 4Version: 3.18.1
0f73612b
JB
5Release: 1
6License: GPL v2+
7Group: X11/Applications/Games
063437fe
JB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.18/%{name}-%{version}.tar.xz
9# Source0-md5: 050e529152f18daef5e9285be7342e9d
0f73612b 10URL: https://wiki.gnome.org/Apps/Nibbles
33e4f627 11BuildRequires: appstream-glib-devel
0f73612b
JB
12BuildRequires: autoconf >= 2.63
13BuildRequires: automake >= 1:1.11
14BuildRequires: clutter-devel >= 1.14.4
15BuildRequires: clutter-gtk-devel >= 1.2.0
16BuildRequires: gnome-common
33e4f627 17BuildRequires: gtk+3-devel >= 3.15.0
0f73612b
JB
18BuildRequires: intltool >= 0.50
19BuildRequires: libcanberra-gtk3-devel >= 0.26
20BuildRequires: librsvg-devel >= 2.32.0
21BuildRequires: pkgconfig
22BuildRequires: yelp-tools
23Requires(post,postun): gtk-update-icon-cache
24Requires(post,postun): glib2 >= 1:2.26.0
25Requires: clutter >= 1.14.4
26Requires: clutter-gtk >= 1.2.0
33e4f627 27Requires: gtk+3 >= 3.15.0
0f73612b
JB
28Requires: hicolor-icon-theme
29Requires: libcanberra-gtk3 >= 0.26
30Requires: librsvg >= 2.32.0
31Provides: gnome-games-gnibbles = 1:%{version}-%{release}
32Obsoletes: gnome-games-gnibbles < 1:3.8.0
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36GNOME Nibbles is a game where the user controls a snake. The snake
37moves around the board, eating diamonds while avoiding the walls
38placed around it.
39
40%description -l pl.UTF-8
41GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
42przemieszcza 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
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%find_lang %{name} --with-gnome
66
67%clean
68rm -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*
This page took 0.129345 seconds and 4 git commands to generate.