]> git.pld-linux.org Git - packages/gnome-nibbles.git/blob - gnome-nibbles.spec
- updated to 3.36.0
[packages/gnome-nibbles.git] / gnome-nibbles.spec
1 Summary:        GNOME Nibbles - classic snake game
2 Summary(pl.UTF-8):      Nibbles dla GNOME - klasyczna gra w węża
3 Name:           gnome-nibbles
4 Version:        3.36.0
5 Release:        1
6 License:        GPL v3+
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.36/%{name}-%{version}.tar.xz
9 # Source0-md5:  ace2930d7d3df89e56436a6098e279dd
10 URL:            https://wiki.gnome.org/Apps/Nibbles
11 BuildRequires:  appstream-glib
12 BuildRequires:  clutter-devel >= 1.22.0
13 BuildRequires:  clutter-gtk-devel >= 1.4.0
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel >= 1:2.40.0
16 BuildRequires:  gsound-devel >= 1.0.2
17 BuildRequires:  gtk+3-devel >= 3.18.0
18 BuildRequires:  libgnome-games-support-devel >= 1
19 BuildRequires:  libgee-devel >= 0.8
20 BuildRequires:  librsvg-devel >= 1:2.32.0
21 BuildRequires:  meson >= 0.44.1
22 BuildRequires:  ninja >= 1.5
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.736
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  vala >= 2:0.28.0
27 BuildRequires:  vala-gsound >= 1.0.2
28 BuildRequires:  vala-libgee >= 0.8
29 BuildRequires:  vala-libgnome-games-support >= 1
30 BuildRequires:  xz
31 BuildRequires:  yelp-tools
32 Requires(post,postun):  gtk-update-icon-cache
33 Requires(post,postun):  glib2 >= 1:2.40.0
34 Requires:       clutter >= 1.22.0
35 Requires:       clutter-gtk >= 1.4.0
36 Requires:       glib2 >= 1:2.40.0
37 Requires:       gsound >= 1.0.2
38 Requires:       gtk+3 >= 3.18.0
39 Requires:       hicolor-icon-theme
40 Requires:       librsvg >= 1:2.32.0
41 Provides:       gnome-games-gnibbles = 1:%{version}-%{release}
42 Obsoletes:      gnome-games-gnibbles < 1:3.8.0
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 GNOME Nibbles is a game where the user controls a snake. The snake
47 moves around the board, eating diamonds while avoiding the walls
48 placed around it.
49
50 %description -l pl.UTF-8
51 GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
52 przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze
53 ścianami.
54
55 %prep
56 %setup -q
57
58 %build
59 %meson build
60
61 %ninja_build -C build
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %ninja_install -C build
67
68 %find_lang %{name} --with-gnome
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %glib_compile_schemas
75 %update_icon_cache hicolor
76
77 %postun
78 %glib_compile_schemas
79 %update_icon_cache hicolor
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc NEWS
84 %attr(755,root,root) %{_bindir}/gnome-nibbles
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/*x*/apps/org.gnome.Nibbles.png
90 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Nibbles.svg
91 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Nibbles-symbolic.svg
92 %{_mandir}/man6/gnome-nibbles.6*
This page took 0.042658 seconds and 4 git commands to generate.