KDE Applications 20.03.80

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kmahjongg?expand=0&rev=117
This commit is contained in:
2020-03-28 13:57:49 +00:00
committed by Git OBS Bridge
parent 243b01f310
commit 92f1522cca
6 changed files with 41 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package kmahjongg
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,47 +21,43 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kmahjongg
Version: 19.12.3
Version: 20.03.80
Release: 0
Summary: Mahjongg game
License: GPL-2.0-or-later
Group: Amusements/Games/Board/Puzzle
URL: https://www.kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: update-desktop-files
BuildRequires: xz
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5Declarative)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5NewStuff)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(KF5KDEGames)
BuildRequires: cmake(KF5KMahjongglib)
BuildRequires: update-desktop-files
BuildRequires: xz
BuildRequires: cmake(KF5NewStuff)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Svg)
Obsoletes: kmahjongg5 < %{version}
Provides: kmahjongg5 = %{version}
%if %{with lang}
Recommends: %{name}-lang
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
Recommends: %{name}-lang
%description
KMahjongg is a clone of the well known tile based patience game of the
same name. In the game you have to empty a game board filled with piece
by removing pieces of the same type.
%if %{with lang}
%lang_package
%endif
%prep
%setup -q -n kmahjongg-%{version}