SHA256
1
0
forked from pool/kigo

Revert accidental commit of frameworks branch

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kigo?expand=0&rev=42
This commit is contained in:
Luca Beltrame 2017-03-26 12:56:20 +00:00 committed by Git OBS Bridge
parent 018d0bad2e
commit 2baf6c51de

View File

@ -1,7 +1,7 @@
#
# spec file for package kigo
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,67 +17,44 @@
Name: kigo
Version: 17.03.80
Release: 0
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
BuildRequires: libkdegames4-devel
BuildRequires: xz
Summary: Traditional Chinese Boardgame for KDE
License: GPL-2.0+
Group: Amusements/Games/Board/Other
Url: http://www.kde.org
Version: 17.03.80
Release: 0
Source0: kigo-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: kconfig-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kguiaddons-devel
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kio-devel
BuildRequires: kitemviews-devel
BuildRequires: knewstuff-devel
BuildRequires: knotifyconfig-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kxmlgui-devel
BuildRequires: libkdegames-devel
BuildRequires: phonon4qt5-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
Obsoletes: kigo5 < %{version}
Provides: kigo5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Traditional Chinese Boardgame
%prep
%setup -q -n kigo-%{version}
%build
%cmake_kf5 -d build
%cmake_kde4 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.kigo Game BoardGame
cd build
%kde4_makeinstall
%suse_update_desktop_file -r kigo Game BoardGame
%kde_post_install
%files
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kf5_bindir}/kigo
%{_kf5_htmldir}/en/kigo/
%{_kf5_applicationsdir}/org.kde.kigo.desktop
%{_kf5_iconsdir}/hicolor/*/apps/kigo.*
%{_kf5_appsdir}/kigo/
%{_kf5_configdir}/kigo*.knsrc
%dir %{_kf5_configkcfgdir}
%{_kf5_configkcfgdir}/kigo.kcfg
%{_datadir}/kxmlgui5/kigo/
%{_kde4_bindir}/kigo
%{_kde4_htmldir}/en/kigo/
%{_kde4_applicationsdir}/kigo.desktop
%{_kde4_iconsdir}/hicolor/*/apps/kigo.*
%{_kde4_appsdir}/kigo/
%{_kde4_configdir}/kigo*.knsrc
%{_kde4_configkcfgdir}/kigo.kcfg
%changelog