SHA256
1
0
forked from pool/konquest

KDE Applications 17.08.80 beta

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/konquest?expand=0&rev=42
This commit is contained in:
Luca Beltrame
2017-03-26 07:21:27 +00:00
committed by Git OBS Bridge
parent d381f6056c
commit 065a3e88bd
4 changed files with 72 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package konquest
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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,44 +17,68 @@
Name: konquest
BuildRequires: libkdegames4-devel
BuildRequires: xz
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}')}
Summary: Galactic strategy game
License: GPL-2.0+
Group: Amusements/Games/Board/Puzzle
Url: http://www.kde.org
Version: 16.12.3
Release: 0
Source0: konquest-%{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(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
Obsoletes: konquest5 < %{version}
Provides: konquest5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
This the KDE version of Gnu-Lactic Konquest, a multi-player strategy
game. The goal of the game is to expand your interstellar empire across
the galaxy.
%prep
%setup -q -n konquest-%{version}
%build
%cmake_kde4 -d build
%cmake_kf5 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%suse_update_desktop_file -r konquest Game LogicGame
%kde_post_install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.konquest Game LogicGame
%files
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kde4_bindir}/konquest
%{_kde4_htmldir}/en/konquest/
%{_kde4_applicationsdir}/konquest.desktop
%{_kde4_iconsdir}/hicolor/*/apps/konquest.*
%{_kde4_appsdir}/konquest/
%{_kf5_bindir}/konquest
%{_kf5_htmldir}/en/konquest/
%{_kf5_applicationsdir}/org.kde.konquest.desktop
%{_kf5_iconsdir}/hicolor/*/apps/konquest.*
%{_kf5_appsdir}/konquest/
%{_datadir}/kxmlgui5/konquest/
%changelog