]>
Commit | Line | Data |
---|---|---|
28f37430 | 1 | Summary: A 2048 clone for GNOME |
7ea61cb1 | 2 | Summary(pl.UTF-8): Klon gry 2048 dla GNOME |
28f37430 | 3 | Name: gnome-2048 |
185b4308 | 4 | Version: 3.18.2 |
28f37430 | 5 | Release: 1 |
7ea61cb1 JB |
6 | License: GPL v3+ |
7 | Group: X11/Applications/Games | |
28f37430 | 8 | Source0: http://download.gnome.org/sources/gnome-2048/3.18/%{name}-%{version}.tar.xz |
185b4308 | 9 | # Source0-md5: e0b21309c1454da7b3f86177536dab8f |
28f37430 MB |
10 | URL: https://wiki.gnome.org/Apps/2048 |
11 | BuildRequires: appstream-glib-devel | |
12 | BuildRequires: autoconf >= 2.63 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: clutter-devel >= 1.12.0 | |
15 | BuildRequires: clutter-gtk-devel >= 1.6.0 | |
7ea61cb1 | 16 | BuildRequires: gettext-tools |
28f37430 MB |
17 | BuildRequires: gnome-common |
18 | BuildRequires: gtk+3-devel >= 3.12.0 | |
19 | BuildRequires: intltool >= 0.50.0 | |
20 | BuildRequires: libgames-support-devel >= 0.1 | |
21 | BuildRequires: libgee-devel >= 0.14.0 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: tar >= 1:1.22 | |
24 | BuildRequires: vala >= 2:0.24.0 | |
25 | BuildRequires: xz | |
26 | BuildRequires: yelp-tools | |
7ea61cb1 JB |
27 | Requires(post,postun): glib2 >= 1:2.26.0 |
28 | Requires(post,postun): gtk-update-icon-cache | |
28f37430 MB |
29 | Requires: clutter >= 1.12.0 |
30 | Requires: clutter-gtk >= 1.6.0 | |
31 | Requires: gtk+3 >= 3.12.0 | |
28f37430 | 32 | Requires: hicolor-icon-theme |
7ea61cb1 JB |
33 | Requires: libgames-support >= 0.1 |
34 | Requires: libgee >= 0.14.0 | |
28f37430 MB |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
38 | A GNOME clone of the popular game 2048. | |
39 | ||
7ea61cb1 JB |
40 | %description -l pl.UTF-8 |
41 | Klon popularnej gry 2048 przeznaczony dla środowiska GNOME. | |
42 | ||
28f37430 MB |
43 | %prep |
44 | %setup -q | |
45 | ||
46 | %build | |
47 | %{__intltoolize} | |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__automake} | |
7ea61cb1 JB |
51 | %configure \ |
52 | --disable-silent-rules | |
28f37430 MB |
53 | %{__make} |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %find_lang %{name} --with-gnome | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post | |
67 | %glib_compile_schemas | |
68 | %update_icon_cache hicolor | |
69 | ||
70 | %postun | |
71 | %glib_compile_schemas | |
72 | %update_icon_cache hicolor | |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
76 | %doc NEWS README | |
77 | %attr(755,root,root) %{_bindir}/gnome-2048 | |
78 | %{_desktopdir}/org.gnome.gnome-2048.desktop | |
79 | %{_datadir}/appdata/org.gnome.gnome-2048.appdata.xml | |
80 | %{_datadir}/glib-2.0/schemas/org.gnome.2048.gschema.xml | |
7ea61cb1 JB |
81 | %{_iconsdir}/hicolor/*x*/apps/gnome-2048.png |
82 | %{_iconsdir}/hicolor/scalable/apps/gnome-2048.svg | |
83 | %{_iconsdir}/hicolor/scalable/apps/gnome-2048-symbolic.svg |