KDE Applications 20.03.80

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kig?expand=0&rev=111
This commit is contained in:
2020-03-28 13:57:39 +00:00
committed by Git OBS Bridge
parent da94256ee5
commit 095eb37b90
6 changed files with 52 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package kig
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,45 +21,43 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kig
Version: 19.12.3
Version: 20.03.80
Release: 0
Summary: Interactive Geometry
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
URL: https://edu.kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: kf5-filesystem
BuildRequires: python3-devel
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5KDELibs4Support)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5Emoticons)
BuildRequires: kf5-filesystem
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5ItemModels)
BuildRequires: cmake(KF5KDELibs4Support)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5TextEditor)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: python-devel
BuildRequires: update-desktop-files
BuildRequires: cmake(Qt5PrintSupport) >= 5.2.0
BuildRequires: cmake(Qt5Svg) >= 5.2.0
BuildRequires: cmake(Qt5Test) >= 5.2.0
BuildRequires: cmake(Qt5XmlPatterns) >= 5.2.0
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
%if %{with lang}
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
%if 0%{?suse_version} > 1325
BuildRequires: libboost_python-devel
BuildRequires: libboost_python3-devel
%else
BuildRequires: boost-devel
%endif
%if %{with lang}
Recommends: %{name}-lang
%endif
%description
Kig is an application for Interactive Geometry. It's intended to serve
@@ -67,12 +65,10 @@ two purposes: Allow students to interactively explore mathematical
figures and concepts using the computer. Serve as a WYSIWYG tool for
drawing mathematical figures and including them in other documents.
%if %{with lang}
%lang_package
%endif
%prep
%setup -q
%autosetup -p1
%build
%cmake_kf5 -d build -- -DBoost_NO_BOOST_CMAKE=ON
@@ -98,7 +94,8 @@ drawing mathematical figures and including them in other documents.
%{_kf5_mandir}/man*
%{_kf5_plugindir}/
%{_kf5_servicesdir}/
%{_kf5_sharedir}/katepart5/
# Disabled for now (kde#419237)
# %{_kf5_sharedir}/katepart5/
%{_kf5_sharedir}/kig/
%{_kf5_sharedir}/kxmlgui5/