]> git.pld-linux.org Git - packages/gnome-nibbles.git/blob - gnome-nibbles.spec
- release 2 (by relup.sh)
[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.24.0
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.24/%{name}-%{version}.tar.xz
9 # Source0-md5:  dc0684ee05bbf873518994c31109bc94
10 URL:            https://wiki.gnome.org/Apps/Nibbles
11 BuildRequires:  appstream-glib-devel
12 BuildRequires:  autoconf >= 2.63
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  clutter-devel >= 1.22.0
15 BuildRequires:  clutter-gtk-devel >= 1.4.0
16 BuildRequires:  glib2-devel >= 1:2.40.0
17 BuildRequires:  gtk+3-devel >= 3.18.0
18 BuildRequires:  intltool >= 0.50.2
19 BuildRequires:  libcanberra-gtk3-devel >= 0.26
20 BuildRequires:  libgnome-games-support-devel >= 1
21 BuildRequires:  libgee-devel >= 0.8
22 BuildRequires:  librsvg-devel >= 2.32.0
23 BuildRequires:  pkgconfig
24 BuildRequires:  vala >= 2:0.28.0
25 BuildRequires:  yelp-tools
26 Requires(post,postun):  gtk-update-icon-cache
27 Requires(post,postun):  glib2 >= 1:2.40.0
28 Requires:       clutter >= 1.22.0
29 Requires:       clutter-gtk >= 1.4.0
30 Requires:       glib2 >= 1:2.40.0
31 Requires:       gtk+3 >= 3.18.0
32 Requires:       hicolor-icon-theme
33 Requires:       libcanberra-gtk3 >= 0.26
34 Requires:       librsvg >= 2.32.0
35 Provides:       gnome-games-gnibbles = 1:%{version}-%{release}
36 Obsoletes:      gnome-games-gnibbles < 1:3.8.0
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 GNOME Nibbles is a game where the user controls a snake. The snake
41 moves around the board, eating diamonds while avoiding the walls
42 placed around it.
43
44 %description -l pl.UTF-8
45 GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
46 przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze
47 ścianami.
48
49 %prep
50 %setup -q
51
52 %build
53 %{__intltoolize}
54 %{__aclocal} -I m4
55 %{__autoconf}
56 %{__automake}
57 %configure \
58         --disable-silent-rules
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
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}/appdata/org.gnome.Nibbles.appdata.xml
86 %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
87 %{_datadir}/gnome-nibbles
88 %{_desktopdir}/org.gnome.Nibbles.desktop
89 %{_iconsdir}/hicolor/*x*/apps/gnome-nibbles.png
90 %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg
91 %{_iconsdir}/hicolor/symbolic/apps/gnome-nibbles-symbolic.svg
92 %{_mandir}/man6/gnome-nibbles.6*
This page took 0.071142 seconds and 4 git commands to generate.