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
|
|
|
#
|
2015-02-11 16:37:20 +01:00
|
|
|
# Copyright (c) 2015 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
|
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
|
2015-03-11 09:51:19 +01:00
|
|
|
Version: 14.12.3
|
2012-12-21 09:08:38 +01:00
|
|
|
Release: 0
|
2012-12-07 14:33:00 +01:00
|
|
|
Source0: kpat-%{version}.tar.xz
|
2013-01-07 11:04:26 +01:00
|
|
|
BuildRequires: libkdegames-devel
|
|
|
|
BuildRequires: xz
|
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(postun): shared-mime-info
|
2012-12-07 14:33:00 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-01-14 22:22:44 +01:00
|
|
|
Requires: kdegames4-carddecks-default
|
2012-12-07 14:33:00 +01:00
|
|
|
%kde4_runtime_requires
|
|
|
|
|
|
|
|
%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
|
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2013-01-07 11:04:26 +01:00
|
|
|
%kde4_makeinstall -C build
|
2012-12-07 14:33:00 +01:00
|
|
|
%suse_update_desktop_file -r kpat Game CardGame
|
|
|
|
%kde_post_install
|
|
|
|
|
2013-01-07 11:04:26 +01:00
|
|
|
%post
|
2014-11-19 20:24:16 +01:00
|
|
|
/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
2013-01-07 11:04:26 +01:00
|
|
|
|
|
|
|
%postun
|
2014-11-19 20:24:16 +01:00
|
|
|
/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
2013-01-07 11:04:26 +01:00
|
|
|
|
|
|
|
%files
|
2012-12-07 14:33:00 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.DOC
|
|
|
|
%{_kde4_bindir}/kpat
|
|
|
|
%{_kde4_htmldir}/en/kpat/
|
|
|
|
%{_kde4_applicationsdir}/kpat.desktop
|
2013-01-07 11:04:26 +01:00
|
|
|
%dir %{_kde4_iconsdir}/hicolor/24x24
|
|
|
|
%dir %{_kde4_iconsdir}/hicolor/24x24/apps
|
|
|
|
%dir %{_kde4_iconsdir}/hicolor/256x256
|
|
|
|
%dir %{_kde4_iconsdir}/hicolor/256x256/apps
|
2012-12-07 14:33:00 +01:00
|
|
|
%{_kde4_iconsdir}/hicolor/*/apps/kpat.*
|
|
|
|
%{_kde4_appsdir}/kpat/
|
|
|
|
%{_kde4_libdir}/libkcardgame.so
|
|
|
|
%{_kde4_configkcfgdir}/kpat.kcfg
|
|
|
|
%{_kde4_configdir}/kcardtheme.knsrc
|
|
|
|
%{_kde4_configdir}/kpat.knsrc
|
|
|
|
%{_datadir}/mime/packages/kpatience.xml
|
|
|
|
|
|
|
|
%changelog
|