Blob Blame Raw
Name:		gimp-fourier-plugin
Version:	0.3.2
Release:	2%{?dist}
Summary:	A simple plug-in to do fourier transform on your image

Group:		Applications/Multimedia
License:	GPLv3+
# patch0 sent upstream via email. mentioned gnomebug #568351
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	gimp-devel
BuildRequires:	fftw3-devel
Requires:	gimp

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.

%setup -q -n fourier-%{version}
%patch0 -p1 -b .build

# Fix for wrong-file-end-of-line-encoding problem
%{__sed} -i 's/\r//' README
%{__sed} -i 's/\r//' gpl.txt

# Fix utf-8 encoding
iconv -f ISO-8859-1 -t UTF-8 README > README.utf8

export CC="gcc %{optflags}"
make %{?_smp_mflags}

rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_libdir}/gimp/2.0/plug-ins/
install fourier %{buildroot}/%{_libdir}/gimp/2.0/plug-ins/

rm -rf %{buildroot}

%doc README.utf8 gpl.txt

* Sun Jan 25 2009 Fabian Deutsch <fabian.deutsch at> 0.3.2-2
- Fix UTF-8
- Using optflags

* Mon Jan 19 2009 Fabian Deutsch <fabian.deutsch at> 0.3.2-1
- Updated to 0.3.2
- Includes license note
- Small hack around gimptool-2.0 bug.

* Sun Dec 07 2008 Fabian Deutsch <fabian.deutsch at> 0.3.1-1
- Version 0.3.1
- Initial.