rpms/gimp-fourier-plugin/devel gimp-fourier-plugin.build.patch, NONE, 1.1 gimp-fourier-plugin.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Fabian Deutsch fabiand at fedoraproject.org
Sun Feb 1 18:33:10 UTC 2009


Author: fabiand

Update of /cvs/pkgs/rpms/gimp-fourier-plugin/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19319/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gimp-fourier-plugin.build.patch gimp-fourier-plugin.spec 
	import.log 
Log Message:
Initial commit of gimp-fourier-plugin.



gimp-fourier-plugin.build.patch:

--- NEW FILE gimp-fourier-plugin.build.patch ---
diff -u fourier-0.3.2.orig/Makefile fourier-0.3.2/Makefile
--- fourier-0.3.2.orig/Makefile	2007-12-17 19:27:18.000000000 +0100
+++ fourier-0.3.2/Makefile	2009-01-25 19:00:59.000000000 +0100
@@ -3,9 +3,9 @@
 PLUGIN_BUILD=$(GIMPTOOL) --build
 PLUGIN_INSTALL=$(GIMPTOOL) --install-bin
 GCC=g++
-LIBS=$(shell pkg-config fftw3 --libs)
-CFLAGS=-O2 $(shell pkg-config fftw3 --cflags)
-VERSION=0.3.0
+LIBS=$(shell pkg-config fftw3 gimp-2.0 --libs)
+CFLAGS=-O2 $(shell pkg-config fftw3 gimp-2.0 --cflags)
+VERSION=0.3.2
 DIR=fourier-$(VERSION)
 
 export
@@ -21,7 +21,7 @@
 all: fourier
 
 fourier: fourier.c
-	$(PLUGIN_BUILD) fourier.c  
+	$(CC) $(CFLAGS) $(LIBS) -o fourier fourier.c  
 
 install: fourier
 	$(PLUGIN_INSTALL) fourier


--- NEW FILE gimp-fourier-plugin.spec ---
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+
URL:		http://people.via.ecp.fr/~remi/soft/gimp/gimp_plugin_en.php3
Source0:	http://people.via.ecp.fr/~remi/soft/gimp/fourier-%{version}.tar.gz
# patch0 sent upstream via email. mentioned gnomebug #568351
Patch0:		gimp-fourier-plugin.build.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

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


%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.


%prep
%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


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


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


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README.utf8 gpl.txt
%{_libdir}/gimp/2.0/plug-ins/fourier


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

* Mon Jan 19 2009 Fabian Deutsch <fabian.deutsch at gmx.de> 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 gmx.de> 0.3.1-1
- Version 0.3.1
- Initial.


--- NEW FILE import.log ---
gimp-fourier-plugin-0_3_2-2_fc9:HEAD:gimp-fourier-plugin-0.3.2-2.fc9.src.rpm:1233513109


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gimp-fourier-plugin/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Jan 2009 06:39:48 -0000	1.1
+++ .cvsignore	1 Feb 2009 18:32:39 -0000	1.2
@@ -0,0 +1 @@
+fourier-0.3.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gimp-fourier-plugin/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Jan 2009 06:39:48 -0000	1.1
+++ sources	1 Feb 2009 18:32:39 -0000	1.2
@@ -0,0 +1 @@
+9ee626241bcdb5c72ef5df30117e0123  fourier-0.3.2.tar.gz




More information about the fedora-extras-commits mailing list