2012-12-07 14:27:58 +01:00
|
|
|
#
|
2012-12-20 15:31:39 +01:00
|
|
|
# spec file for package kigo
|
2012-12-07 14:27:58 +01:00
|
|
|
#
|
2017-08-05 22:47:14 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-12-07 14:27:58 +01: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.
|
|
|
|
|
2017-04-20 10:34:24 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2012-12-07 14:27:58 +01:00
|
|
|
#
|
|
|
|
|
2017-08-09 15:52:41 +02:00
|
|
|
|
2017-08-05 22:47:14 +02:00
|
|
|
%bcond_without lang
|
2017-08-09 15:52:41 +02:00
|
|
|
Name: kigo
|
|
|
|
Version: 17.07.90
|
|
|
|
Release: 0
|
2012-12-20 15:31:39 +01:00
|
|
|
Summary: Traditional Chinese Boardgame for KDE
|
2013-02-04 20:36:46 +01:00
|
|
|
License: GPL-2.0+
|
2012-12-07 14:27:58 +01:00
|
|
|
Group: Amusements/Games/Board/Other
|
|
|
|
Url: http://www.kde.org
|
2017-08-09 15:52:41 +02:00
|
|
|
Source0: kigo-%{version}.tar.xz
|
2017-08-05 22:47:14 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: kconfigwidgets-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kcrash-devel
|
|
|
|
BuildRequires: kdbusaddons-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: knewstuff-devel
|
|
|
|
BuildRequires: ktextwidgets-devel
|
|
|
|
BuildRequires: kxmlgui-devel
|
|
|
|
BuildRequires: libkdegames-devel
|
2017-08-05 22:49:25 +02:00
|
|
|
BuildRequires: pkgconfig
|
2017-08-05 22:47:14 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(postun): shared-mime-info
|
2012-12-07 14:27:58 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-08-05 22:47:14 +02:00
|
|
|
Recommends: %{name}-lang
|
2012-12-07 14:27:58 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Traditional Chinese Boardgame
|
|
|
|
|
2017-08-05 22:47:14 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%lang_package
|
|
|
|
%endif
|
2017-03-26 14:56:20 +02:00
|
|
|
|
2012-12-07 14:27:58 +01:00
|
|
|
%prep
|
2017-08-05 22:47:14 +02:00
|
|
|
%setup -q
|
2012-12-07 14:27:58 +01:00
|
|
|
|
|
|
|
%build
|
2017-08-05 22:47:14 +02:00
|
|
|
%cmake_kf5 -d build
|
2012-12-07 14:27:58 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2017-08-05 22:47:14 +02:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2017-08-09 15:52:41 +02:00
|
|
|
%{kf5_find_htmldocs}
|
2017-08-05 22:47:14 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%post
|
|
|
|
%mime_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%mime_database_postun
|
2012-12-07 14:27:58 +01:00
|
|
|
|
2017-04-12 16:52:14 +02:00
|
|
|
%files
|
2012-12-07 14:27:58 +01:00
|
|
|
%defattr(-,root,root)
|
2017-08-05 22:47:14 +02:00
|
|
|
%config %{_kf5_configdir}/kigo*.knsrc
|
|
|
|
%doc AUTHORS COPYING*
|
2017-08-06 00:07:01 +02:00
|
|
|
%dir %{_kf5_configkcfgdir}
|
2017-08-05 22:47:14 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kigo.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.kigo.appdata.xml
|
|
|
|
%{_kf5_bindir}/kigo
|
|
|
|
%{_kf5_configkcfgdir}/kigo.kcfg
|
|
|
|
%{_kf5_htmldir}/en/kigo/
|
2017-08-05 23:23:38 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kigo.*
|
2017-08-05 22:47:14 +02:00
|
|
|
%{_kf5_kxmlguidir}/kigo/
|
|
|
|
%{_kf5_sharedir}/kigo/
|
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%doc COPYING*
|
|
|
|
%endif
|
2012-12-07 14:27:58 +01:00
|
|
|
|
|
|
|
%changelog
|