2012-12-07 14:33:00 +01:00
|
|
|
#
|
2012-12-21 09:08:38 +01:00
|
|
|
# spec file for package kpat
|
2012-12-07 14:33:00 +01:00
|
|
|
#
|
2016-12-03 15:03:51 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-12-07 14:33:00 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kpat
|
2017-04-12 16:53:42 +02:00
|
|
|
Version: 17.03.90
|
2016-12-03 15:03:51 +01:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.26.0
|
2017-03-26 09:21:49 +02:00
|
|
|
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
|
2016-12-03 15:03:51 +01:00
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2012-12-21 09:08:38 +01:00
|
|
|
Summary: Patience card game
|
2012-12-07 14:33:00 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Amusements/Games/Board/Card
|
|
|
|
Url: http://www.kde.org
|
|
|
|
Source0: kpat-%{version}.tar.xz
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: kcompletion-devel
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: kconfig-devel
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: kconfigwidgets-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: kdbusaddons-devel
|
|
|
|
BuildRequires: kdeclarative-devel
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: kdelibs4support-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: kguiaddons-devel
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kio-devel
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: kitemviews-devel
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: knewstuff-devel
|
|
|
|
BuildRequires: knotifyconfig-devel
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: ktextwidgets-devel
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: kwidgetsaddons-devel
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: kxmlgui-devel
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: libkdegames-devel
|
2015-05-11 19:12:59 +02:00
|
|
|
BuildRequires: phonon4qt5-devel
|
2016-12-03 15:03:51 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
|
|
BuildRequires: pkgconfig(Qt5QuickWidgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
Requires: kdegames-carddecks-default
|
2013-01-07 11:04:26 +01:00
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(postun): shared-mime-info
|
2015-05-11 19:12:59 +02:00
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
2012-12-07 14:33:00 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
KPatience is a collection of various patience games known all over the
|
|
|
|
world. It includes Klondike, Freecell, Yukon, Forty and Eight and many
|
|
|
|
more. The game has nice graphics and many different carddecks.
|
|
|
|
|
|
|
|
%prep
|
2013-01-07 11:04:26 +01:00
|
|
|
%setup -q
|
2012-12-07 14:33:00 +01:00
|
|
|
|
|
|
|
%build
|
2015-05-11 19:12:59 +02:00
|
|
|
%cmake_kf5 -d build
|
2012-12-07 14:33:00 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2015-05-11 19:12:59 +02:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%suse_update_desktop_file -r org.kde.kpat Game CardGame
|
2012-12-07 14:33:00 +01:00
|
|
|
|
2013-01-07 11:04:26 +01:00
|
|
|
%post
|
2016-12-03 15:21:35 +01:00
|
|
|
%mime_database_post
|
2013-01-07 11:04:26 +01:00
|
|
|
|
|
|
|
%postun
|
2016-12-03 15:21:35 +01:00
|
|
|
%mime_database_postun
|
2013-01-07 11:04:26 +01:00
|
|
|
|
|
|
|
%files
|
2012-12-07 14:33:00 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.DOC
|
2015-05-11 19:12:59 +02:00
|
|
|
%{_kf5_bindir}/kpat
|
|
|
|
%{_kf5_htmldir}/en/kpat/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.kpat.desktop
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24/apps
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/256x256
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/64x64
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/64x64/apps
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kpat.*
|
|
|
|
%{_kf5_appsdir}/kpat/
|
|
|
|
%{_kf5_libdir}/libkcardgame.so
|
|
|
|
%dir %{_kf5_configkcfgdir}
|
|
|
|
%{_kf5_configkcfgdir}/kpat.kcfg
|
|
|
|
%{_kf5_configdir}/kcardtheme.knsrc
|
|
|
|
%{_kf5_configdir}/kpat.knsrc
|
2012-12-07 14:33:00 +01:00
|
|
|
%{_datadir}/mime/packages/kpatience.xml
|
2016-12-03 15:03:51 +01:00
|
|
|
%{_kf5_kxmlguidir}/kpat/
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/kpat.*
|
2012-12-07 14:33:00 +01:00
|
|
|
|
|
|
|
%changelog
|