]> git.pld-linux.org Git - packages/gnome-chess.git/blame - gnome-chess.spec
- updated to 41.1
[packages/gnome-chess.git] / gnome-chess.spec
CommitLineData
7ec03ee0 1# TODO: move to gtk4-update-icon-cache
b7a3cea5
MB
2Summary: GNOME Chess - a 2D/3D chess interface
3Summary(pl.UTF-8): GNOME Chess - dwu i trójwymiarowy interfejs do szachów
35e33ad4 4Name: gnome-chess
c62cdee3 5Version: 41.1
6a390df4 6Release: 1
28f4270c 7License: GPL v3+
c7645c2a 8Group: X11/Applications/Games
4b5d4687 9Source0: https://download.gnome.org/sources/gnome-chess/41/%{name}-%{version}.tar.xz
c62cdee3 10# Source0-md5: 79a5f2164941ba75baf4bc0a1b99045f
b7a3cea5 11URL: https://wiki.gnome.org/Apps/Chess
28f4270c 12BuildRequires: appstream-glib
7185ea5b 13BuildRequires: gettext-tools >= 0.19.8
28f4270c 14BuildRequires: glib2-devel >= 1:2.44.0
7ec03ee0 15BuildRequires: gtk4-devel >= 4.0
b43281f8
JB
16BuildRequires: librsvg-devel >= 1:2.46.0
17BuildRequires: meson >= 0.50
28f4270c 18BuildRequires: ninja >= 1.5
1cccc797 19BuildRequires: pkgconfig
28f4270c 20BuildRequires: rpmbuild(macros) >= 1.736
b7a3cea5 21BuildRequires: tar >= 1:1.22
f3b87d14 22BuildRequires: vala >= 2:0.35.7
b43281f8 23BuildRequires: vala-librsvg >= 1:2.46.0
b7a3cea5
MB
24BuildRequires: xz
25BuildRequires: yelp-tools
28f4270c 26Requires(post,postun): glib2 >= 1:2.44.0
b7a3cea5 27Requires(post,postun): gtk-update-icon-cache
28f4270c 28Requires: glib2 >= 1:2.44.0
7ec03ee0 29Requires: gtk4 >= 4.0
b7a3cea5 30Requires: hicolor-icon-theme
b43281f8 31Requires: librsvg >= 1:2.46.0
b7a3cea5
MB
32Suggests: crafty
33Suggests: gnuchess
34Provides: gnome-games-glchess = 1:%{version}-%{release}
b43281f8 35Obsoletes: glchess < 1.0.7
b7a3cea5 36Obsoletes: gnome-games-glchess < 1:3.8.0
8d459d9e 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35e33ad4 38
35e33ad4 39%description
b7a3cea5
MB
40GNOME Chess is a 2D/3D chess game interfacing via the Chess Engine
41Communication Protocol (CECP) by Tim Mann. This means it can currently
42use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx.
35e33ad4 43
24b1130e 44%description -l pl.UTF-8
b7a3cea5
MB
45GNOME Chess to dwu i trójwymiarowa gra w szachy komunikująca się za
46pomocą protokołu CECP (Chess Engine Communication Protocol) Tima
47Manna. Oznacza to, że aktualnie może używać silników takich jak
48GNUChess, Sjeng, Faile, Amy, Crafty i Phalanx.
b634c60e 49
35e33ad4 50%prep
51%setup -q
35e33ad4 52
53%build
38de0571 54%meson build
28f4270c 55
38de0571 56%ninja_build -C build
35e33ad4 57
58%install
59rm -rf $RPM_BUILD_ROOT
60
38de0571 61%ninja_install -C build
1cccc797 62
b7a3cea5 63%find_lang %{name} --with-gnome
35e33ad4 64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
1cccc797 68%post
b7a3cea5
MB
69%glib_compile_schemas
70%update_icon_cache hicolor
1cccc797
JB
71
72%postun
b7a3cea5
MB
73%glib_compile_schemas
74%update_icon_cache hicolor
9c72ab8a 75
35e33ad4 76%files -f %{name}.lang
77%defattr(644,root,root,755)
28f4270c 78%doc NEWS README.md
1cccc797 79%attr(755,root,root) %{_bindir}/gnome-chess
b7a3cea5
MB
80%dir %{_sysconfdir}/gnome-chess
81%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gnome-chess/engines.conf
dfc5fe49 82%{_datadir}/dbus-1/services/org.gnome.Chess.service
28f4270c
JB
83%{_datadir}/glib-2.0/schemas/org.gnome.Chess.gschema.xml
84%{_datadir}/metainfo/org.gnome.Chess.appdata.xml
85%{_desktopdir}/org.gnome.Chess.desktop
86%{_iconsdir}/hicolor/scalable/apps/org.gnome.Chess.svg
87%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Chess-symbolic.svg
b7a3cea5 88%{_mandir}/man6/gnome-chess.6*
This page took 0.421947 seconds and 4 git commands to generate.