Accepting request 728258 from home:cgiboudeaux:noqt4

Add q5go. A replacement for the obsolete qgo package

OBS-URL: https://build.opensuse.org/request/show/728258
OBS-URL: https://build.opensuse.org/package/show/games/q5go?expand=0&rev=1
This commit is contained in:
Dirk Stoecker 2019-09-04 11:58:13 +00:00 committed by Git OBS Bridge
commit f50d42bf7d
5 changed files with 116 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
q5go-0.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86dd19e8b17dc42e441b15ab5c7417b8ac601e979c807f96a97a2d69e18b6f67
size 6116580

4
q5go.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Sep 4 10:33:15 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Add q5go, a go board game. (boo#1148398)

85
q5go.spec Normal file
View File

@ -0,0 +1,85 @@
#
# spec file for package q5go
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: 0.9
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/%{name}
Source0: https://github.com/bernds/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires: libqt5-linguist-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
# Replace qgo which is unmaintained
Provides: qgo = 2.0.0
Obsoletes: qgo < 2.0.0
%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
%setup -q -n q5Go-q5go-%{version}
%build
pushd src
%qmake5 q5go.pro
%make_jobs
popd
%install
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 qgo "Qt;Game;BoardGame;"
install -m 0644 q5Go.desktop %{buildroot}%{_datadir}/applications
popd
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README.md
%{_datadir}/applications/q5Go.desktop
%{_datadir}/pixmaps/q5go.png
%{_datadir}/q5go
%{_libqt5_bindir}/q5go
%changelog