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
|
|
|
#
|
2020-03-28 14:58:37 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
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.
|
|
|
|
|
2018-11-25 00:45:33 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-12-07 14:44:32 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-11-29 12:40:49 +01:00
|
|
|
%define kf5_version 5.60.0
|
2017-11-21 23:45:13 +01:00
|
|
|
# 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}')}
|
2018-11-25 00:45:33 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: palapeli
|
2020-09-02 08:58:30 +02:00
|
|
|
Version: 20.08.1
|
2018-11-25 00:45:33 +01:00
|
|
|
Release: 0
|
2012-12-21 09:10:12 +01:00
|
|
|
Summary: Jigsaw puzzle game
|
2018-11-25 00:45:33 +01:00
|
|
|
License: GPL-2.0-or-later
|
2012-12-07 14:44:32 +01:00
|
|
|
Group: Amusements/Games/Board/Puzzle
|
2019-08-15 16:01:22 +02:00
|
|
|
URL: https://www.kde.org
|
2020-08-13 15:53:01 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2017-11-21 23:45:13 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2020-03-28 14:58:37 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 12:40:49 +01:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5ItemViews)
|
2020-03-28 14:58:37 +01:00
|
|
|
BuildRequires: cmake(KF5KDEGames)
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2019-11-29 12:40:49 +01:00
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5Service)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(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}
|
2020-08-13 15:53:01 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2020-03-28 14:58:37 +01:00
|
|
|
Source2: applications.keyring
|
2017-11-29 00:15:12 +01:00
|
|
|
%endif
|
2020-03-28 14:58:37 +01:00
|
|
|
Recommends: %{name}-lang
|
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
|
|
|
%lang_package
|
|
|
|
|
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
|
2020-02-07 09:50:39 +01:00
|
|
|
%cmake_build
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%install
|
2017-11-21 23:45:13 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-25 00:45:33 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-11-21 23:45:13 +01:00
|
|
|
%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
|
|
|
|
2020-08-13 15:53:01 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2013-01-07 11:07:04 +01:00
|
|
|
|
2020-08-13 15:53:01 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2013-01-07 11:07:04 +01:00
|
|
|
|
|
|
|
%files
|
2018-11-25 00:45:33 +01:00
|
|
|
%license COPYING*
|
2017-11-21 23:45:13 +01:00
|
|
|
%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
|
2019-04-03 10:53:04 +02:00
|
|
|
%{_kf5_debugdir}/palapeli.categories
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%files data
|
2018-11-25 00:45:33 +01:00
|
|
|
%license COPYING*
|
2017-11-21 23:45:13 +01:00
|
|
|
%{_kf5_appsdir}/palapeli/
|
|
|
|
%config %{_kf5_configdir}/palapeli-collectionrc
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%files devel
|
2018-11-25 00:45:33 +01:00
|
|
|
%license COPYING*
|
2017-11-21 23:45:13 +01:00
|
|
|
%{_includedir}/Pala
|
|
|
|
%{_includedir}/libpala
|
|
|
|
%{_kf5_libdir}/libpala.so
|
|
|
|
%{_kf5_libdir}/libpala/
|
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-11-25 00:45:33 +01:00
|
|
|
%license COPYING*
|
2017-11-21 23:45:13 +01:00
|
|
|
%endif
|
2012-12-07 14:44:32 +01:00
|
|
|
|
|
|
|
%changelog
|