SHA256
1
0
forked from pool/krita
krita/krita.spec
Luca Beltrame 0d396abb9b Accepting request 712276 from home:wolfi323:branches:KDE:Extra
- Update to 4.2.2:
  * See https://krita.org/en/item/krita-4-2-2-released/
  * Text editor: make sure the background color is the one set in
    the settings (kde#408344)
  * Fix a crash when creating a text shape (kde#407554)
  * Make sure the text style is not reset when removing the last
    character in the text editor (kde#408441)
  * Use a highlighted tool button in the selection tool option
    dockers so it's easier to see which selection action is active
  * Fix the nearest neighbour transform algorithm (kde#408182)
  * Fix a styling issue in the filter layers properties dialog
    (kde#408171)
  * Fix an issue where if Krita was set to use a language other
    than English, vector strokes were drawn wrongly
  * Fix selecting colors from the combobox in the palette docker
  * Fix a crash when loading a broken KPL file (kde#408447)
  * Fix an issue where a transparent pattern fill loader was loaded
    incorrectly (kde#408169)
  * Make it possible to make the onion skin docker smaller
    (kde#407646)
  * Improve loading GPL palettefiles with thousands of columns
  * Fix the slider widget to make it impossible to get negative
    values
  * Improve the tiff import/export filter (kde#408177)
  * Fix loading the scripter Python plugin when using a language
    other than English
  * Improve the reference image tool and optimize loading images
    from clipboard
  * Make the camera raw import filter honor batch mode
  * Fix rendering of clone layers if the source layer is not
    visible (kde#408167, kde#405536)
  * Fix move and transform tools after a quick layer duplication
    (kde#408593)
  * Fix a crash when selecting the opaque pixels on a transform
    mask (kde#408618)
  * Fix loading sRGB EXR files (kde#408485)
  * Make the new image dialog choose the last used option even when
    the user's language has changed
  * Fix the "Enforce Palette Colors" feature (kde#408256)
  * Update the brush preview on every brush stamp creation
    (kde#389432)
  * Make it possible to edit vector shapes on duplicated vector
    layers (kde#408028)
  * Hide the color picker button in the vector object properties
    docker, it's unimplemented
  * Fix color as mask export in GIH and GBR brush tip export
    (kde#389928)
  * Restore the default favorite blending modes
  * Add a header to all right-click menus on the canvas so the
    first thing under the cursor isn't something dangerous, like
    'cut' (kde#408696)
  * Fix an incorrect condition when rendering animations where
    Krita would complain to be out of memory
  * Keep the community links in the welcome screen visible when
    changing theme (kde#408686)
  * Check after saving whether the saved file can be opened and has
    correct contents
  * Improve the import/export error handling and reporting
  * Make sure the filter dialog shows up in front of Krita's main
    window (kde#408867)
  * Make sure that the contiguous selection tool provides the
    antialiasing switch (kde#408733)
  * Fix the fuzziness setting in the contiguous selection tool
  * Fix putting the text shape behind every other shape on a vector
    layer after editing text (kde#408693)
  * Fix switching the pointer type by stylus tip (kde#408454,
    kde#405747)
  * Fix an issue on Linux where switching from pen to mouse would
    prevent the mouse from drawing on the canvas (kde#407595)
  * Fix a crash when the user undoes creating layers too quickly
    (kde#408484)
  * Fix using .KRA and .ORA files as file layers (kde#408087)
  * Clear all points in the outline selection on clicking
    (kde#408439)
  * Fix a crash when using the fill tool in fast mode on a pixel
    selection mask
  * Fix merging layers with inactive selection masks (kde#402070)
  * Remove default actions from the Reference Image tool that were
    inappropriate (kde#408427)
  * Fix undo/redo not restoring the document to unmodified
    (kde#402263)
  * Fix the deform tool leaving darkish traces when scrubbing a lot
    on a 16 bit canvas (kde#290383)
- Adjust package license: the LGPL-2.1-only files have been changed
  to GPL-2.0-or-later or LGPL-2.0-or-later (kde#408071)

OBS-URL: https://build.opensuse.org/request/show/712276
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=101
2019-07-01 04:49:19 +00:00

163 lines
5.0 KiB
RPMSpec

#
# spec file for package krita
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without lang
# Enable VC only on x86*
%ifarch %{ix86} x86_64
%bcond_without vc
%else
%bcond_with vc
%endif
Name: krita
Version: 4.2.2
Release: 0
Summary: Digital Painting Application
License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND CC0-1.0 AND LGPL-2.0-only
Group: Productivity/Graphics/Bitmap Editors
URL: https://www.krita.org/
Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
BuildRequires: OpenColorIO-devel
BuildRequires: OpenEXR-devel
BuildRequires: extra-cmake-modules
BuildRequires: fftw3-devel
BuildRequires: giflib-devel
BuildRequires: gsl-devel
BuildRequires: libboost_system-devel
BuildRequires: libeigen3-devel
BuildRequires: libexiv2-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-qt5-devel
BuildRequires: libquazip-qt5-devel
BuildRequires: libraw-devel
BuildRequires: libtiff-devel
BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: python3-qt5-devel
BuildRequires: python3-sip-devel
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Completion)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5GuiAddons)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5ItemModels)
BuildRequires: cmake(KF5ItemViews)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5Core) >= 5.9
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5PrintSupport)
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5X11Extras)
BuildRequires: cmake(Qt5Xml)
BuildRequires: pkgconfig(xcb-atom)
BuildRequires: pkgconfig(xi) >= 1.4.99.1
Recommends: %{name}-lang = %{version}
Recommends: python3-qt5
Obsoletes: calligra-krita < %{version}
Provides: calligra-krita = %{version}
%if %{with vc}
BuildRequires: Vc-devel-static
%endif
%description
Krita is a painting program. It supports concept art, texture and
matte painters, as well as illustrations and comics.
%package devel
Summary: Krita Build Environment
Group: Development/Libraries/KDE
Requires: %{name} = %{version}
%description devel
Development headers and libraries for Krita.
%lang_package
%prep
%setup -q -n krita-%{version}
%build
# install translations to %%{_kf5_localedir} so they don't clash with the krita translations in calligra-l10n (KDE4 based)
# can probably be changed back to the standard location when calligra is KF5 based...
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.krita Qt KDE Graphics RasterGraphics
%if %{with lang}
%kf5_find_lang %{name}
%endif
chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING*
%doc AUTHORS HACKING README*
%{_kf5_bindir}/krita
%{_kf5_bindir}/kritarunner
%{_kf5_applicationsdir}/*.desktop
%{_kf5_sharedir}/krita/
%{_kf5_appstreamdir}/
%{_kf5_libdir}/libkrita*.so.*
%{_kf5_libdir}/kritaplugins/
%{_kf5_libdir}/krita-python-libs/
%{_kf5_qmldir}
%{_kf5_sharedir}/kritaplugins/
%{_kf5_sharedir}/color/
%{_kf5_sharedir}/color-schemes/
%{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.*
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-krita.png
%dir %{_kf5_iconsdir}/hicolor/1024x1024
%dir %{_kf5_iconsdir}/hicolor/1024x1024/apps
%dir %{_kf5_iconsdir}/hicolor/1024x1024/mimetypes
%dir %{_kf5_iconsdir}/hicolor/256x256
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
%dir %{_kf5_iconsdir}/hicolor/256x256/mimetypes
%dir %{_kf5_iconsdir}/hicolor/512x512
%dir %{_kf5_iconsdir}/hicolor/512x512/apps
%dir %{_kf5_iconsdir}/hicolor/512x512/mimetypes
%config %{_kf5_configdir}/krita*
%files devel
%{_kf5_libdir}/libkrita*.so
%if %{with lang}
%files lang -f %{name}.lang
%endif
%changelog