File mypaint.spec of Package mypaint

# spec file for package mypaint
# Copyright (c) 2023 SUSE LLC
# 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

Name:           mypaint
Version:        2.0.1
Release:        0
Summary:        Graphics application for digital painters
License:        GPL-2.0-or-later
Group:          Productivity/Graphics/Other
BuildRequires:  ImageMagick
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  librsvg
BuildRequires:  pkgconfig
BuildRequires:  python3-cairo-devel
BuildRequires:  python3-devel
BuildRequires:  python3-gobject-devel
BuildRequires:  python3-numpy >= 1.5
BuildRequires:  python3-numpy-devel
BuildRequires:  python3-setuptools
BuildRequires:  swig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(json)
BuildRequires:  pkgconfig(lcms2)
BuildRequires:  pkgconfig(libmypaint) >= 1.6.0
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(mypaint-brushes-2.0) >= 2.0.2
BuildRequires:  pkgconfig(pygobject-3.0)
Requires:       mypaint-brushes >= 2.0.2
Requires:       python3-gobject-Gdk
Requires:       python3-numpy >= 1.7
Requires:       python3-pycairo
Recommends:     %{name}-lang = %{version}

MyPaint is a graphics application for digital painters. It supports
graphics tablets made by Wacom, and many similar devices. The
standard brushes can emulate traditional media like charcoal,
pencils, ink, or paint.

%autosetup -p1



%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_prefix}/lib/%{name}/
%fdupes %{buildroot}%{_datadir}/icons/hicolor/

python3 test

%license COPYING

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by