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