forked from pool/ksirk
Revert accidental framework branch commit
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ksirk?expand=0&rev=45
This commit is contained in:
parent
3852dca6f7
commit
0f5a5869af
84
ksirk.spec
84
ksirk.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ksirk
|
# spec file for package ksirk
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,51 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ksirk
|
Name: ksirk
|
||||||
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: Risk-like game for KDE
|
Summary: Risk-like game for KDE
|
||||||
License: GPL-2.0+ and LGPL-2.0+
|
License: GPL-2.0+ and LGPL-2.0+
|
||||||
Group: Amusements/Games/Strategy/Turn Based
|
Group: Amusements/Games/Strategy/Turn Based
|
||||||
Url: http://www.kde.org
|
Url: http://www.kde.org
|
||||||
|
Version: 17.03.80
|
||||||
|
Release: 0
|
||||||
Source0: ksirk-%{version}.tar.xz
|
Source0: ksirk-%{version}.tar.xz
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: libkdegames4-devel
|
||||||
BuildRequires: kcompletion-devel
|
BuildRequires: libqca2-devel
|
||||||
BuildRequires: kconfig-devel
|
BuildRequires: xz
|
||||||
BuildRequires: kconfigwidgets-devel
|
|
||||||
BuildRequires: kcoreaddons-devel
|
|
||||||
BuildRequires: kcrash-devel
|
|
||||||
BuildRequires: kdbusaddons-devel
|
|
||||||
BuildRequires: kdeclarative-devel
|
|
||||||
BuildRequires: kdelibs4support-devel
|
|
||||||
BuildRequires: kdoctools-devel
|
|
||||||
BuildRequires: kguiaddons-devel
|
|
||||||
BuildRequires: ki18n-devel
|
|
||||||
BuildRequires: kiconthemes-devel
|
|
||||||
BuildRequires: kio-devel
|
|
||||||
BuildRequires: kitemviews-devel
|
|
||||||
BuildRequires: knewstuff-devel
|
|
||||||
BuildRequires: knotifyconfig-devel
|
|
||||||
BuildRequires: ktextwidgets-devel
|
|
||||||
BuildRequires: kwallet-devel
|
|
||||||
BuildRequires: kwidgetsaddons-devel
|
|
||||||
BuildRequires: kxmlgui-devel
|
|
||||||
BuildRequires: libkdegames-devel
|
|
||||||
BuildRequires: libqca-qt5-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: ksirk5 < %{version}
|
|
||||||
Provides: ksirk5 = %{version}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%kde4_runtime_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
KsirK is a computerized version of a well known strategy game.
|
KsirK is a computerized version of a well known strategy game.
|
||||||
@ -70,34 +37,33 @@ KsirK is a computerized version of a well known strategy game.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build
|
%cmake_kde4 -d build
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kde4_makeinstall -C build
|
||||||
rm %{buildroot}%{_kf5_libdir}/libiris_ksirk.so
|
rm %{buildroot}%{_kde4_libdir}/libiris_ksirk.so
|
||||||
|
%kde_post_install
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.DOC COPYING.LIB
|
%doc COPYING COPYING.DOC COPYING.LIB
|
||||||
%{_kf5_bindir}/ksirk
|
%{_kde4_bindir}/ksirk
|
||||||
%{_kf5_bindir}/ksirkskineditor
|
%{_kde4_bindir}/ksirkskineditor
|
||||||
%{_kf5_htmldir}/en/ksirk/
|
%{_kde4_htmldir}/en/ksirk/
|
||||||
%{_kf5_htmldir}/en/ksirkskineditor/
|
%{_kde4_htmldir}/en/ksirkskineditor/
|
||||||
%{_kf5_applicationsdir}/org.kde.ksirk.desktop
|
%{_kde4_applicationsdir}/ksirk.desktop
|
||||||
%{_kf5_applicationsdir}/org.kde.ksirkskineditor.desktop
|
%{_kde4_applicationsdir}/ksirkskineditor.desktop
|
||||||
%{_kf5_iconsdir}/hicolor/*/apps/ksirk.*
|
%{_kde4_iconsdir}/hicolor/*/apps/ksirk.*
|
||||||
%{_kf5_iconsdir}/locolor/*/apps/ksirk.*
|
%{_kde4_iconsdir}/locolor/*/apps/ksirk.*
|
||||||
%{_datadir}/ksirk/
|
%{_kde4_appsdir}/ksirk/
|
||||||
%{_datadir}/ksirkskineditor/
|
%{_kde4_appsdir}/ksirkskineditor/
|
||||||
%{_kf5_libdir}/libiris_ksirk.so.*
|
%{_kde4_libdir}/libiris_ksirk.so.*
|
||||||
%dir %{_kf5_configkcfgdir}
|
%{_kde4_configkcfgdir}/ksirk*.kcfg
|
||||||
%{_kf5_configkcfgdir}/ksirk*.kcfg
|
%{_kde4_configdir}/ksirk.knsrc
|
||||||
%{_kf5_configdir}/ksirk.knsrc
|
|
||||||
%{_kf5_kxmlguidir}/ksirk/
|
|
||||||
%{_kf5_kxmlguidir}/ksirkskineditor/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user