krita/krita.spec
Christophe Giboudeaux a76eeb3cf3 Accepting request 716071 from home:wolfi323:branches:KDE:Extra
- Update to 4.2.3:
  * See https://krita.org/en/item/krita-4-2-3-released/
  * Fix the caption of the Background Color color selection dialog
    (kde#407658)
  * Fix the tag selector combobox so it is possible to select
    resources that have a tag that's longer than fits in the
    combobox (kde#408053)
  * Make it possible for the Krita startup window to become as
    narrow as before adding the news widget (kde#408504)
  * Fix copy/pasting of animation frames (kde#408421, kde#404595)
  * Make the polygon and outline selection tool handle the control
    modifier correctly (kde#376007)
  * Add a reload script button to the Python scripter plugin
  * Fix a crash in the Overview docker when there is no image open
  * Fix drag and drop of fill layers between opened files
    (kde#408019)
  * Fix loading EXR files that have more than one layer with the
    same name (kde#409552)
  * Hide vanishing points preview lines when assistants are hidden
    (kde#396158)
  * Fix the Mirror All Layers Horizontally function
  * Fix switching profile to default when changing channel depth in
    the New Image dialog (kde#406700)
  * Disable AVG optimizations for some 32 bit blending modes
    (kde#404133)
  * Fix a crash when pressing cancel when trying to create an 8
    bit/channel linear gamma RGB image
  * Make sure Stroke Selection paint correctly with the selection
    border in the middle of the selection (kde#409254)
  * Fix saving Krita when perspective assistants are present
    (kde#409249)
  * Fix issues with transformations being pixelated (kde#409280)
  * Make it possible to hide all layers except the selected one
    with shift-click (kde#376086)
  * Fix cloning keyframe channels that are not opacity channels
  * Fix a hang when trying to paint while playing an animation of
    an empty image (kde#408749)
  * Fix Isolated Mode when multiple windows are open (kde#408150)
  * Make the gradient editor show the right editor for stop and
    segmented gradients (but creating new gradients in Krita is
    still broken)
  * Fix a freeze when pressing delete when making a polygonal
    selection (kde#408843)
  * Fix the –export commandline option to return 0 when the export
    is successful (kde#409133)
  * Fix support for the KDE Plasma global menu (kde#408015)
  * Fix a crash when using the shrink option of the deform brush
    (kde#408887)

OBS-URL: https://build.opensuse.org/request/show/716071
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=102
2019-07-17 20:49:52 +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.3
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