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