]>
Commit | Line | Data |
---|---|---|
99511664 MB |
1 | Summary: GNOME Klotski |
2 | Summary(pl.UTF-8): Klotski dla GNOME | |
3 | Name: gnome-klotski | |
b4e8b38b | 4 | Version: 3.16.1 |
99511664 | 5 | Release: 1 |
7533d76d | 6 | License: GPL v2+ |
99511664 | 7 | Group: X11/Applications/Games |
b4e8b38b JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-klotski/3.16/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 563769ceb9efbf1b7a05f6e917756649 | |
99511664 | 10 | URL: https://wiki.gnome.org/Apps/Klotski |
b4e8b38b | 11 | BuildRequires: appstream-glib-devel |
99511664 MB |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake >= 1:1.11 | |
b4e8b38b JB |
14 | BuildRequires: glib2-devel >= 1:2.40.0 |
15 | BuildRequires: gnome-common | |
16 | BuildRequires: gtk+3-devel >= 3.15.0 | |
99511664 MB |
17 | BuildRequires: intltool >= 0.50.0 |
18 | BuildRequires: librsvg-devel >= 2.32.0 | |
19 | BuildRequires: pkgconfig | |
b4e8b38b | 20 | BuildRequires: vala >= 2:0.27.1 |
99511664 MB |
21 | BuildRequires: yelp-tools |
22 | Requires(post,postun): gtk-update-icon-cache | |
b4e8b38b JB |
23 | Requires(post,postun): glib2 >= 1:2.40.0 |
24 | Requires: glib2 >= 1:2.40.0 | |
25 | Requires: gtk+3 >= 3.15.0 | |
99511664 MB |
26 | Requires: hicolor-icon-theme |
27 | Requires: librsvg >= 2.32.0 | |
28 | Provides: gnome-games-gnotski = 1:%{version}-%{release} | |
29 | Obsoletes: gnome-games-gnotski < 1:3.8.0 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | Clone of the Klotski game. The objective is to move the patterned | |
34 | block to the area bordered by green markers. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w | |
38 | pole ograniczone zielonymi znacznikami. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__intltoolize} | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__automake} | |
48 | %configure \ | |
49 | --disable-silent-rules | |
50 | ||
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
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 | |
76 | %{_datadir}/appdata/gnome-klotski.appdata.xml | |
77 | %{_datadir}/glib-2.0/schemas/org.gnome.klotski.gschema.xml | |
78 | %{_datadir}/gnome-klotski | |
79 | %{_desktopdir}/gnome-klotski.desktop | |
b4e8b38b | 80 | %{_iconsdir}/hicolor/*x*/apps/gnome-klotski.png |
7533d76d | 81 | %{_iconsdir}/hicolor/scalable/apps/gnome-klotski.svg |
b4e8b38b | 82 | %{_iconsdir}/hicolor/scalable/apps/gnome-klotski-symbolic.svg |
99511664 | 83 | %{_mandir}/man6/gnome-klotski.6* |