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