File gimp-wavelet-decompose.spec of Package gimp-wavelet-decompose

#
# spec file for package gimp-wavelet-decompose
#
# Copyright (c) 2012 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/
#

Name:           gimp-wavelet-decompose
Version:        0.1.2
Release:        0
License:        GPL-2.0+
Summary:        GIMP Plugin for Wavelet Decompose
Url:            http://registry.gimp.org/node/11742
Group:          Productivity/Graphics/Bitmap Editors
Source0:        http://registry.gimp.org/files/wavelet-decompose-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gimp-wavelet-decompose-0.1.2-makefile.patch lazy.kent@opensuse.org -- fix compile and installation options
Patch0:         gimp-wavelet-decompose-0.1.2-makefile.patch
BuildRequires:  gimp-devel
Requires:       gimp
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This plugin losslessly decomposes a layer of an image into layers of
wavelet scales. This means that you can edit the image on different
detail scales (frequencies). The trivial recomposition of the image can
be done by GIMP's layer modes so you can see the results of your
modifications instantly. Among the applications are retouching, noise
reduction, and enhancing global contrast.

%lang_package

%prep
%setup -qn wavelet-decompose-%{version}
%patch0

%build
export OPTFLAGS="%{optflags}"
make %{?_smp_mflags}

%install
%make_install
%find_lang gimp20-wavelet-decompose-plug-in

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README THANKS TRANSLATIONS
%{_libdir}/gimp/2.0/plug-ins/*

%files lang -f gimp20-wavelet-decompose-plug-in.lang

%changelog
openSUSE Build Service is sponsored by