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