Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
krita
krita.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File krita.spec of Package krita
# # spec file for package krita # # Copyright (c) 2016 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 http://bugs.opensuse.org/ # Name: krita Version: 3.0.1.1 Release: 0 Summary: Digital Painting Application License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Graphics/Bitmap Editors Url: http://www.krita.org/ Source0: http://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.gz Source99: %{name}.changes BuildRequires: Mesa-devel BuildRequires: OpenColorIO-devel BuildRequires: OpenEXR-devel %if %{suse_version} != 1320 BuildRequires: Vc-devel-static BuildRequires: kcrash-devel %endif BuildRequires: boost-devel BuildRequires: extra-cmake-modules BuildRequires: fftw3-devel BuildRequires: gsl-devel BuildRequires: karchive-devel BuildRequires: kcompletion-devel BuildRequires: kconfig-devel BuildRequires: kcoreaddons-devel BuildRequires: kguiaddons-devel BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: kitemmodels-devel BuildRequires: kitemviews-devel BuildRequires: kwidgetsaddons-devel BuildRequires: kwindowsystem-devel BuildRequires: kxmlgui-devel BuildRequires: libcurl-devel BuildRequires: libeigen3-devel BuildRequires: libexiv2-devel BuildRequires: libjpeg-devel BuildRequires: libkdcraw-devel BuildRequires: liblcms-devel BuildRequires: liblcms2-devel BuildRequires: libpng-devel BuildRequires: libpoppler-qt5-devel BuildRequires: libraw-devel BuildRequires: libtiff-devel BuildRequires: openjpeg-devel BuildRequires: perl BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) 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) Recommends: %{name}-lang = %{version} Recommends: create-resources %if %{suse_version} > 1320 || 0%{?is_opensuse} Obsoletes: calligra-krita < %{version} Provides: calligra-krita = %{version} %else Conflicts: calligra-krita %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Krita is a professional free and open source painting program. It is made by artists that want to see affordable art tools for everyone. * concept art * texture and matte painters * illustrations and comics %lang_package %prep %setup -q -n krita-%{version} # Remove build time references so build-compare can do its work FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE99} '+%%b %%e %%Y') FAKE_TIME=$(LC_ALL=C date -u -r %{SOURCE99} '+%%H:%%M') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" plugins/extensions/gmic/3rdparty/gmic/CImg.h sed -i "s/__TIME__/\"$FAKE_TIME\"/" plugins/extensions/gmic/3rdparty/gmic/CImg.h %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 chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop #Remove unwanted development files for i in image libpaintop store libbrush version undo2 odf color ui text plugin widgetutils pigment textlayout vectorimage flake basicflakes global widgets psd do rm %{buildroot}%{_kf5_libdir}/libkrita${i}.so done # remove color schemes that are already included in breeze5 (kde#368093) for i in BreezeDark BreezeHighContrast do rm %{buildroot}/%{_kf5_sharedir}/color-schemes/${i}.colors done %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING* AUTHORS HACKING README* %{_kf5_bindir}/krita %{_kf5_bindir}/gmicparser %{_kf5_applicationsdir}/*.desktop %{_kf5_sharedir}/krita/ %{_kf5_appstreamdir}/ %{_kf5_libdir}/kritaplugins/ %{_kf5_libdir}/libkritacolord.so %{_kf5_sharedir}/kritaplugins/ %{_kf5_sharedir}/color/ %{_kf5_sharedir}/color-schemes/ %{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.* %{_kf5_libdir}/libkrita*.so.* %dir %{_kf5_iconsdir}/hicolor/1024x1024 %dir %{_kf5_iconsdir}/hicolor/1024x1024/apps %dir %{_kf5_iconsdir}/hicolor/256x256 %dir %{_kf5_iconsdir}/hicolor/256x256/apps %dir %{_kf5_iconsdir}/hicolor/512x512 %dir %{_kf5_iconsdir}/hicolor/512x512/apps %config %{_kf5_configdir}/krita* %files lang %defattr(-,root,root,-) %{_kf5_localedir} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor