commit f50d42bf7d909d82177dd023cc3bbc1717f2ae2d648966d1d75fbbc068dc6a11 Author: Dirk Stoecker <opensuse@dstoecker.de> Date: Wed Sep 4 11:58:13 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/q5go-0.9.tar.gz b/q5go-0.9.tar.gz new file mode 100644 index 0000000..6b94f22 --- /dev/null +++ b/q5go-0.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86dd19e8b17dc42e441b15ab5c7417b8ac601e979c807f96a97a2d69e18b6f67 +size 6116580 diff --git a/q5go.changes b/q5go.changes new file mode 100644 index 0000000..ce93bfc --- /dev/null +++ b/q5go.changes @@ -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) diff --git a/q5go.spec b/q5go.spec new file mode 100644 index 0000000..d7c628e --- /dev/null +++ b/q5go.spec @@ -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