SHA256
1
0
forked from pool/gwenview5

KDE Applications 18.12.0 Beta (last try; fix any other issue post acceptance)

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/gwenview5?expand=0&rev=117
This commit is contained in:
Wolfgang Bauer
2018-11-24 23:44:08 +00:00
committed by Git OBS Bridge
parent 5b659dbbe5
commit 7e67279869
4 changed files with 29 additions and 17 deletions

View File

@@ -16,18 +16,17 @@
#
%bcond_without lang
Name: gwenview5
Version: 18.08.3
Release: 0
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: gwenview5
Version: 18.11.80
Release: 0
Summary: Image Viewer by KDE
License: GPL-2.0-or-later
Group: Productivity/Graphics/Viewers
Url: http://www.kde.org
URL: http://www.kde.org
Source: gwenview-%{version}.tar.xz
BuildRequires: baloo5-devel
BuildRequires: cfitsio-devel
@@ -56,6 +55,9 @@ BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
Recommends: %{name}-lang
Provides: gwenview = %{version}
Obsoletes: gwenview < %{version}
# Needed for 42.3
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
@@ -65,10 +67,6 @@ BuildRequires: gcc6-c++
BuildRequires: gcc7-c++
%endif
%endif
Provides: gwenview = %{version}
Obsoletes: gwenview < %{version}
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Gwenview is an image viewer for KDE. It features a folder tree
@@ -98,7 +96,7 @@ hierarchies.
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%{kf5_find_htmldocs}
%endif
%suse_update_desktop_file -r org.kde.gwenview Graphics RasterGraphics Viewer KDE
@@ -107,8 +105,7 @@ hierarchies.
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING*
%license COPYING*
%dir %{_datadir}/solid
%dir %{_datadir}/solid/actions
%dir %{_kf5_htmldir}
@@ -131,7 +128,7 @@ hierarchies.
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%license COPYING*
%endif
%changelog