SHA256
1
0
forked from pool/q5go
q5go/q5go.spec
Christophe Giboudeaux 123854a360 Accepting request 844092 from home:cgiboudeaux:games
- Update to 2.0
  * Pattern search is now available
  * atabase load times are reduced, and threading was added
    so that the user interface remains responsive.
  * Multiple online games can now be observed in a single
    window with clickable previews to switch between them.
  * There is a new "Tip of the day" dialog on startup, which
    displays features that are maybe not easily discoverable.
  * Several new high resolution wood textures for the board
    to choose from.
  * When playing engines that are capable of analysis, the
    evaluation is now collected during the game and can be
    displayed live.
  * Engine configuration now allows engines to be
    unrestricted in board size and komi
  * Some GTP bugs were fixed, which may improve compatibility
    with certain engines.
  * Window titles can now be overriden in the settings,
    which should help with streaming setups.
  * Performance improvements for the screen updates should
    now make it feasible to turn off quiet mode when online
  * There is a new option to highlight the user's own chat
    messages
- Drop 0001-Add-missing-includes.patch. Fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/844092
OBS-URL: https://build.opensuse.org/package/show/games/q5go?expand=0&rev=17
2020-10-26 13:30:58 +00:00

86 lines
2.5 KiB
RPMSpec

#
# spec file for package q5go
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: q5go
Version: 2.0
Release: 0
Summary: A Go board including an editor and analysis frontend
License: GPL-2.0-or-later
Group: Amusements/Games/Board/Other
URL: https://github.com/bernds/q5go
Source0: https://github.com/bernds/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires: libqt5-linguist-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
# Required for https://doc.qt.io/qt-5/qmetaobject.html#invokeMethod-4
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
%description
q5Go is a tool for Go players which performs the following functions:
* SGF editor
* Analysis frontend for Leela Zero (or compatible engines)
* GTP interface
* IGS client
* Export to a variety of formats
%prep
%autosetup -p1 -n q5Go-q5go-%{version}
%build
pushd src
%qmake5 q5go.pro
%make_jobs
popd
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/applications
mkdir -p %{buildroot}%{_datadir}/pixmaps
mkdir -p %{buildroot}%{_datadir}/q5go/translations
pushd src
install -m 0755 q5go %{buildroot}%{_bindir}/
# install translations
install -m 0644 translations/*.qm %{buildroot}%{_datadir}/q5go/translations/
# q5go doesn't have a highres icon
install -m 0644 images/clientwindow/Bowl.png %{buildroot}%{_datadir}/pixmaps/q5go.png
%suse_update_desktop_file -c q5Go q5Go "Go client" q5go q5go "Qt;Game;BoardGame;"
popd
%files
%license COPYING
%doc AUTHORS ChangeLog README.md
%{_bindir}/q5go
%{_datadir}/applications/q5Go.desktop
%{_datadir}/pixmaps/q5go.png
%{_datadir}/q5go
%changelog