SHA256
1
0
forked from pool/kiriki
Raymond Wooninck 2015-08-07 09:40:35 +00:00 committed by Git OBS Bridge
parent 8d8bc852b4
commit e02f3ad132

View File

@ -17,8 +17,35 @@
Name: kiriki
BuildRequires: libkdegames4-devel
BuildRequires: xz
BuildRequires: libkdegames-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: extra-cmake-modules
BuildRequires: kconfig-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kitemmodels-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kwindowsystem-devel
BuildRequires: kcodecs-devel
BuildRequires: karchive-devel
BuildRequires: kdbusaddons-devel
BuildRequires: kdnssd-framework-devel
BuildRequires: ki18n-devel
BuildRequires: kservice-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kitemviews-devel
BuildRequires: kiconthemes-devel
BuildRequires: kcompletion-devel
BuildRequires: kxmlgui-devel
BuildRequires: kio-devel
BuildRequires: knotifyconfig-devel
BuildRequires: kdoctools-devel
BuildRequires: kdelibs4support-devel
Summary: Yahtzee-like Game
License: GPL-2.0+
Group: Amusements/Games/Board/Other
@ -27,7 +54,6 @@ Version: 15.07.90
Release: 0
Source0: kiriki-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Kiriki is the KDE version of the dice game Yahtzee where you roll dices
@ -38,22 +64,21 @@ to get higher scores in several combinations
%setup -q -n kiriki-%{version}
%build
%cmake_kde4 -d build
%cmake_kf5 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%suse_update_desktop_file -r kiriki Game BoardGame
%kde_post_install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.kiriki Game BoardGame
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kde4_bindir}/kiriki
%{_kde4_htmldir}/en/kiriki/
%{_kde4_applicationsdir}/kiriki.desktop
%{_kde4_iconsdir}/hicolor/*/apps/kiriki.*
%{_kde4_appsdir}/kiriki/
%{_kf5_bindir}/kiriki
%{_kf5_htmldir}/en/kiriki/
%{_kf5_applicationsdir}/org.kde.kiriki.desktop
%{_kf5_iconsdir}/hicolor/*/apps/kiriki.*
%{_kf5_appsdir}/kiriki/
%_datadir/kxmlgui5/kiriki/
%changelog