KDE Gear 21.04 beta
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/knights?expand=0&rev=110
This commit is contained in:
12
knights.spec
12
knights.spec
@@ -18,18 +18,19 @@
|
||||
|
||||
%bcond_without released
|
||||
Name: knights
|
||||
Version: 21.12.3
|
||||
Version: 22.03.80
|
||||
Release: 0
|
||||
Summary: A simple chess board
|
||||
License: GPL-2.0-or-later
|
||||
Group: Amusements/Games/Board/Chess
|
||||
URL: https://apps.kde.org/knights
|
||||
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
||||
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
||||
Source2: applications.keyring
|
||||
%endif
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(KF5ConfigWidgets)
|
||||
BuildRequires: cmake(KF5Crash)
|
||||
BuildRequires: cmake(KF5DBusAddons)
|
||||
@@ -50,9 +51,6 @@ BuildRequires: cmake(Qt5Widgets)
|
||||
Requires: gnuchess
|
||||
Suggests: crafty
|
||||
Obsoletes: kchess
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
|
||||
%description
|
||||
Knights is KDE's chess frontend. It supports playing local games against
|
||||
@@ -73,9 +71,7 @@ against each other.
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file -r org.kde.knights Qt KDE Game BoardGame
|
||||
%endif
|
||||
|
||||
%if %{with released}
|
||||
%find_lang %{name}
|
||||
|
Reference in New Issue
Block a user