From 3aa9e05c0b97915bc831dcab1c5228cc592288dada771b045fa8fca9334b458e Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Fri, 11 Aug 2017 22:54:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kbruch?expand=0&rev=60 --- kbruch.changes | 12 ++++++++++++ kbruch.spec | 29 ++++++++++++++++------------- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/kbruch.changes b/kbruch.changes index ba2dcfc..b927eb3 100644 --- a/kbruch.changes +++ b/kbruch.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Aug 11 22:45:11 UTC 2017 - christophe@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : + * Fix wayland support + * Fix support for hdpi + * Use Q_DECLARE_OVERRIDE + * remove obsolete LSM file + ------------------------------------------------------------------- Sat Aug 5 18:17:13 UTC 2017 - christophe@krop.fr diff --git a/kbruch.spec b/kbruch.spec index fe06c6d..c297fb3 100644 --- a/kbruch.spec +++ b/kbruch.spec @@ -1,7 +1,7 @@ # # spec file for package kbruch # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %bcond_without lang Name: kbruch Version: 17.07.90 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Excercise Fractions License: GPL-2.0+ @@ -29,8 +30,6 @@ Group: Amusements/Teaching/Mathematics Url: http://edu.kde.org Source0: %{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5Core) BuildRequires: kconfig-devel BuildRequires: kcrash-devel BuildRequires: kdoctools-devel @@ -38,9 +37,13 @@ BuildRequires: ki18n-devel BuildRequires: kwidgetsaddons-devel BuildRequires: kxmlgui-devel BuildRequires: update-desktop-files +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Widgets) Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -70,16 +73,16 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING* NEWS README -%{_kf5_bindir}/kbruch -%{_kf5_appstreamdir}/org.kde.kbruch.appdata.xml -%{_kf5_applicationsdir}/org.kde.kbruch.desktop -%{_kf5_configkcfgdir}/ -%{_kf5_htmldir}/en/kbruch/ -%{_kf5_iconsdir}/hicolor/*/apps/kbruch.* -%{_datadir}/kbruch/ -%{_kf5_kxmlguidir}/kbruch/ -%{_mandir}/man1/kbruch.1%{ext_man} %dir %{_kf5_appstreamdir} +%{_kf5_applicationsdir}/org.kde.kbruch.desktop +%{_kf5_appstreamdir}/org.kde.kbruch.appdata.xml +%{_kf5_bindir}/kbruch +%{_kf5_configkcfgdir}/ +%doc %lang(en) %{_kf5_htmldir}/en/kbruch/ +%{_kf5_iconsdir}/hicolor/*/apps/kbruch.* +%{_kf5_kxmlguidir}/kbruch/ +%{_kf5_sharedir}/kbruch/ +%{_mandir}/man1/kbruch.1%{ext_man} %if %{with lang} %files lang -f %{name}.lang