gimp-plugin-resynthesizer/gimp-plugin-resynthesizer.spec

76 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
# bootchk-resynthesizer-v2.0-1-ge637010.tar.gz
Name: gimp-plugin-resynthesizer
#global gitrev 72f3655
#global revdate 20110906
#global basever 1.0.1
%global gitrev e637010
%global revdate 20120708
%global basever 2.0
Version: %{basever}_%{revdate}_%{gitrev}
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
Source0: bootchk-resynthesizer-v%{basever}-1-g%{gitrev}.tar.gz
Patch1: automake12.diff
BuildRequires: gimp-devel gcc gimp
BuildRequires: intltool autoconf automake glib2-devel
#PreReq:
#Provides:
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 bootchk-resynthesizer-%{gitrev}
# automake12.diff
%patch1 -p1
%build
./autogen.sh
%configure
env SUSE_ASNEEDED=0 make %{?_smp_mflags} CFLAGS="-lm -lgthread-2.0 $CFLAGS"
%install
%make_install
%find_lang resynthesizer
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -f resynthesizer.lang
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_libdir}/gimp/2.0/plug-ins/*
%dir %{_datadir}/resynthesizer
%{_datadir}/resynthesizer/*
%changelog