Package mypaint-brushes: Specfile

%def_disable snapshot
%define ver_base 2.0

Name: mypaint-brushes
Version: 2.0.2
Release: alt1

Summary: MyPaint brush collection
Group: Graphics
License: CC0-1.0
Url: https://github.com/mypaint/mypaint-brushes

%if_disabled snapshot
Source: %url/releases/download/v%version/%name-%version.tar.xz
%else
# VCS: https://github.com/mypaint/mypaint-brushes.git
Source: %name-%version.tar
%endif

BuildArch: noarch

%description
MyPaint is a simple drawing and painting program that works well with
Wacom-style graphics tablets. Its main features are a highly configurable
brush engine, speed, and a fullscreen mode which allows artists to fully
immerse themselves in their work.

This package provides MyPaint brush collection.

%package devel
Summary: MyPaint brush collection devel package
Group: Graphics
Requires: %name = %EVR

%description devel
Mypaint is a fast and easy/simple painter program. It comes with a large
brush collection including charcoal and ink to emulate real media, but the
highly configurable brush engine allows you to experiment with your own
brushes and with not-quite-natural painting.

This package contains pc-file for %name.

%prep
%setup

%build
%autoreconf
%configure

%install
%makeinstall_std

%files
%_datadir/mypaint-data/%ver_base/brushes/
%doc README* NEWS

%files devel
%_datadir/pkgconfig/%name-%ver_base.pc

%changelog
* Tue Mar 17 2020 Yuri N. Sedunov <aris@altlinux.org> 2.0.2-alt1
- 2.0.2

* Sat Apr 13 2019 Yuri N. Sedunov <aris@altlinux.org> 1.3.0-alt2
- updated to v1.3.0-5-g2c567a1 (fixed build with automake-1.16)

* Mon May 14 2018 Yuri N. Sedunov <aris@altlinux.org> 1.3.0-alt1
- first build for Sisyphus