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