2011-07-26 10:12:22 +00:00
|
|
|
#
|
2011-07-26 10:12:36 +00:00
|
|
|
# spec file for package khangman
|
2011-07-26 10:12:22 +00:00
|
|
|
#
|
2023-03-02 14:21:07 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2011-07-26 10:12:22 +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.
|
|
|
|
|
2018-11-24 23:44:44 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-07-26 10:12:22 +00:00
|
|
|
#
|
|
|
|
|
2017-08-11 22:56:16 +00:00
|
|
|
|
2022-01-06 12:44:43 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:44:44 +00:00
|
|
|
Name: khangman
|
2023-10-12 12:22:08 +00:00
|
|
|
Version: 23.08.2
|
2018-11-24 23:44:44 +00:00
|
|
|
Release: 0
|
2011-07-26 10:12:22 +00:00
|
|
|
Summary: Hangman Game
|
2018-11-24 23:44:44 +00:00
|
|
|
License: GPL-2.0-or-later
|
2021-04-19 13:30:58 +00:00
|
|
|
URL: https://apps.kde.org/khangman
|
2023-08-24 10:28:32 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 12:44:43 +00:00
|
|
|
%if %{with released}
|
2023-08-24 10:28:32 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 13:30:58 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2020-03-28 13:57:37 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 11:39:38 +00:00
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
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(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(LibKEduVocDocument)
|
|
|
|
BuildRequires: cmake(Phonon4Qt5)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5QuickWidgets)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
2015-04-27 20:08:54 +00:00
|
|
|
Requires: kdeedu-data
|
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
|
|
|
Obsoletes: khangman-devel < %{version}
|
2017-08-11 22:56:16 +00:00
|
|
|
Obsoletes: khangman5 < %{version}
|
2016-12-03 15:22:07 +00:00
|
|
|
Obsoletes: libkhangmanengine5 < %{version}
|
2011-07-26 10:12:22 +00:00
|
|
|
|
|
|
|
%description
|
2021-04-19 13:30:58 +00:00
|
|
|
Classical hangman game by KDE.
|
2011-07-26 10:12:22 +00:00
|
|
|
|
2017-04-15 13:28:19 +00:00
|
|
|
%lang_package
|
|
|
|
|
2011-07-26 10:12:22 +00:00
|
|
|
%prep
|
2021-04-19 13:30:58 +00:00
|
|
|
%autosetup -p1
|
2011-07-26 10:12:22 +00:00
|
|
|
|
|
|
|
%build
|
2022-11-17 22:58:21 +00:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2011-07-26 10:12:22 +00:00
|
|
|
|
|
|
|
%install
|
2022-11-17 22:58:21 +00:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
2011-07-26 10:12:22 +00:00
|
|
|
|
|
|
|
%files
|
2018-11-24 23:44:44 +00:00
|
|
|
%license COPYING*
|
2017-08-11 22:56:16 +00:00
|
|
|
%config %{_kf5_configdir}/khangman.knsrc
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/khangman/
|
2015-04-27 20:08:54 +00:00
|
|
|
%doc %{_kf5_mandir}/man6/khangman.6.gz
|
2021-04-19 13:30:58 +00:00
|
|
|
%doc AUTHORS ChangeLog README
|
2015-04-27 20:08:54 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.khangman.desktop
|
2021-04-19 13:30:58 +00:00
|
|
|
%{_kf5_appstreamdir}/org.kde.khangman.appdata.xml
|
2015-04-27 20:08:54 +00:00
|
|
|
%{_kf5_bindir}/khangman
|
|
|
|
%{_kf5_configkcfgdir}/khangman.kcfg
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/khangman.*
|
2017-08-11 22:56:16 +00:00
|
|
|
%{_kf5_sharedir}/khangman/
|
2012-09-12 22:03:17 +00:00
|
|
|
|
2017-04-15 13:28:19 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2011-07-26 10:12:22 +00:00
|
|
|
%changelog
|