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 Name: kiriki
BuildRequires: libkdegames4-devel BuildRequires: libkdegames-devel
BuildRequires: xz 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 Summary: Yahtzee-like Game
License: GPL-2.0+ License: GPL-2.0+
Group: Amusements/Games/Board/Other Group: Amusements/Games/Board/Other
@ -27,7 +54,6 @@ Version: 15.07.90
Release: 0 Release: 0
Source0: kiriki-%{version}.tar.xz Source0: kiriki-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description %description
Kiriki is the KDE version of the dice game Yahtzee where you roll dices 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} %setup -q -n kiriki-%{version}
%build %build
%cmake_kde4 -d build %cmake_kf5 -d build
%make_jobs %make_jobs
%install %install
cd build %kf5_makeinstall -C build
%kde4_makeinstall %suse_update_desktop_file -r org.kde.kiriki Game BoardGame
%suse_update_desktop_file -r kiriki Game BoardGame
%kde_post_install
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.DOC %doc COPYING COPYING.DOC
%{_kde4_bindir}/kiriki %{_kf5_bindir}/kiriki
%{_kde4_htmldir}/en/kiriki/ %{_kf5_htmldir}/en/kiriki/
%{_kde4_applicationsdir}/kiriki.desktop %{_kf5_applicationsdir}/org.kde.kiriki.desktop
%{_kde4_iconsdir}/hicolor/*/apps/kiriki.* %{_kf5_iconsdir}/hicolor/*/apps/kiriki.*
%{_kde4_appsdir}/kiriki/ %{_kf5_appsdir}/kiriki/
%_datadir/kxmlgui5/kiriki/
%changelog %changelog