]> git.pld-linux.org Git - packages/gnome-nibbles.git/blob - gnome-nibbles.spec
- new
[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.12.2
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.12/%{name}-%{version}.tar.xz
9 # Source0-md5:  2d06f838e6505a216ff18f5d6f32387e
10 URL:            https://wiki.gnome.org/Apps/Nibbles
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  clutter-devel >= 1.14.4
14 BuildRequires:  clutter-gtk-devel >= 1.2.0
15 BuildRequires:  gnome-common
16 BuildRequires:  gtk+3-devel >= 3.10.0
17 BuildRequires:  intltool >= 0.50
18 BuildRequires:  libcanberra-gtk3-devel >= 0.26
19 BuildRequires:  librsvg-devel >= 2.32.0
20 BuildRequires:  pkgconfig
21 BuildRequires:  yelp-tools
22 Requires(post,postun):  gtk-update-icon-cache
23 Requires(post,postun):  glib2 >= 1:2.26.0
24 Requires:       clutter >= 1.14.4
25 Requires:       clutter-gtk >= 1.2.0
26 Requires:       gtk+3 >= 3.10.0
27 Requires:       hicolor-icon-theme
28 Requires:       libcanberra-gtk3 >= 0.26
29 Requires:       librsvg >= 2.32.0
30 Provides:       gnome-games-gnibbles = 1:%{version}-%{release}
31 Obsoletes:      gnome-games-gnibbles < 1:3.8.0
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 GNOME Nibbles is a game where the user controls a snake. The snake
36 moves around the board, eating diamonds while avoiding the walls
37 placed around it. 
38
39 %description -l pl.UTF-8
40 GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
41 przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze
42 ścianami.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__intltoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --disable-silent-rules
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %find_lang %{name} --with-gnome
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %glib_compile_schemas
71 %update_icon_cache HighContrast
72 %update_icon_cache hicolor
73
74 %postun
75 %glib_compile_schemas
76 %update_icon_cache HighContrast
77 %update_icon_cache hicolor
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc NEWS
82 %attr(755,root,root) %{_bindir}/gnome-nibbles
83 %{_datadir}/appdata/gnome-nibbles.appdata.xml
84 %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
85 %{_datadir}/gnome-nibbles
86 %{_desktopdir}/gnome-nibbles.desktop
87 %{_iconsdir}/HighContrast/*/apps/gnome-nibbles.png
88 %{_iconsdir}/hicolor/*/apps/gnome-nibbles.png
89 %{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg
90 %{_mandir}/man6/gnome-nibbles.6*
This page took 0.050315 seconds and 4 git commands to generate.