File gimp-fourier.spec of Package gimp-fourier
#
# spec file for package gimp-fourier (Version 0.4.1)
#
# Copyright (c) 2011 Kyrill Detinov
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name: gimp-fourier
Version: 0.4.1
Release: 0
License: GPLv3+
Summary: GIMP Plug-in to do Fourier Transform
Url: http://registry.gimp.org/node/19596
Group: Productivity/Graphics/Bitmap Editors
Source0: http://registry.gimp.org/files/fourier-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gimp-fourier-0.4.1-makefile.patch lazy.kent@opensuse.org -- fix Makefile options
Patch0: gimp-fourier-0.4.1-makefile.patch
BuildRequires: fftw3-devel
BuildRequires: gcc-c++
BuildRequires: gimp-devel
BuildRequires: pkg-config
Requires: gimp
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A simple plug-in to do fourier transform on your image. The major
advantage of this plugin is to be able to work with the transformed
image inside GIMP. You can so draw or apply filters in fourier space,
and get the modified image with an inverse FFT.
%prep
%setup -qn fourier-%{version}
%patch0
%__sed -i 's/\r$//g' README
%build
%__make %{?_smp_mflags} CXXFLAGS="%{optflags}"
%install
%__install -Dm 755 fourier \
%{buildroot}%{_libdir}/gimp/2.0/plug-ins/fourier
%clean
%{?buildroot:%__rm -rf %{buildroot}}
%files
%defattr(-,root,root,-)
%doc README README.Moire
%{_libdir}/gimp/2.0/plug-ins/fourier
%changelog