SHA256
1
0
forked from pool/gwenview5

Accepting request 494643 from home:wolfi323:branches:KDE:Applications

- Add fix-importer.patch to make the importer work and not cause data loss if "Delete" is chosen after the import (kde#379615)
- Provides/Obsoletes gwenview instead of Conflicts

OBS-URL: https://build.opensuse.org/request/show/494643
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/gwenview5?expand=0&rev=65
This commit is contained in:
Luca Beltrame
2017-05-11 14:39:57 +00:00
committed by Git OBS Bridge
parent 01f674c8eb
commit 5a101688fe
3 changed files with 90 additions and 1 deletions

View File

@@ -29,6 +29,8 @@ License: GPL-2.0+
Group: Productivity/Graphics/Viewers
Url: http://www.kde.org
Source: gwenview-%{version}.tar.xz
# PATCH-FIX-UPSTREAM fix-importer.patch kde#379615 -- fix problems with the importer that may even cause data loss
Patch: fix-importer.patch
BuildRequires: baloo5-devel
BuildRequires: extra-cmake-modules >= %{kf5_version}
BuildRequires: kactivities5-devel
@@ -55,7 +57,8 @@ BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
Conflicts: gwenview
Provides: gwenview = %{version}
Obsoletes: gwenview < %{version}
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -70,6 +73,7 @@ hierarchy.
%prep
%setup -q -n gwenview-%{version}
%patch -p1
%build
%cmake_kf5 -d build -- -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo"