# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define githash 77eb3a6fc0 Name: gimp-plugin-resynthesizer Version: 2.0 Release: 0 License: GPL-3.0+ Summary: Suite of gimp plugins for texture synthesis Url: https://github.com/bootchk/resynthesizer Group: Productivity/Graphics/Bitmap Editors # wget https://github.com/bootchk/resynthesizer/archive/master.tar.gz Source: resynthesizer-%{githash}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gimp BuildRequires: gimp-devel BuildRequires: intltool BuildRequires: pkgconfig(glib-2.0) Requires: gimp-plugins-python BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package is a set of plugins for use with the Gimp program. The package includes: - resynthesizer plugin engine (without a GUI) - resynthesizer-gui plugin control panel for the engine - various plugins (in Python language) that call the resynthesizer engine %prep %setup -n resynthesizer-master %build sed -i~ ' s@automake-1.7 --version@automake --version@ s@AUTOMAKE=automake-1.7@AUTOMAKE=automake@ s@ACLOCAL=aclocal-1.7@ACLOCAL=aclocal@ ' autogen.sh diff -u autogen.sh~ autogen.sh || : ./autogen.sh %configure make %{?_smp_mflags} %install %make_install %find_lang resynthesizer %clean rm -rf %{buildroot} %files -f resynthesizer.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_libdir}/gimp/2.0/plug-ins/* %{_datadir}/resynthesizer/ %changelog