2011-07-25 12:48:32 +02:00
|
|
|
#
|
2011-07-25 12:48:45 +02:00
|
|
|
# spec file for package kanagram
|
2011-07-25 12:48:32 +02:00
|
|
|
#
|
2021-03-28 09:27:00 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2011-07-25 12:48:32 +02: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.
|
|
|
|
|
2018-11-25 00:44:16 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-07-25 12:48:32 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:54:00 +02:00
|
|
|
|
2019-11-29 12:39:10 +01:00
|
|
|
%define kf5_version 5.60.0
|
2017-08-12 00:54:00 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:26:00 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:44:16 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: kanagram
|
2021-05-13 10:56:05 +02:00
|
|
|
Version: 21.04.1
|
2018-11-25 00:44:16 +01:00
|
|
|
Release: 0
|
2011-07-25 12:48:32 +02:00
|
|
|
Summary: Anagram Game
|
2018-11-25 00:44:16 +01:00
|
|
|
License: GPL-2.0-or-later
|
2011-07-27 16:35:21 +02:00
|
|
|
Group: Amusements/Teaching/Language
|
2021-04-19 15:30:51 +02:00
|
|
|
URL: https://apps.kde.org/kanagram
|
|
|
|
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
|
2019-02-02 12:46:46 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2020-03-28 14:57:05 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2019-11-29 12:39:10 +01:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(KF5Sonnet)
|
2020-03-28 14:57:05 +01:00
|
|
|
BuildRequires: cmake(LibKEduVocDocument)
|
2019-11-29 12:39:10 +01:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5TextToSpeech)
|
2015-05-11 19:23:56 +02:00
|
|
|
Requires: kdeedu-data
|
2020-03-28 14:57:05 +01:00
|
|
|
Recommends: %{name}-lang
|
2015-05-11 19:23:56 +02:00
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Kanagram is a letter order game.
|
|
|
|
|
2017-04-15 15:28:00 +02:00
|
|
|
%lang_package
|
|
|
|
|
2011-07-25 12:48:32 +02:00
|
|
|
%prep
|
2021-04-19 15:30:51 +02:00
|
|
|
%autosetup -p1
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%build
|
2015-05-11 19:23:56 +02:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:40:28 +01:00
|
|
|
%cmake_build
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%install
|
2015-05-11 19:23:56 +02:00
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:28:00 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-25 00:44:16 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 15:28:00 +02:00
|
|
|
%endif
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%files
|
2018-11-25 00:44:16 +01:00
|
|
|
%license COPYING*
|
2017-08-12 00:54:00 +02:00
|
|
|
%config %{_kf5_configdir}/kanagram.knsrc
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24/apps
|
2015-05-11 19:23:56 +02:00
|
|
|
%dir %{_kf5_iconsdir}/hicolor/80x80
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/80x80/apps
|
2021-04-19 15:30:51 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kanagram/
|
2015-05-11 19:23:56 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kanagram.desktop
|
2021-04-19 15:30:51 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kanagram.appdata.xml
|
2017-08-12 00:54:00 +02:00
|
|
|
%{_kf5_bindir}/kanagram
|
2021-04-19 15:30:51 +02:00
|
|
|
%{_kf5_configkcfgdir}/kanagram.kcfg
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kanagram*.*
|
2015-05-11 19:23:56 +02:00
|
|
|
%{_kf5_sharedir}/kanagram/
|
2011-07-25 12:48:32 +02:00
|
|
|
|
2017-04-15 15:28:00 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-11-25 00:44:16 +01:00
|
|
|
%license COPYING*
|
2017-04-15 15:28:00 +02:00
|
|
|
%endif
|
|
|
|
|
2011-07-25 12:48:32 +02:00
|
|
|
%changelog
|