File kdegames4-carddecks.spec of Package kdegames4
#
# spec file for package kdegames4-carddecks
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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: kdegames4-carddecks
BuildRequires: libkde4-devel
License: LGPLv2.1+
Group: System/GUI/KDE
Summary: Default Card Decks for KDE Games
Url: http://www.kde.org
Version: 4.6.0
Release: 1
Source0: kdegames-%version.tar.bz2
Patch0: 4_5_BRANCH.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains the default card deck set for KDE games.
Authors:
--------
The KDE Team <kde@kde.org>
%prep
%setup -q -n kdegames-%version
%patch0
%build
%cmake_kde4 -d build
cd libkdegames/carddecks
%make_jobs
%install
cd build/libkdegames/carddecks
%makeinstall
%kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%package other
License: LGPLv2.1+
Group: System/GUI/KDE
Summary: Further Card Decks for KDE Games
BuildArch: noarch
Requires: kdegames4-carddecks-default = %version
%description other
This package contains several further card deck set for KDE games.
Authors:
--------
The KDE Team <kde@kde.org>
%files other
%defattr(-,root,root)
%doc COPYING COPYING.LIB README
%exclude %_kde_share_dir/apps/carddecks/decks
%exclude %_kde_share_dir/apps/carddecks/svg-standard
%exclude %_kde_share_dir/apps/carddecks/svg-oxygen-white
%exclude %_kde_share_dir/apps/carddecks/svg-ancient-egyptians
%_kde_share_dir/apps/carddecks
%package default
License: LGPLv2.1+
Group: System/GUI/KDE
Summary: Default Card Decks for KDE Games
BuildArch: noarch
%description default
This package contains the default card deck set for KDE games.
Authors:
--------
The KDE Team <kde@kde.org>
%files default
%defattr(-,root,root)
%doc COPYING COPYING.LIB README
%_kde_share_dir/apps/carddecks/decks
%_kde_share_dir/apps/carddecks/svg-standard
%_kde_share_dir/apps/carddecks/svg-oxygen-white
%_kde_share_dir/apps/carddecks/svg-ancient-egyptians
%changelog