This commit is contained in:
parent
d7fee4dcb6
commit
ed10e054ac
66
lskat.spec
66
lskat.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lskat
|
# spec file for package lskat
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 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,18 +17,44 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: lskat
|
Name: lskat
|
||||||
BuildRequires: libkdegames4-devel
|
Version: 17.07.90
|
||||||
BuildRequires: xz
|
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: German Skat game
|
Summary: German Skat game
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Amusements/Games/Board/Card
|
Group: Amusements/Games/Board/Card
|
||||||
Url: http://www.kde.org
|
Url: http://www.kde.org
|
||||||
Version: 17.07.90
|
|
||||||
Release: 0
|
|
||||||
Source0: lskat-%{version}.tar.xz
|
Source0: lskat-%{version}.tar.xz
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: karchive-devel
|
||||||
|
BuildRequires: kconfig-devel
|
||||||
|
BuildRequires: kconfigwidgets-devel
|
||||||
|
BuildRequires: kcoreaddons-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: 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)
|
||||||
|
Requires: kdegames-carddecks-default
|
||||||
|
Obsoletes: lskat5 < %{version}
|
||||||
|
Provides: lskat5 = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: kdegames4-carddecks-default
|
|
||||||
%kde4_runtime_requires
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lieutenant Skat is a nice two player card game which follows the rules
|
Lieutenant Skat is a nice two player card game which follows the rules
|
||||||
@ -36,30 +62,26 @@ for the German game (Offiziers)-Skat. The program includes many
|
|||||||
different carddecks to choose. A computer opponent can play for any of
|
different carddecks to choose. A computer opponent can play for any of
|
||||||
the players.
|
the players.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n lskat-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -d build
|
%cmake_kf5 -d build
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
%kf5_makeinstall -C build
|
||||||
%makeinstall
|
%suse_update_desktop_file -r org.kde.lskat Game CardGame
|
||||||
%suse_update_desktop_file -r lskat Game CardGame
|
|
||||||
%kde_post_install
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.DOC
|
%doc COPYING COPYING.DOC
|
||||||
%{_kde4_bindir}/lskat
|
%{_kf5_applicationsdir}/org.kde.lskat.desktop
|
||||||
%{_kde4_htmldir}/en/lskat/
|
%{_kf5_appsdir}/lskat/
|
||||||
%{_kde4_applicationsdir}/lskat.desktop
|
%{_kf5_appstreamdir}/org.kde.lskat.appdata.xml
|
||||||
%{_kde4_iconsdir}/hicolor/*/apps/lskat.*
|
%{_kf5_bindir}/lskat
|
||||||
%{_kde4_appsdir}/lskat/
|
%{_kf5_htmldir}/en/lskat/
|
||||||
|
%{_kf5_iconsdir}/hicolor/*/apps/lskat.*
|
||||||
|
%{_kf5_kxmlguidir}/lskat/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user