]> git.pld-linux.org Git - packages/gnome-nibbles.git/blame - gnome-nibbles.spec
- updated to 3.38.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
c9af7100 4Version: 3.38.1
166d9850 5Release: 1
89a6b8e7 6License: GPL v3+
0f73612b 7Group: X11/Applications/Games
93130859 8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.38/%{name}-%{version}.tar.xz
c9af7100 9# Source0-md5: 596ca4e8a1d992e5e73398a9a8dd3cd0
0f73612b 10URL: https://wiki.gnome.org/Apps/Nibbles
89a6b8e7 11BuildRequires: appstream-glib
2c42335d
MB
12BuildRequires: clutter-devel >= 1.22.0
13BuildRequires: clutter-gtk-devel >= 1.4.0
89a6b8e7 14BuildRequires: gettext-tools
93130859 15BuildRequires: glib2-devel >= 1:2.42.0
89a6b8e7 16BuildRequires: gsound-devel >= 1.0.2
93130859
JB
17BuildRequires: gtk+3-devel >= 3.24.0
18BuildRequires: libgnome-games-support-devel >= 1.7.1
5980de3f 19BuildRequires: libgee-devel >= 0.8
89a6b8e7 20BuildRequires: librsvg-devel >= 1:2.32.0
93130859 21BuildRequires: meson >= 0.50.1
89a6b8e7 22BuildRequires: ninja >= 1.5
0f73612b 23BuildRequires: pkgconfig
89a6b8e7
JB
24BuildRequires: rpmbuild(macros) >= 1.736
25BuildRequires: tar >= 1:1.22
2c42335d 26BuildRequires: vala >= 2:0.28.0
89a6b8e7
JB
27BuildRequires: vala-gsound >= 1.0.2
28BuildRequires: vala-libgee >= 0.8
93130859 29BuildRequires: vala-libgnome-games-support >= 1.7.1
89a6b8e7 30BuildRequires: xz
0f73612b
JB
31BuildRequires: yelp-tools
32Requires(post,postun): gtk-update-icon-cache
93130859 33Requires(post,postun): glib2 >= 1:2.42.0
2c42335d
MB
34Requires: clutter >= 1.22.0
35Requires: clutter-gtk >= 1.4.0
93130859 36Requires: glib2 >= 1:2.42.0
89a6b8e7 37Requires: gsound >= 1.0.2
93130859 38Requires: gtk+3 >= 3.24.0
0f73612b 39Requires: hicolor-icon-theme
93130859 40Requires: libgnome-games-support >= 1.7.1
89a6b8e7 41Requires: librsvg >= 1:2.32.0
0f73612b
JB
42Provides: gnome-games-gnibbles = 1:%{version}-%{release}
43Obsoletes: gnome-games-gnibbles < 1:3.8.0
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
47GNOME Nibbles is a game where the user controls a snake. The snake
48moves around the board, eating diamonds while avoiding the walls
2c42335d 49placed around it.
0f73612b
JB
50
51%description -l pl.UTF-8
52GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
53przemieszcza 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
65rm -rf $RPM_BUILD_ROOT
66
89a6b8e7 67%ninja_install -C build
0f73612b
JB
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
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*
This page took 0.121888 seconds and 4 git commands to generate.