180 lines
5.3 KiB
RPMSpec
180 lines
5.3 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
%define dirver %(echo %version | cut -d. -f1-3)
|
|
|
|
Name: krita
|
|
Version: 4.2.7.1
|
|
Release: 1mamba
|
|
Summary: A free and open source painting tool
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.kde.org
|
|
Source: https://download.kde.org/stable/krita/%{dirver}/krita-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXi-devel
|
|
BuildRequires: libboost-devel
|
|
BuildRequires: libexiv2-devel
|
|
BuildRequires: libfftw-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgif-devel
|
|
BuildRequires: libgsl-devel
|
|
BuildRequires: libilmbase-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libkarchive-devel
|
|
BuildRequires: libkcompletion-devel
|
|
BuildRequires: libkconfig-devel
|
|
BuildRequires: libkcoreaddons-devel
|
|
BuildRequires: libkcrash-devel
|
|
BuildRequires: libkguiaddons-devel
|
|
BuildRequires: libki18n-devel
|
|
BuildRequires: libkitemviews-devel
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
BuildRequires: libkwindowsystem-devel
|
|
BuildRequires: liblcms2-devel
|
|
BuildRequires: libopencolorio-devel
|
|
BuildRequires: libopenexr-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpoppler-devel
|
|
BuildRequires: libpoppler-qt5-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libquazip-devel
|
|
BuildRequires: libraw-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libxcb-util-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: rpm-macros-kde5
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: libquazip-devel
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: calligra-krita
|
|
Obsoletes: calligra-krita
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Krita is a FREE and open source painting tool designed for concept artists, illustrators, matte and texture artists, and the VFX industry.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
Provides: libcalligra-krita
|
|
Obsoletes: libcalligra-krita
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kde5 -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name}
|
|
/sbin/ldconfig
|
|
exit 0
|
|
|
|
%postun -n lib%{name}
|
|
/sbin/ldconfig
|
|
exit 0
|
|
|
|
%files -f %{name}5_qt.lang
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/xdg/kritarc
|
|
%{_bindir}/krita
|
|
%{_bindir}/kritarunner
|
|
%{_datadir}/applications/krita_*.desktop
|
|
%{_datadir}/applications/org.kde.krita.desktop
|
|
%{_datadir}/color-schemes/Krita*.colors
|
|
%dir %{_datadir}/color/icc/krita
|
|
%{_datadir}/color/icc/krita/*
|
|
%{_datadir}/icons/hicolor/*/apps/krita.png
|
|
%{_datadir}/icons/hicolor/*/mimetypes/application-x-krita.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/krita.svgz
|
|
%dir %{_datadir}/krita
|
|
%{_datadir}/krita/*
|
|
%dir %{_datadir}/kritaplugins
|
|
%{_datadir}/kritaplugins/*
|
|
%{_datadir}/metainfo/org.kde.krita.appdata.xml
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/kritaplugins
|
|
%{_libdir}/kritaplugins/krita*.so
|
|
%{_libdir}/libkritabasicflakes.so*
|
|
%{_libdir}/libkritacolor.so*
|
|
%{_libdir}/libkritacolord.so*
|
|
%{_libdir}/libkritacommand.so*
|
|
%{_libdir}/libkritaflake.so*
|
|
%{_libdir}/libkritaglobal.so*
|
|
%{_libdir}/libkritaimage.so*
|
|
%{_libdir}/libkritaimpex.so*
|
|
%{_libdir}/libkritalibbrush.so*
|
|
%{_libdir}/libkritalibkis.so*
|
|
%{_libdir}/libkritalibkra.so*
|
|
%{_libdir}/libkritalibpaintop.so*
|
|
%{_libdir}/libkritametadata.so*
|
|
%{_libdir}/libkritaodf.so*
|
|
%{_libdir}/libkritapigment.so*
|
|
%{_libdir}/libkritaplugin.so*
|
|
%{_libdir}/libkritapsd.so*
|
|
%{_libdir}/libkritaqml.so*
|
|
%{_libdir}/libkritastore.so*
|
|
%{_libdir}/libkritatext.so*
|
|
%{_libdir}/libkritatextlayout.so*
|
|
%{_libdir}/libkritaui.so*
|
|
%{_libdir}/libkritaversion.so*
|
|
%{_libdir}/libkritawidgets.so*
|
|
%{_libdir}/libkritawidgetutils.so*
|
|
%dir %{_libdir}/krita-python-libs
|
|
%dir %{_libdir}/krita-python-libs/PyKrita
|
|
%{_libdir}/krita-python-libs/PyKrita/krita.so
|
|
%dir %{_libdir}/krita-python-libs/krita
|
|
%{_libdir}/krita-python-libs/krita/*
|
|
%dir %{_libdir}/qt5/qml/org/krita
|
|
%{_libdir}/qt5/qml/org/krita/*
|
|
|
|
%changelog
|
|
* Wed Oct 02 2019 Automatic Build System <autodist@mambasoft.it> 4.2.7.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 01 2019 Automatic Build System <autodist@mambasoft.it> 4.2.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 4.2.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Aug 02 2019 Automatic Build System <autodist@mambasoft.it> 4.2.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Aug 02 2019 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 07 2019 Automatic Build System <autodist@mambasoft.it> 4.1.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.7.101-1mamba
|
|
- package created using the webbuild interface
|