Package gimp-plugin-resynthesizer: Specfile

%define _name resynthesizer

%define gimpplugindir %(gimptool-2.0 --gimpplugindir)
%define gimpdatadir %(gimptool-2.0 --gimpdatadir)

Name: gimp-plugin-%_name
Version: 2.0.3
Release: alt1

Summary: Gimp plug-in for manipulating textures
License: GPLv3+
Group: Graphics

Url: https://github.com/bootchk/resynthesizer
#Original author's version was at http://logarithmic.net/pfh/resynthesizer
Source: %_name-%version.tar.gz

Requires: gimp

BuildRequires: intltool libgimp-devel

%description
Resynthesizer is a Gimp plug-in that when given a sample of a texture can
synthesize more of that texture. It can also be used to create tiling patterns,
to remove an object from am image by inventing a plausable background, or to
apply a theme to an image (for example to make an image look as though it were
painted).


%prep
%setup -n %_name-%version
#subst '/g_thread_init/d' src/*.{c,h}

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std

%find_lang %_name

%files -f %_name.lang
%gimpplugindir/plug-ins/*
%_datadir/%_name

%changelog
* Fri Jan 19 2018 Yuri N. Sedunov <aris@altlinux.org> 2.0.3-alt1
- 2.0.3

* Sun Jan 07 2018 Yuri N. Sedunov <aris@altlinux.org> 2.0.2-alt1
- 2.0.2

* Wed May 17 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.1-alt1
- 2.0.1

* Thu Nov 21 2013 Yuri N. Sedunov <aris@altlinux.org> 2.0-alt1
- 2.0

* Wed Oct 26 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.0-alt1.1
- Rebuild with Python-2.7

* Tue Apr 26 2011 Victor Forsiuk <force@altlinux.org> 1.0-alt1
- 1.0 (new upstream).

* Tue Oct 07 2008 Victor Forsyuk <force@altlinux.org> 0.16-alt2
- Install all by hand due to broken gimp-2.6's gimptool.

* Fri Mar 28 2008 Victor Forsyuk <force@altlinux.org> 0.16-alt1
- 0.16

* Mon Sep 17 2007 Victor Forsyuk <force@altlinux.org> 0.15-alt1
- Initial build.