SHA256
1
0
forked from pool/palapeli
palapeli/palapeli.spec

101 lines
3.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package palapeli (Version 4.7.80_20111122)
#
# 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: palapeli
BuildRequires: libkdegames-devel
BuildRequires: xz
License: GPL-2.0+
Group: Amusements/Games/Board/Puzzle
Summary: Jigsaw puzzle game
Url: http://www.kde.org
Version: 4.9.90
Release: 1
Source0: palapeli-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: palapeli-data = %{version}
%kde4_runtime_requires
%description
Palapeli is a jigsaw puzzle game. Unlike other games in that genre, you are not limited to aligning pieces on imaginary grids. The pieces are freely moveable. Also, Palapeli features real persistency, i.e. everything you do is saved on your disk immediately
%package data
License: GPL-2.0+
Requires: palapeli = %{version}
Group: System/GUI/KDE
Summary: Palapeli's standard puzzle files
BuildArch: noarch
%description data
This package contains the standard puzzle files for Palapeli.
%package devel
License: GPL-2.0+
Requires: palapeli = %{version}
summary: Development package for Palapeli
%description devel
This package contains the development files for Palapeli.
%prep
%setup -q -n palapeli-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%suse_update_desktop_file -r palapeli Game BoardGame
%kde_post_install
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kde4_bindir}/palapeli
%{_kde4_htmldir}/en/palapeli/
%{_kde4_applicationsdir}/palapeli.desktop
%{_kde4_iconsdir}/hicolor/*/apps/palapeli.*
%{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-palapeli.*
%{_kde4_modulesdir}/palapeli_goldbergslicer.so
%{_kde4_modulesdir}/palapeli_jigsawslicer.so
%{_kde4_modulesdir}/palapeli_rectslicer.so
%{_kde4_modulesdir}/palathumbcreator.so
%{_kde4_libdir}/libpala.so.*
%{_kde4_servicesdir}/ServiceMenus/palapeli_servicemenu.desktop
%{_kde4_servicesdir}/palapeli_goldbergslicer.desktop
%{_kde4_servicesdir}/palapeli_jigsawslicer.desktop
%{_kde4_servicesdir}/palapeli_rectslicer.desktop
%{_kde4_servicesdir}/palathumbcreator.desktop
%{_kde4_servicetypesdir}/libpala-slicerplugin.desktop
%{_datadir}/mime/packages/palapeli-mimetypes.xml
%files data
%defattr(-,root,root)
%{_kde4_appsdir}/palapeli/
%{_kde4_configdir}/palapeli-collectionrc
%files devel
%defattr(-,root,root)
/usr/include/Pala/
/usr/include/libpala/
%{_kde4_libdir}/libpala.so
%{_kde4_libdir}/libpala/
%changelog