]>
Commit | Line | Data |
---|---|---|
99511664 MB |
1 | Summary: GNOME Klotski |
2 | Summary(pl.UTF-8): Klotski dla GNOME | |
3 | Name: gnome-klotski | |
e70949ea | 4 | Version: 3.12.2 |
99511664 MB |
5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-klotski/3.12/%{name}-%{version}.tar.xz | |
e70949ea | 9 | # Source0-md5: 00c3f806a1d9d1ae8c876b5baa3a142e |
99511664 MB |
10 | URL: https://wiki.gnome.org/Apps/Klotski |
11 | BuildRequires: appdata-tools | |
12 | BuildRequires: autoconf >= 2.63 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: gtk+3-devel >= 3.4.0 | |
15 | BuildRequires: intltool >= 0.50.0 | |
16 | BuildRequires: librsvg-devel >= 2.32.0 | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: vala >= 2:0.16.0 | |
19 | BuildRequires: yelp-tools | |
20 | Requires(post,postun): gtk-update-icon-cache | |
21 | Requires(post,postun): glib2 >= 1:2.26.0 | |
22 | Requires: gtk+3 >= 3.4.0 | |
23 | Requires: hicolor-icon-theme | |
24 | Requires: librsvg >= 2.32.0 | |
25 | Provides: gnome-games-gnotski = 1:%{version}-%{release} | |
26 | Obsoletes: gnome-games-gnotski < 1:3.8.0 | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Clone of the Klotski game. The objective is to move the patterned | |
31 | block to the area bordered by green markers. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w | |
35 | pole ograniczone zielonymi znacznikami. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %{__intltoolize} | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__automake} | |
45 | %configure \ | |
46 | --disable-silent-rules | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %find_lang %{name} --with-gnome | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post | |
62 | %glib_compile_schemas | |
63 | %update_icon_cache HighContrast | |
64 | %update_icon_cache hicolor | |
65 | ||
66 | %postun | |
67 | %glib_compile_schemas | |
68 | %update_icon_cache HighContrast | |
69 | %update_icon_cache hicolor | |
70 | ||
71 | %files -f %{name}.lang | |
72 | %defattr(644,root,root,755) | |
73 | %doc NEWS | |
74 | %attr(755,root,root) %{_bindir}/gnome-klotski | |
75 | %{_datadir}/appdata/gnome-klotski.appdata.xml | |
76 | %{_datadir}/glib-2.0/schemas/org.gnome.klotski.gschema.xml | |
77 | %{_datadir}/gnome-klotski | |
78 | %{_desktopdir}/gnome-klotski.desktop | |
79 | %{_iconsdir}/HighContrast/*/*/*.png | |
80 | %{_iconsdir}/hicolor/*/*/*.png | |
81 | %{_iconsdir}/hicolor/*/*/*.svg | |
82 | %{_mandir}/man6/gnome-klotski.6* |