SHA256
1
0
forked from pool/krita

Accepting request 706306 from home:wolfi323:branches:KDE:Extra

- Update to 4.2.0:
  * See https://krita.org/en/krita-4-2-release-notes/
  * Fix: Allow changing layer name to set document as modified
    (kde#380437)
  * Fix: Allow undoing when changing layer names (kde#380437)
  * Fix: Update the undo limit if we change it
  * Fix: Handling of modified document notification in sub-window
    mode (kde#386488)
  * Fix: Fix when holding right-click over layer's color settings
    (kde#392815)
  * Fix: Do not show language switch warning when going back to the
    default (kde#362961)
  * Fix: Gradient map color mapping issues (kde#388976)
  * Fix: Layout improvements and showing levels for histogram
    filter (kde#376048)
  * Improvement: Add warning when adding shape to clone layer
    (kde#406730)
  * Usability: Make default background for text editor white for
    readability
  * Fix: Activation of FFTW convolution worker (kde#407062)
  * Fix: Crash in halftone filter (kde#407045)
  * Fix: remove notification for unused keyboard short for
    wrap-around (kde#407119)
  * Fix: Safe assert triggered while drawing (kde#404552)
  * Improvement: Warn artists if they try to render an animated GIF
    with over 50 FPS (kde#403873)
  * Improvement: Handle calculation better for grayscale images in
    high bit depth (kde#405693)
  * Usability: Make tabs and table headers and text translatable
    (kde#406943, kde#406944)
  * Improvement: Make zoom mode persistent when moving across
    screens
  * Fix: Exporting animation frames into EXR format (kde#406830)
  * Improvement: Load broken TGA files that have bad alpha data
    (kde#354791)
  * Python: Allow selecting boundary limits on export (kde#404615)
  * Fix: Unable to set minimal shade selector (kde#368587)
  * Improvement: Add pixel snap mode for canvas (kde#390952)
  * Fix: Load pre-Krita 4.0 transform masks (kde#396815)
  * Fix: TIFF export filter flatten images with group layers
    (kde#404204)
  * Fix: Do not activate already running app instance when
    exporting image sequence
  * Fix: Memory leak with GIFs when saving and line length
    (kde#404160)
  * Improvement: Better calculate SVG document size and loading
    omitted commands (kde#406124)
  * Usability: Hide pattern fill option in vector tools until it is
    fully implemented
  * Fix: Artifacts when saving vector layers as PNG (kde#404976)
  * Fix: Crash when merging back split alpha function
  * Fix: Address sanitizer (ASAN) crash when creating a guide
    (kde#405732)
  * Fix: Hard to select color in vector objects (kde#404975)
  * Fix: Undo merging a layer that is cloned (kde#397836)
  * Improvement: Add fractional DPI scaling (found in settings)
  * Improvement: Allow clone brush to have an option to reset
    origin after every stroke
  * Fix: Canvas input cursor updates when it has no input focus
    (kde#369305)
  * Fix: Hiccups when using wheel on Wacom's tablet (kde#381452)
  * Fix: Clone brush should use the last layer the source was
    placed on (kde#401919)
  * Fix: Tilt elevation curve corrections (kde#399846)
  * Fix: Do not focus on tag search line edit in the show event
    (kde#404131)
  * Usability: Only show layer styles contour and texture when
    Bevel and Emboss is checked (kde#396015)
  * Python: Comics plugin improvements to file saving and creating
    documents
  * Fix: Pop-up palette color fix when changing themes
  * Usability: Improve control point size for brush editor curves
    (kde#406233)
  * Fix: Make font size consistent (kde#406386)
  * Usability: Theme change fixes for overview docker, rulers, and
    subwindows
  * Fix: Memory leak caused by converting function
  * Fix: Wrong position of the merged layer (kde#405686)
  * Fix: Right clicking on popup-palette color selector hides it
    (kde#402990)
  * Fix: rulers showing pixels no matter what unit (kde#406181)
  * Fix: Crash in Split Alpha function (kde#406241)
  * Fix: wrong bounding box on gradient map (kde#406234)
  * Fix: page orientation switch in new dialog (kde#374493)
  * Improvement: Do a better job when calculating nearest neighbor
    filters (kde#401788)
  * Usability: Improve contrast with checkboxes on pen settings and
    brush favorites
  * Fix: Allow group layers to be transformed and improve logic for
    layers that cannot be transformed (kde#406036)
  * Fix: Background color being lost after merging (kde#405230)
  * Improvement: Remember last used directory for shortcut
    import/export (kde#368360)
  * Improvement: Improve canvas refresh rate when moving vector
    objects (kde#403340, kde#405698)
  * Improvement: Intel OpenGL detection for newer drivers
  * Fix crash on quick brush engine because of calculations
    (kde#404179)
  * Fix: splash screen on some high DPI screens
  * Improvement: Move color filters on onion skin out of combo box
    for easier toggling
  * Usability: Improve contrast with checkboxes on brush settings,
    pen sensors, and blending modes (bug 404190)
  * Fix: hangup when starting painting too quickly after changing
    opacity (kde#405879)
  * Fix: Data loss when adding multiple hold frames through
    right-click menu (kde#404246)
  * Fix: Copy correct image cache when cloning a layer (kde#387698)
  * Fix: Only show Intel graphics card warning on Windows
  * Text: changed "Launch Bug Report Wizard" to "Submit Bug Report"
    from main menu (kde#406152)
  * Usability: Add tooltip to eraser button in toolbar
  * Fix activation of isolate mode when merging layers down
    (kde#295981)
  * Improvement: Add ability for shape brushes to use patterns for
    filling
  * Fix: Transform tool crash on layers with pass-through mode
  * Improvement: Add more information like HighDPI and language to
    usage logger
  * Fix: Make sure a masked painter knows about outlines
    (kde#404963)
  * Fix: Make sure polyline takes into account the no-stroke
    setting
  * Feature: Add ability to export animation to PNG sequence using
    commandline
  * Fix: Better handle loading recent files (kde#405364)
  * Improvement: Better show/hide progress bars when loading an
    unsupported image (kde#402625)
  * Feature: Add mirroring capability for Quick brush (kde#372636)
  * Usability: Add a second row to pop-up palette presets if the
    number gets above 20 so they are easier to see
  * Fix: Color smudge might not have an image for tip (kde#405336)
  * Fix: Prevent crash with mirror manager decorations
  * Fix: When no outline is selected, outline doesn't use brush
    width (kde#398509)
  * Fix: Low pixel size limit in Scale to New Size dialog
  * Feature: Simplex Noise Generator can now be used from a fill
    layer
  * Usability: Make disabled icons in animation docker
    semi-transparent to be like other disabled icons
  * Fix: creating vector shapes with pattern fills (kde#405037)
  * Fix: minimum animation cell grid size on windows
  * Fix: conversion errors in Scale new image dialog (kde#400177)
  * Improve UI for Arrange docker to make it easier to understand
    (kde#399984, kde#394084)
  * Fix: Only load a thumbnail for a recent file that still exists
    (kde#401939)
  * Improve angle selection on layer effects (kde#372169)
  * Fix: Restore broken fonts (kde#402092)
  * Add a few new options for fill type when creating new documents
  * Fix: Remove the default shortcut for text tool. We just don't
    have any good available keys left (kde#402270)
  * Improve animation export dialog: Add warning when dimensions
    are not divisible by 2 for MP4 and MKV. Make sure the default
    dialog uses the encoder config for the format
  * Fix opening templates from the command line (kde#402342)
  * Inserting a layer when on a group layer adds it above the layer,
    not inside it now (kde#399103)
  * Feature: Advanced Color Selector - Add option to hide the color
    selector in the configure menu (kde#337328)
  * Remove old Karbon gradient files that weren't being used
  * Fix: Restore the UI after crashing in canvas only mode
    (kde#402710)
  * Fix: Added safe assert to prevent Krita from crashing when a
    toolbar gets accidentally enabled
  * Improvement: Add more information to the bug reporter with
    memory, CPU cores, and swap location
  * Usability: Update the layer box to better to support RTL
    languages
  * Feature: Add Python plugin importer to make importing plugins
    easier
  * Improvement: Add direction choice for the Image Split feature
  * Fix: Actions on Move Tool only being executed after changing
    current node in move tool (kde#403048)
  * Fix: Python API. Fix crash when trying to access projection
    pixel data on transform mask (kde#402382)
  * Fix: Return colorspace of projection before returning the
    colorspace of the node (kde#402382)
  * Improvement: Enable automatic docstring generation for python
  * Fix: Loading KRA files with image names starting with a "/"
    symbol
  * Fix: Enabling the selection mode shortcuts (kde#403587)
  * Improvement: Generator Layers. Added real-time preview when
    changing layer properties
  * Improvement: Polygonal Selection: Add ability to undo these
    operations
  * Fix: File layers: Use the mergedimage preview when opening ORA
    or KRA files
  * Improvement: Transform Tool: Added Granularity to tool options
  * Improvement: Added new blending modes: Reflect, Glow, Freeze,
    Heat, Glow-Heat, Heat-Glow, Reflect-Freeze, Freeze-Reflect,
    Heat-Glow & Freeze-Reflect Hybrid
  * Fix: Save mirror tool state to KRA file (kde#339515)
  * Usability: Make it easier to select lower values for stabilizer
    sliders
  * Fix: Saving reference images z-order (kde#403974)
  * Fix: Disable use of Always Use Template in the New File Window
    (kde#399796)
  * Usability: Add a tooltip to the composition docker
  * Fix: Bug where mirroring canvas would get out of sync with the
    main menu action
  * Fix: Check if animation config exists before accessing its
    contents (kde#404521)
- Drop fix_libgif_5_0_build.patch, Leap 42.3 is too old
- Remove unnecessary build requirements
- Remove conflict with calligra-devel, no longer necessary
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/706306
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=95
This commit is contained in:
Luca Beltrame 2019-05-29 13:42:28 +00:00 committed by Git OBS Bridge
parent 1c52e8f420
commit 52d122290e
5 changed files with 221 additions and 53 deletions

View File

@ -1,14 +0,0 @@
From: Anatoly Bobrov <khnazile@rkmail.ru>
Subject: Trivial fix to make Krita link against libgif 5.0.x in openSUSE Leap 42.3
--- plugins/impex/gif/qgiflibhandler.cpp 2018-03-20 10:49:57.000000000 +0300
+++ plugins/impex/gif/qgiflibhandler.cpp 2018-03-23 15:11:33.890071869 +0300
@@ -314,7 +314,7 @@
}
}
- EGifCloseFile(gif, &err);
+ EGifCloseFile(gif);
return true;
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0476c9e2279f0ae690c2ed02e1aa9c3d491943643f9859355a02657318bd5940
size 244065767

3
krita-4.2.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19a10525e4fcc00d3888f2758c078ea82f074bcb3401422820b6454bf2276a62
size 147244808

View File

@ -1,3 +1,214 @@
-------------------------------------------------------------------
Wed May 29 11:52:40 UTC 2019 - wbauer@tmo.at
- Update to 4.2.0:
* See https://krita.org/en/krita-4-2-release-notes/
* Fix: Allow changing layer name to set document as modified
(kde#380437)
* Fix: Allow undoing when changing layer names (kde#380437)
* Fix: Update the undo limit if we change it
* Fix: Handling of modified document notification in sub-window
mode (kde#386488)
* Fix: Fix when holding right-click over layer's color settings
(kde#392815)
* Fix: Do not show language switch warning when going back to the
default (kde#362961)
* Fix: Gradient map color mapping issues (kde#388976)
* Fix: Layout improvements and showing levels for histogram
filter (kde#376048)
* Improvement: Add warning when adding shape to clone layer
(kde#406730)
* Usability: Make default background for text editor white for
readability
* Fix: Activation of FFTW convolution worker (kde#407062)
* Fix: Crash in halftone filter (kde#407045)
* Fix: remove notification for unused keyboard short for
wrap-around (kde#407119)
* Fix: Safe assert triggered while drawing (kde#404552)
* Improvement: Warn artists if they try to render an animated GIF
with over 50 FPS (kde#403873)
* Improvement: Handle calculation better for grayscale images in
high bit depth (kde#405693)
* Usability: Make tabs and table headers and text translatable
(kde#406943, kde#406944)
* Improvement: Make zoom mode persistent when moving across
screens
* Fix: Exporting animation frames into EXR format (kde#406830)
* Improvement: Load broken TGA files that have bad alpha data
(kde#354791)
* Python: Allow selecting boundary limits on export (kde#404615)
* Fix: Unable to set minimal shade selector (kde#368587)
* Improvement: Add pixel snap mode for canvas (kde#390952)
* Fix: Load pre-Krita 4.0 transform masks (kde#396815)
* Fix: TIFF export filter flatten images with group layers
(kde#404204)
* Fix: Do not activate already running app instance when
exporting image sequence
* Fix: Memory leak with GIFs when saving and line length
(kde#404160)
* Improvement: Better calculate SVG document size and loading
omitted commands (kde#406124)
* Usability: Hide pattern fill option in vector tools until it is
fully implemented
* Fix: Artifacts when saving vector layers as PNG (kde#404976)
* Fix: Crash when merging back split alpha function
* Fix: Address sanitizer (ASAN) crash when creating a guide
(kde#405732)
* Fix: Hard to select color in vector objects (kde#404975)
* Fix: Undo merging a layer that is cloned (kde#397836)
* Improvement: Add fractional DPI scaling (found in settings)
* Improvement: Allow clone brush to have an option to reset
origin after every stroke
* Fix: Canvas input cursor updates when it has no input focus
(kde#369305)
* Fix: Hiccups when using wheel on Wacom's tablet (kde#381452)
* Fix: Clone brush should use the last layer the source was
placed on (kde#401919)
* Fix: Tilt elevation curve corrections (kde#399846)
* Fix: Do not focus on tag search line edit in the show event
(kde#404131)
* Usability: Only show layer styles contour and texture when
Bevel and Emboss is checked (kde#396015)
* Python: Comics plugin improvements to file saving and creating
documents
* Fix: Pop-up palette color fix when changing themes
* Usability: Improve control point size for brush editor curves
(kde#406233)
* Fix: Make font size consistent (kde#406386)
* Usability: Theme change fixes for overview docker, rulers, and
subwindows
* Fix: Memory leak caused by converting function
* Fix: Wrong position of the merged layer (kde#405686)
* Fix: Right clicking on popup-palette color selector hides it
(kde#402990)
* Fix: rulers showing pixels no matter what unit (kde#406181)
* Fix: Crash in Split Alpha function (kde#406241)
* Fix: wrong bounding box on gradient map (kde#406234)
* Fix: page orientation switch in new dialog (kde#374493)
* Improvement: Do a better job when calculating nearest neighbor
filters (kde#401788)
* Usability: Improve contrast with checkboxes on pen settings and
brush favorites
* Fix: Allow group layers to be transformed and improve logic for
layers that cannot be transformed (kde#406036)
* Fix: Background color being lost after merging (kde#405230)
* Improvement: Remember last used directory for shortcut
import/export (kde#368360)
* Improvement: Improve canvas refresh rate when moving vector
objects (kde#403340, kde#405698)
* Improvement: Intel OpenGL detection for newer drivers
* Fix crash on quick brush engine because of calculations
(kde#404179)
* Fix: splash screen on some high DPI screens
* Improvement: Move color filters on onion skin out of combo box
for easier toggling
* Usability: Improve contrast with checkboxes on brush settings,
pen sensors, and blending modes (bug 404190)
* Fix: hangup when starting painting too quickly after changing
opacity (kde#405879)
* Fix: Data loss when adding multiple hold frames through
right-click menu (kde#404246)
* Fix: Copy correct image cache when cloning a layer (kde#387698)
* Fix: Only show Intel graphics card warning on Windows
* Text: changed "Launch Bug Report Wizard" to "Submit Bug Report"
from main menu (kde#406152)
* Usability: Add tooltip to eraser button in toolbar
* Fix activation of isolate mode when merging layers down
(kde#295981)
* Improvement: Add ability for shape brushes to use patterns for
filling
* Fix: Transform tool crash on layers with pass-through mode
* Improvement: Add more information like HighDPI and language to
usage logger
* Fix: Make sure a masked painter knows about outlines
(kde#404963)
* Fix: Make sure polyline takes into account the no-stroke
setting
* Feature: Add ability to export animation to PNG sequence using
commandline
* Fix: Better handle loading recent files (kde#405364)
* Improvement: Better show/hide progress bars when loading an
unsupported image (kde#402625)
* Feature: Add mirroring capability for Quick brush (kde#372636)
* Usability: Add a second row to pop-up palette presets if the
number gets above 20 so they are easier to see
* Fix: Color smudge might not have an image for tip (kde#405336)
* Fix: Prevent crash with mirror manager decorations
* Fix: When no outline is selected, outline doesn't use brush
width (kde#398509)
* Fix: Low pixel size limit in Scale to New Size dialog
* Feature: Simplex Noise Generator can now be used from a fill
layer
* Usability: Make disabled icons in animation docker
semi-transparent to be like other disabled icons
* Fix: creating vector shapes with pattern fills (kde#405037)
* Fix: minimum animation cell grid size on windows
* Fix: conversion errors in Scale new image dialog (kde#400177)
* Improve UI for Arrange docker to make it easier to understand
(kde#399984, kde#394084)
* Fix: Only load a thumbnail for a recent file that still exists
(kde#401939)
* Improve angle selection on layer effects (kde#372169)
* Fix: Restore broken fonts (kde#402092)
* Add a few new options for fill type when creating new documents
* Fix: Remove the default shortcut for text tool. We just don't
have any good available keys left (kde#402270)
* Improve animation export dialog: Add warning when dimensions
are not divisible by 2 for MP4 and MKV. Make sure the default
dialog uses the encoder config for the format
* Fix opening templates from the command line (kde#402342)
* Inserting a layer when on a group layer adds it above the layer,
not inside it now (kde#399103)
* Feature: Advanced Color Selector - Add option to hide the color
selector in the configure menu (kde#337328)
* Remove old Karbon gradient files that weren't being used
* Fix: Restore the UI after crashing in canvas only mode
(kde#402710)
* Fix: Added safe assert to prevent Krita from crashing when a
toolbar gets accidentally enabled
* Improvement: Add more information to the bug reporter with
memory, CPU cores, and swap location
* Usability: Update the layer box to better to support RTL
languages
* Feature: Add Python plugin importer to make importing plugins
easier
* Improvement: Add direction choice for the Image Split feature
* Fix: Actions on Move Tool only being executed after changing
current node in move tool (kde#403048)
* Fix: Python API. Fix crash when trying to access projection
pixel data on transform mask (kde#402382)
* Fix: Return colorspace of projection before returning the
colorspace of the node (kde#402382)
* Improvement: Enable automatic docstring generation for python
* Fix: Loading KRA files with image names starting with a "/"
symbol
* Fix: Enabling the selection mode shortcuts (kde#403587)
* Improvement: Generator Layers. Added real-time preview when
changing layer properties
* Improvement: Polygonal Selection: Add ability to undo these
operations
* Fix: File layers: Use the mergedimage preview when opening ORA
or KRA files
* Improvement: Transform Tool: Added Granularity to tool options
* Improvement: Added new blending modes: Reflect, Glow, Freeze,
Heat, Glow-Heat, Heat-Glow, Reflect-Freeze, Freeze-Reflect,
Heat-Glow & Freeze-Reflect Hybrid
* Fix: Save mirror tool state to KRA file (kde#339515)
* Usability: Make it easier to select lower values for stabilizer
sliders
* Fix: Saving reference images z-order (kde#403974)
* Fix: Disable use of Always Use Template in the New File Window
(kde#399796)
* Usability: Add a tooltip to the composition docker
* Fix: Bug where mirroring canvas would get out of sync with the
main menu action
* Fix: Check if animation config exists before accessing its
contents (kde#404521)
- Drop fix_libgif_5_0_build.patch, Leap 42.3 is too old
- Remove unnecessary build requirements
- Remove conflict with calligra-devel, no longer necessary
- Run spec-cleaner
-------------------------------------------------------------------
Wed Mar 6 14:24:12 UTC 2019 - wbauer@tmo.at

View File

@ -1,7 +1,7 @@
#
# spec file for package krita
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -26,26 +26,19 @@
%endif
Name: krita
Version: 4.1.8
Version: 4.2.0
Release: 0
Summary: Digital Painting Application
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Graphics/Bitmap Editors
Url: http://www.krita.org/
Source0: http://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fix_libgif_5_0_build.patch -- Trivial fix to make Krita link against libgif 5.0.x in openSUSE Leap 42.3
Patch: fix_libgif_5_0_build.patch
BuildRequires: Mesa-devel
URL: https://www.krita.org/
Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
BuildRequires: OpenColorIO-devel
BuildRequires: OpenEXR-devel
%if %{with vc}
BuildRequires: Vc-devel-static
%endif
%if 0%{?suse_version} < 1320
BuildRequires: boost_1_61-devel
%else
BuildRequires: libboost_system-devel
%endif
BuildRequires: extra-cmake-modules
BuildRequires: fftw3-devel
BuildRequires: giflib-devel
@ -57,12 +50,10 @@ BuildRequires: kcoreaddons-devel
BuildRequires: kcrash-devel
BuildRequires: kguiaddons-devel
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kitemmodels-devel
BuildRequires: kitemviews-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kwindowsystem-devel
BuildRequires: kxmlgui-devel
BuildRequires: libeigen3-devel
BuildRequires: libexiv2-devel
BuildRequires: libjpeg-devel
@ -71,46 +62,33 @@ BuildRequires: libpng-devel
BuildRequires: libpoppler-qt5-devel
BuildRequires: libraw-devel
BuildRequires: libtiff-devel
BuildRequires: openjpeg-devel
BuildRequires: perl
BuildRequires: python3-devel
BuildRequires: python3-qt5-devel
BuildRequires: python3-sip-devel
BuildRequires: libquazip-qt5-devel
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core) >= 5.6
BuildRequires: pkgconfig(Qt5Core) >= 5.9
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Script)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(inputproto) >= 2.0.99.1
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb-atom)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xi) >= 1.4.99.1
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xorg-macros) >= 1.3
BuildRequires: pkgconfig(xrandr)
%if %{with lang}
Recommends: %{name}-lang = %{version}
%endif
Recommends: python3-qt5
Obsoletes: calligra-krita < %{version}
Provides: calligra-krita = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Krita is a painting program. It supports concept art, texture and
@ -120,20 +98,14 @@ matte painters, as well as illustrations and comics.
Summary: Krita Build Environment
Group: Development/Libraries/KDE
Requires: %{name} = %{version}
Conflicts: calligra-devel
%description devel
Development headers and libraries for Krita.
%if %{with lang}
%lang_package
%endif
%prep
%setup -q -n krita-%{version}
%if 0%{?suse_version} < 1320
%patch
%endif
%build
# install translations to %%{_kf5_localedir} so they don't clash with the krita translations in calligra-l10n (KDE4 based)
@ -154,7 +126,6 @@ chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%license COPYING*
%doc AUTHORS HACKING README*
%{_kf5_bindir}/krita