Name:       esrille-paint
Version:    0.2.3
Release:    %autorelease
Summary:    A GTK 3 application for drawing bitmap images
License:    Apache-2.0
URL:        https://github.com/esrille/paint
Source0:    https://github.com/esrille/paint/releases/download/v0.2.3/%{name}-0.2.3.tar.gz
Requires:   gtk3
Requires:   python3
Requires:   python3-gobject
Requires:   python3-opencv
BuildRequires: gettext-devel
BuildRequires: glib2-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildArch:     noarch

%description
Paint from Esrille is a GTK 3 application for drawing bitmap images.

%global __python %{__python3}

%prep
%setup -q

%build
autoreconf -fi -v
%configure
%make_build

%install
%make_install
%find_lang %{name}

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README.md CONTRIBUTING.md
%license LICENSE NOTICE
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications
%{_datadir}/icons/hicolor/64x64/apps/esrille-paint.png
%{_datadir}/icons/hicolor/scalable/apps/esrille-paint.svg

%changelog
* Thu Mar 28 2024 Esrille Inc. <info@esrille.com> - 0.2.3-1
- See https://github.com/esrille/paint/releases/tag/v0.2.3

* Wed May 11 2022 Esrille Inc. <info@esrille.com> - 0.2.2-1
- See https://github.com/esrille/paint/releases/tag/v0.2.2

* Thu Apr 29 2021 Esrille Inc. <info@esrille.com> - 0.2.1-1
- See https://github.com/esrille/paint/releases/tag/v0.2.1

* Sat Sep 26 2020 Esrille Inc. <info@esrille.com> - 0.2.0-1
- See https://github.com/esrille/paint/releases/tag/v0.2.0

* Fri Aug 7 2020 Esrille Inc. <info@esrille.com> - 0.1.0-1
- See https://github.com/esrille/paint/releases/tag/v0.1.0