rpms/gimp-fourier-plugin/F-11 Makefile, NONE, 1.1 branch, NONE, 1.1 gimp-fourier-plugin.build.patch, NONE, 1.1 gimp-fourier-plugin.spec, NONE, 1.1 sources, NONE, 1.1

Fabian Deutsch fabiand at fedoraproject.org
Sun Feb 1 18:40:01 UTC 2009


Author: fabiand

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

Added Files:
	Makefile branch gimp-fourier-plugin.build.patch 
	gimp-fourier-plugin.spec sources 
Log Message:
Created branch F-11 for gimp-fourier-plugin.




***** Error reading new file: [Errno 2] No such file or directory: 'Makefile'

--- NEW FILE branch ---
F-11

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 sources ---
9ee626241bcdb5c72ef5df30117e0123  fourier-0.3.2.tar.gz




More information about the scm-commits mailing list