]> git.pld-linux.org Git - packages/gnome-nibbles.git/blame - gnome-nibbles.spec
- updated to 4.0.3
[packages/gnome-nibbles.git] / gnome-nibbles.spec
CommitLineData
c0925c66 1# TODO: use gtk4-update-icon-cache
0f73612b
JB
2Summary: GNOME Nibbles - classic snake game
3Summary(pl.UTF-8): Nibbles dla GNOME - klasyczna gra w węża
4Name: gnome-nibbles
40086541 5Version: 4.0.3
166d9850 6Release: 1
89a6b8e7 7License: GPL v3+
0f73612b 8Group: X11/Applications/Games
c0925c66 9Source0: https://download.gnome.org/sources/gnome-nibbles/4.0/%{name}-%{version}.tar.xz
40086541 10# Source0-md5: c000d7db2943f506e88653637719aa73
0f73612b 11URL: https://wiki.gnome.org/Apps/Nibbles
89a6b8e7 12BuildRequires: appstream-glib
89a6b8e7 13BuildRequires: gettext-tools
c0925c66 14BuildRequires: glib2-devel >= 1:2.66.0
89a6b8e7 15BuildRequires: gsound-devel >= 1.0.2
c0925c66
JB
16BuildRequires: gtk4-devel >= 4.6
17BuildRequires: libgnome-games-support2-devel >= 2.0.0
5980de3f 18BuildRequires: libgee-devel >= 0.8
89a6b8e7 19BuildRequires: librsvg-devel >= 1:2.32.0
c0925c66 20BuildRequires: meson >= 0.62
89a6b8e7 21BuildRequires: ninja >= 1.5
c0925c66 22BuildRequires: pango-devel >= 1:1.10
0f73612b 23BuildRequires: pkgconfig
89a6b8e7
JB
24BuildRequires: rpmbuild(macros) >= 1.736
25BuildRequires: tar >= 1:1.22
c0925c66 26BuildRequires: vala >= 2:0.44
89a6b8e7
JB
27BuildRequires: vala-gsound >= 1.0.2
28BuildRequires: vala-libgee >= 0.8
c0925c66 29BuildRequires: vala-libgnome-games-support2 >= 2.0.0
89a6b8e7 30BuildRequires: xz
0f73612b
JB
31BuildRequires: yelp-tools
32Requires(post,postun): gtk-update-icon-cache
c0925c66
JB
33Requires(post,postun): glib2 >= 1:2.66.0
34Requires: glib2 >= 1:2.66.0
89a6b8e7 35Requires: gsound >= 1.0.2
c0925c66 36Requires: gtk4 >= 4.6
0f73612b 37Requires: hicolor-icon-theme
c0925c66 38Requires: libgnome-games-support2 >= 2.0.0
89a6b8e7 39Requires: librsvg >= 1:2.32.0
0f73612b
JB
40Provides: gnome-games-gnibbles = 1:%{version}-%{release}
41Obsoletes: gnome-games-gnibbles < 1:3.8.0
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45GNOME Nibbles is a game where the user controls a snake. The snake
46moves around the board, eating diamonds while avoiding the walls
2c42335d 47placed around it.
0f73612b
JB
48
49%description -l pl.UTF-8
50GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
51przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze
52ścianami.
53
54%prep
55%setup -q
56
57%build
89a6b8e7 58%meson build
0f73612b 59
89a6b8e7 60%ninja_build -C build
0f73612b
JB
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
89a6b8e7 65%ninja_install -C build
0f73612b
JB
66
67%find_lang %{name} --with-gnome
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post
73%glib_compile_schemas
0f73612b
JB
74%update_icon_cache hicolor
75
76%postun
77%glib_compile_schemas
0f73612b
JB
78%update_icon_cache hicolor
79
80%files -f %{name}.lang
81%defattr(644,root,root,755)
82%doc NEWS
83%attr(755,root,root) %{_bindir}/gnome-nibbles
93130859
JB
84%{_datadir}/dbus-1/services/org.gnome.Nibbles.service
85%{_datadir}/glib-2.0/schemas/org.gnome.Nibbles.gschema.xml
0f73612b 86%{_datadir}/gnome-nibbles
166d9850 87%{_datadir}/metainfo/org.gnome.Nibbles.appdata.xml
2c42335d 88%{_desktopdir}/org.gnome.Nibbles.desktop
89a6b8e7
JB
89%{_iconsdir}/hicolor/scalable/apps/org.gnome.Nibbles.svg
90%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Nibbles-symbolic.svg
0f73612b 91%{_mandir}/man6/gnome-nibbles.6*
This page took 0.294175 seconds and 4 git commands to generate.