- Update to version 21.0 * New help viewer implementation, which includes DocBook files in the resources. This avoids using an external browser, which did not work with all installation directories on Ubuntu 21.10 because Firefox and Chromium have restricted access to local files, or using WebView, which is not supported on all Linux architectures or in Qt 6.0/6.1. * Fixed visibility of labels on Callisto 1x1-piece in dark theme. * Fixed rendering issues on Android with Qt 6.3.0. * Fixed detection of loaded files or autosaved games modified by another application. OBS-URL: https://build.opensuse.org/request/show/977877 OBS-URL: https://build.opensuse.org/package/show/games/pentobi?expand=0&rev=17
96 lines
3.0 KiB
RPMSpec
96 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package pentobi
|
|
#
|
|
# Copyright (c) 2022 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: pentobi
|
|
Version: 21.0
|
|
Release: 0
|
|
Summary: Program to play the board game Blokus
|
|
License: GPL-3.0-only
|
|
Group: Amusements/Games/Strategy/Other
|
|
URL: http://pentobi.sourceforge.net/
|
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
BuildRequires: cmake >= 3.18
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: itstool
|
|
BuildRequires: kio-devel
|
|
BuildRequires: libqt5-linguist-devel
|
|
BuildRequires: libxslt-tools
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: rsvg-convert
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.15
|
|
BuildRequires: pkgconfig(Qt5QuickControls2)
|
|
BuildRequires: pkgconfig(Qt5WebView)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(appstream)
|
|
Requires(post): hicolor-icon-theme
|
|
Requires(post): update-desktop-files
|
|
Requires(postun):hicolor-icon-theme
|
|
Requires(postun):update-desktop-files
|
|
|
|
%description
|
|
Pentobi is a computer opponent for the board game Blokus with
|
|
support for Classic, Duo, Junior, Trigon, and Nexos game variants.
|
|
Different levels of playing strength are available. Pentobi can
|
|
save and load games along with comments and move variations.
|
|
|
|
%package kde-thumbnailer
|
|
Summary: KDE thumbnailer for Pentobi game files
|
|
Group: Amusements/Games/Strategy/Other
|
|
Enhances: dolphin
|
|
|
|
%description kde-thumbnailer
|
|
This package contains a KDE plugin to display thumbnails of
|
|
Pentobi game files.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
-DPENTOBI_BUILD_KDE_THUMBNAILER=ON \
|
|
-DPENTOBI_BUILD_TESTS=ON
|
|
%make_jobs VERBOSE=1
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%license LICENSE.md
|
|
%doc AUTHORS.md NEWS.md README.md
|
|
%{_bindir}/pentobi
|
|
%{_datadir}/applications/io.sourceforge.pentobi.desktop
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
%{_datadir}/mime/packages/*.xml
|
|
%{_mandir}/man6/pentobi.6%{?ext_man}
|
|
%{_mandir}/*/man6/pentobi.6%{?ext_man}
|
|
%{_datadir}/metainfo/io.sourceforge.pentobi.appdata.xml
|
|
|
|
%files kde-thumbnailer
|
|
%{_bindir}/pentobi-thumbnailer
|
|
%dir %{_datadir}/thumbnailers
|
|
%{_datadir}/thumbnailers/pentobi.thumbnailer
|
|
%{_libdir}/qt5/plugins/pentobi-thumbnail.so
|
|
%{_datadir}/kservices5/pentobi-thumbnail.desktop
|
|
%{_mandir}/man6/pentobi-thumbnailer.6%{?ext_man}
|
|
%{_mandir}/*/man6/pentobi-thumbnailer.6%{?ext_man}
|
|
|
|
%changelog
|