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