]>
Commit | Line | Data |
---|---|---|
1 | Summary: A 2048 clone for GNOME | |
2 | Summary(pl.UTF-8): Klon gry 2048 dla GNOME | |
3 | Name: gnome-2048 | |
4 | Version: 3.36.4 | |
5 | Release: 1 | |
6 | License: GPL v3+ | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-2048/3.36/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: e258fa263380e8366900cf13b90b4a3e | |
10 | URL: https://wiki.gnome.org/Apps/2048 | |
11 | BuildRequires: appstream-glib | |
12 | BuildRequires: clutter-devel >= 1.12.0 | |
13 | BuildRequires: clutter-gtk-devel >= 1.6.0 | |
14 | BuildRequires: gettext-tools | |
15 | BuildRequires: glib2-devel >= 1:2.42.0 | |
16 | BuildRequires: gtk+3-devel >= 3.22.23 | |
17 | BuildRequires: libgnome-games-support-devel >= 1.0 | |
18 | BuildRequires: libgee-devel >= 0.14.0 | |
19 | BuildRequires: meson >= 0.37.1 | |
20 | BuildRequires: ninja >= 1.5 | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: python3 >= 1:3 | |
23 | BuildRequires: rpmbuild(macros) >= 1.736 | |
24 | BuildRequires: tar >= 1:1.22 | |
25 | BuildRequires: vala >= 2:0.24.0 | |
26 | BuildRequires: vala-libgnome-games-support >= 1.0 | |
27 | BuildRequires: xz | |
28 | BuildRequires: yelp-tools | |
29 | Requires(post,postun): glib2 >= 1:2.42.0 | |
30 | Requires(post,postun): gtk-update-icon-cache | |
31 | Requires: clutter >= 1.12.0 | |
32 | Requires: clutter-gtk >= 1.6.0 | |
33 | Requires: glib2 >= 1:2.42.0 | |
34 | Requires: gtk+3 >= 3.22.23 | |
35 | Requires: hicolor-icon-theme | |
36 | Requires: libgnome-games-support >= 1.0 | |
37 | Requires: libgee >= 0.14.0 | |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
40 | %description | |
41 | A GNOME clone of the popular game 2048. | |
42 | ||
43 | %description -l pl.UTF-8 | |
44 | Klon popularnej gry 2048 przeznaczony dla środowiska GNOME. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
50 | %meson build | |
51 | ||
52 | %ninja_build -C build | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %ninja_install -C build | |
58 | ||
59 | %find_lang %{name} --with-gnome | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post | |
65 | %glib_compile_schemas | |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %postun | |
69 | %glib_compile_schemas | |
70 | %update_icon_cache hicolor | |
71 | ||
72 | %files -f %{name}.lang | |
73 | %defattr(644,root,root,755) | |
74 | %doc NEWS README.md | |
75 | %attr(755,root,root) %{_bindir}/gnome-2048 | |
76 | %{_datadir}/glib-2.0/schemas/org.gnome.TwentyFortyEight.gschema.xml | |
77 | %{_datadir}/metainfo/org.gnome.TwentyFortyEight.appdata.xml | |
78 | %{_desktopdir}/org.gnome.TwentyFortyEight.desktop | |
79 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.TwentyFortyEight.svg | |
80 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.TwentyFortyEight-symbolic.svg | |
81 | %{_mandir}/man6/gnome-2048.6* |