2018-07-22 21:11:57 +00:00
|
|
|
#
|
|
|
|
# spec file for package pentobi
|
|
|
|
#
|
2022-01-25 15:01:26 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2018-07-22 21:11:57 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-06-06 08:02:43 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-07-22 21:11:57 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: pentobi
|
2022-05-18 10:00:25 +00:00
|
|
|
Version: 21.0
|
2018-07-22 21:11:57 +00:00
|
|
|
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
|
2022-01-25 15:01:26 +00:00
|
|
|
BuildRequires: cmake >= 3.18
|
2019-06-06 08:02:43 +00:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2018-07-22 21:11:57 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: gcc-c++
|
2019-06-06 08:02:43 +00:00
|
|
|
BuildRequires: itstool
|
2018-07-22 21:11:57 +00:00
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: libqt5-linguist-devel
|
2019-06-06 08:02:43 +00:00
|
|
|
BuildRequires: libxslt-tools
|
2018-07-22 21:11:57 +00:00
|
|
|
BuildRequires: pkgconfig
|
2019-11-07 08:57:25 +00:00
|
|
|
BuildRequires: rsvg-convert
|
2021-04-17 14:15:35 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.15
|
2019-06-06 08:02:43 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5QuickControls2)
|
|
|
|
BuildRequires: pkgconfig(Qt5WebView)
|
2018-07-22 21:11:57 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(appstream)
|
|
|
|
Requires(post): hicolor-icon-theme
|
|
|
|
Requires(post): update-desktop-files
|
2021-04-17 14:15:35 +00:00
|
|
|
Requires(postun):hicolor-icon-theme
|
|
|
|
Requires(postun):update-desktop-files
|
2018-07-22 21:11:57 +00:00
|
|
|
|
|
|
|
%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
|
2019-06-06 08:02:43 +00:00
|
|
|
Group: Amusements/Games/Strategy/Other
|
2018-07-22 21:11:57 +00:00
|
|
|
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
|
2019-06-06 08:02:43 +00:00
|
|
|
%license LICENSE.md
|
|
|
|
%doc AUTHORS.md NEWS.md README.md
|
2018-07-22 21:11:57 +00:00
|
|
|
%{_bindir}/pentobi
|
|
|
|
%{_datadir}/applications/io.sourceforge.pentobi.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
%{_datadir}/mime/packages/*.xml
|
|
|
|
%{_mandir}/man6/pentobi.6%{?ext_man}
|
2019-11-07 08:57:25 +00:00
|
|
|
%{_mandir}/*/man6/pentobi.6%{?ext_man}
|
2018-07-22 21:11:57 +00:00
|
|
|
%{_datadir}/metainfo/io.sourceforge.pentobi.appdata.xml
|
|
|
|
|
|
|
|
%files kde-thumbnailer
|
2020-05-12 13:19:00 +00:00
|
|
|
%{_bindir}/pentobi-thumbnailer
|
|
|
|
%dir %{_datadir}/thumbnailers
|
|
|
|
%{_datadir}/thumbnailers/pentobi.thumbnailer
|
2018-07-22 21:11:57 +00:00
|
|
|
%{_libdir}/qt5/plugins/pentobi-thumbnail.so
|
|
|
|
%{_datadir}/kservices5/pentobi-thumbnail.desktop
|
2020-05-12 13:19:00 +00:00
|
|
|
%{_mandir}/man6/pentobi-thumbnailer.6%{?ext_man}
|
2019-11-07 08:57:25 +00:00
|
|
|
%{_mandir}/*/man6/pentobi-thumbnailer.6%{?ext_man}
|
2018-07-22 21:11:57 +00:00
|
|
|
|
|
|
|
%changelog
|