2012-12-07 14:44:32 +01:00
|
|
|
#
|
2012-12-21 09:10:12 +01:00
|
|
|
# spec file for package palapeli
|
2012-12-07 14:44:32 +01:00
|
|
|
#
|
2017-11-21 23:45:13 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-12-07 14:44:32 +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.
|
|
|
|
|
2017-04-20 10:36:25 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2012-12-07 14:44:32 +01:00
|
|
|
#
|
|
|
|
|
2017-11-21 23:45:13 +01:00
|
|
|
%bcond_without lang
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
Name: palapeli
|
2018-11-09 23:59:45 +01:00
|
|
|
Version: 18.08.3
|
2017-11-21 23:45:13 +01:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.26.0
|
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:50:40 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2012-12-21 09:10:12 +01:00
|
|
|
Summary: Jigsaw puzzle game
|
2012-12-07 14:44:32 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Amusements/Games/Board/Puzzle
|
|
|
|
Url: http://www.kde.org
|
|
|
|
Source0: palapeli-%{version}.tar.xz
|
2017-11-21 23:45:13 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: karchive-devel
|
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: kconfigwidgets-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kcrash-devel
|
|
|
|
BuildRequires: kdelibs4support-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: kitemviews-devel
|
|
|
|
BuildRequires: knotifications-devel
|
|
|
|
BuildRequires: kservice-devel
|
|
|
|
BuildRequires: kwidgetsaddons-devel
|
|
|
|
BuildRequires: kxmlgui-devel
|
|
|
|
BuildRequires: libkdegames-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
2012-12-07 14:44:32 +01:00
|
|
|
Requires: palapeli-data = %{version}
|
2013-01-07 11:07:04 +01:00
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(postun): shared-mime-info
|
2017-11-29 00:15:12 +01:00
|
|
|
%if %{with lang}
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
%endif
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%description
|
2013-01-07 11:07:04 +01:00
|
|
|
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.
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%package data
|
|
|
|
Summary: Palapeli's standard puzzle files
|
2012-12-21 09:10:12 +01:00
|
|
|
Group: System/GUI/KDE
|
2013-01-07 11:07:04 +01:00
|
|
|
Requires: palapeli = %{version}
|
2012-12-07 14:44:32 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description data
|
|
|
|
This package contains the standard puzzle files for Palapeli.
|
|
|
|
|
|
|
|
%package devel
|
2012-12-21 09:10:12 +01:00
|
|
|
Summary: Development package for Palapeli
|
2013-01-07 11:07:04 +01:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: palapeli = %{version}
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the development files for Palapeli.
|
|
|
|
|
2017-11-21 23:45:13 +01:00
|
|
|
%if %{with lang}
|
|
|
|
%lang_package
|
|
|
|
%endif
|
|
|
|
|
2012-12-07 14:44:32 +01:00
|
|
|
%prep
|
2013-01-07 11:07:04 +01:00
|
|
|
%setup -q
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%build
|
2017-11-21 23:45:13 +01:00
|
|
|
%cmake_kf5 -d build
|
2012-12-07 14:44:32 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2017-11-21 23:45:13 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%kf5_find_htmldocs
|
|
|
|
%endif
|
2016-12-03 13:18:38 +01:00
|
|
|
%suse_update_desktop_file -r org.kde.palapeli Game BoardGame
|
2012-12-07 14:44:32 +01:00
|
|
|
|
2013-01-07 11:07:04 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
2016-06-15 00:03:27 +02:00
|
|
|
%mime_database_post
|
2013-01-07 11:07:04 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
2016-06-15 00:03:27 +02:00
|
|
|
%mime_database_postun
|
2013-01-07 11:07:04 +01:00
|
|
|
|
|
|
|
%files
|
2012-12-07 14:44:32 +01:00
|
|
|
%defattr(-,root,root)
|
2017-11-21 23:45:13 +01:00
|
|
|
%doc COPYING*
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/16x16
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/16x16/apps
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/16x16/mimetypes
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24/apps
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24/mimetypes
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/32x32
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/32x32/apps
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/32x32/mimetypes
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/64x64
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/64x64/apps
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/64x64/mimetypes
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/128x128/
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/128x128/apps
|
|
|
|
%dir %{_kf5_iconsdir}/hicolor/128x128/mimetypes/
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/palapeli.png
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-palapeli.png
|
|
|
|
%dir %{_kf5_servicesdir}/ServiceMenus
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/palapeli/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.palapeli.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.palapeli.appdata.xml
|
|
|
|
%{_kf5_bindir}/palapeli
|
|
|
|
%{_kf5_kxmlguidir}/palapeli/
|
|
|
|
%{_kf5_libdir}/libpala.so.*
|
|
|
|
%{_kf5_notifydir}/palapeli.notifyrc
|
|
|
|
%{_kf5_plugindir}/pala*
|
|
|
|
%{_kf5_servicesdir}/ServiceMenus/palapeli_servicemenu.desktop
|
|
|
|
%{_kf5_servicesdir}/palapeli_goldbergslicer.desktop
|
|
|
|
%{_kf5_servicesdir}/palapeli_jigsawslicer.desktop
|
|
|
|
%{_kf5_servicesdir}/palapeli_rectslicer.desktop
|
|
|
|
%{_kf5_servicesdir}/palathumbcreator.desktop
|
|
|
|
%{_kf5_servicetypesdir}/libpala-slicerplugin.desktop
|
|
|
|
%{_kf5_sharedir}/mime/packages/palapeli-mimetypes.xml
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%files data
|
|
|
|
%defattr(-,root,root)
|
2017-11-21 23:45:13 +01:00
|
|
|
%doc COPYING*
|
|
|
|
%{_kf5_appsdir}/palapeli/
|
|
|
|
%config %{_kf5_configdir}/palapeli-collectionrc
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2017-11-21 23:45:13 +01:00
|
|
|
%doc COPYING*
|
|
|
|
%{_includedir}/Pala
|
|
|
|
%{_includedir}/libpala
|
|
|
|
%{_kf5_libdir}/libpala.so
|
|
|
|
%{_kf5_libdir}/libpala/
|
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%doc COPYING*
|
|
|
|
%endif
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%changelog
|