SHA256
1
0
forked from pool/marble
2021-03-28 07:27:54 +00:00
committed by Git OBS Bridge
parent d68e313625
commit c9e545653b
6 changed files with 36 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package marble
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,14 +23,14 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: marble
Version: 20.12.3
Version: 21.03.80
Release: 0
Summary: Generic map viewer
# License note: the tools directory contains GPL-3 tools, but they are neither built nor installed by the package
License: LGPL-2.1-or-later
Group: Amusements/Teaching/Other
URL: https://edu.kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: gpsd-devel
@@ -75,7 +75,7 @@ Recommends: %{name}-lang
Obsoletes: marble5 < %{version}
Provides: marble5 < %{version}
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
@@ -172,7 +172,7 @@ export SUSE_ASNEEDED=0
%ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
%cmake_kf5 -d build -- -DBUILD_MARBLE_TESTS=NO -DMOBILE=FALSE -DQT_PLUGINS_DIR=%{_kf5_plugindir}
%cmake_kf5 -d build -- -DBUILD_MARBLE_TESTS=NO -DMOBILE=OFF -DQT_PLUGINS_DIR=%{_kf5_plugindir}
%cmake_build
%install
@@ -208,7 +208,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%{_kf5_libdir}/marble/
%{_kf5_plugindir}/designer/
%{_kf5_plugindir}/libmarble*so
%{_kf5_plugindir}/plasma_runner_marble.so
%dir %{_kf5_plugindir}/kf5/
%dir %{_kf5_plugindir}/kf5/krunner/
%{_kf5_plugindir}/kf5/krunner/plasma_runner_marble.so
%{_kf5_plugindir}/marblethumbnail.so
%{_kf5_qmldir}/org/kde/marble/
%{_kf5_servicesdir}/*desktop