gimp-plugin-fourier - nowy spec

entghaar entghaar at gmail.com
Fri Aug 15 11:54:41 CEST 2008


Plugin do gimpa wykonujący dyskretną transformację fouriera. W zasadzie 
mój pierwszy skończony spec, wzorowany na gimp-plugin-normalmap.spec 
więc w razie nieścisłości prosiłbym o wyrozumiałość :-)
-------------- next part --------------
# $Revision:$, $Date:$
Summary:	GIMP fourier transform plugin
Summary(pl):	Transformat fouriera w GIMP-ie - wtyczka
Name:		gimp-plugin-fourier
Version:	0.3.1
Release:	1
License:	GPL
Group:		X11/Applications/Graphics
Source0:	http://people.via.ecp.fr/~remi/soft/gimp/fourier-%{version}.tar.gz
URL:		http://people.via.ecp.fr/~remi/soft/gimp/gimp_plugin_en.php3
BuildRequires:	fftw3-devel >=3.0
BuildRequires:	gimp-devel >= 1:2.0.0
Requires:	fftw3 >= 3.0
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define         _plugindir      %(gimptool --gimpplugindir)/plug-ins


%description
A simple plug-in to do fourier transform on you 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.

%description -l pl.UTF-8
Prosta wtyczka służąca do wykonywania transformaty Fouriera na
obrazie. Największą zaletą tej wtyczki jest to, że możesz pracować z
przetransormowanym obrazem wewnątrz gimpa. Możesz więc rysować,
przefiltrowywać w dziedzinie częstotliwości, a potem uzyskać
zmodyfikowany obrazek dzięki odwrotnej transformacie Fouriera.

%prep
%setup -q -n fourier-%{version}

%build
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}
install fourier $RPM_BUILD_ROOT%{_plugindir}


%clean
rm -rf %RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_plugindir}/*
%doc README
%doc README.Moire

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org


$Log:$


More information about the pld-devel-pl mailing list