]>
Commit | Line | Data |
---|---|---|
99511664 MB |
1 | Summary: GNOME Klotski |
2 | Summary(pl.UTF-8): Klotski dla GNOME | |
3 | Name: gnome-klotski | |
ae637dc8 JB |
4 | Version: 3.34.0 |
5 | Release: 1 | |
57de79e8 | 6 | License: GPL v3+ |
99511664 | 7 | Group: X11/Applications/Games |
ae637dc8 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-klotski/3.34/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 78c408cb2574c54d61569139b662c438 | |
99511664 | 10 | URL: https://wiki.gnome.org/Apps/Klotski |
ae637dc8 JB |
11 | BuildRequires: appstream-glib |
12 | BuildRequires: gettext-tools | |
b4e8b38b | 13 | BuildRequires: glib2-devel >= 1:2.40.0 |
85dbf8ac | 14 | BuildRequires: gtk+3-devel >= 3.20.0 |
bf3a6078 | 15 | BuildRequires: libgnome-games-support-devel >= 1.0 |
c4959ca9 | 16 | BuildRequires: libgee-devel >= 0.8 |
99511664 | 17 | BuildRequires: librsvg-devel >= 2.32.0 |
ae637dc8 JB |
18 | BuildRequires: meson |
19 | BuildRequires: ninja >= 1.5 | |
99511664 | 20 | BuildRequires: pkgconfig |
ae637dc8 JB |
21 | BuildRequires: python3 >= 1:3 |
22 | BuildRequires: rpmbuild(macros) >= 1.736 | |
b4e8b38b | 23 | BuildRequires: vala >= 2:0.27.1 |
ae637dc8 JB |
24 | BuildRequires: vala-libgee >= 0.8 |
25 | BuildRequires: vala-librsvg >= 2.32.0 | |
99511664 MB |
26 | BuildRequires: yelp-tools |
27 | Requires(post,postun): gtk-update-icon-cache | |
b4e8b38b JB |
28 | Requires(post,postun): glib2 >= 1:2.40.0 |
29 | Requires: glib2 >= 1:2.40.0 | |
85dbf8ac | 30 | Requires: gtk+3 >= 3.20.0 |
99511664 | 31 | Requires: hicolor-icon-theme |
bf3a6078 | 32 | Requires: libgnome-games-support >= 1.0 |
99511664 MB |
33 | Requires: librsvg >= 2.32.0 |
34 | Provides: gnome-games-gnotski = 1:%{version}-%{release} | |
35 | Obsoletes: gnome-games-gnotski < 1:3.8.0 | |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
37 | ||
38 | %description | |
39 | Clone of the Klotski game. The objective is to move the patterned | |
40 | block to the area bordered by green markers. | |
41 | ||
42 | %description -l pl.UTF-8 | |
43 | Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w | |
44 | pole ograniczone zielonymi znacznikami. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
ae637dc8 | 50 | %meson build |
99511664 | 51 | |
ae637dc8 | 52 | %ninja_build -C build |
99511664 MB |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
ae637dc8 | 57 | %ninja_install -C build |
99511664 MB |
58 | |
59 | %find_lang %{name} --with-gnome | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post | |
65 | %glib_compile_schemas | |
99511664 MB |
66 | %update_icon_cache hicolor |
67 | ||
68 | %postun | |
69 | %glib_compile_schemas | |
99511664 MB |
70 | %update_icon_cache hicolor |
71 | ||
72 | %files -f %{name}.lang | |
73 | %defattr(644,root,root,755) | |
74 | %doc NEWS | |
75 | %attr(755,root,root) %{_bindir}/gnome-klotski | |
ae637dc8 JB |
76 | %{_datadir}/glib-2.0/schemas/org.gnome.Klotski.gschema.xml |
77 | %{_datadir}/metainfo/org.gnome.Klotski.appdata.xml | |
78 | %{_desktopdir}/org.gnome.Klotski.desktop | |
79 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.Klotski.png | |
80 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Klotski.svg | |
81 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Klotski-symbolic.svg | |
99511664 | 82 | %{_mandir}/man6/gnome-klotski.6* |