[gimp-normalmap] Requires Gimp added
Patrick Uiterwijk
puiterwijk at fedoraproject.org
Sat Feb 2 06:17:02 UTC 2013
commit 1c4da579b8ad9ce4066e82228997e7727b2c41cc
Author: Patrick Uiterwijk <puiterwijk at gmail.com>
Date: Sat Feb 2 07:16:53 2013 +0100
Requires Gimp added
.gitignore | 1 +
gimp-normalmap-fixlibs.patch | 12 +++++++++++
gimp-normalmap.spec | 43 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..663805f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gimp-normalmap-1.2.3.tar.bz2
diff --git a/gimp-normalmap-fixlibs.patch b/gimp-normalmap-fixlibs.patch
new file mode 100644
index 0000000..3428cab
--- /dev/null
+++ b/gimp-normalmap-fixlibs.patch
@@ -0,0 +1,12 @@
+diff -rupN gimp-normalmap-1.2.3/Makefile.linux gimp-normalmap-1.2.3.orig/Makefile.linux
+--- Makefile.linux 2013-01-31 00:06:58.266279410 +0100
++++ Makefile.linux 2013-01-31 00:06:47.424297188 +0100
+@@ -9,7 +9,7 @@ TARGET=normalmap
+ OBJS=normalmap.o preview3d.o scale.o
+
+ LIBS=`pkg-config --libs gtk+-2.0 gtkglext-1.0 gimp-2.0 gimpui-2.0` \
+--L/usr/X11R6/lib -lGLEW
++-L/usr/X11R6/lib -lGLEW -lm
+
+ all: $(TARGET)
+
diff --git a/gimp-normalmap.spec b/gimp-normalmap.spec
new file mode 100644
index 0000000..bd56fb6
--- /dev/null
+++ b/gimp-normalmap.spec
@@ -0,0 +1,43 @@
+Name: gimp-normalmap
+Version: 1.2.3
+Release: 2%{?dist}
+Summary: Plugin that enabled the creation of normal maps
+
+License: GPLv2+
+URL: http://code.google.com/p/gimp-normalmap/
+Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.bz2
+Patch0: %{name}-fixlibs.patch
+
+BuildRequires: gimp-devel
+BuildRequires: gtkglext-devel
+BuildRequires: glew-devel
+Requires: gimp
+
+%description
+A plugin for Gimp that enables the creation of normal maps
+that you can use to achieve a number of lighting effects in pixel-based artwork.
+
+%prep
+%setup -q
+%patch0
+
+%build
+make %{?_smp_mflags}
+
+
+%install
+mkdir -p %{buildroot}%{_libdir}/gimp/2.0/plug-ins/
+install -m 755 normalmap %{buildroot}%{_libdir}/gimp/2.0/plug-ins/
+
+%files
+%doc COPYING README
+%{_libdir}/gimp/2.0/plug-ins
+
+
+%changelog
+* Fri Feb 01 2013 Patrick Uiterwijk <puiterwijk at gmail.com> - 1.2.3-2
+- Requires Gimp added
+
+* Thu Jan 31 2013 Patrick Uiterwijk <puiterwijk at gmail.com> - 1.2.3-1
+- First packaging effort
+
diff --git a/sources b/sources
index e69de29..c43716c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+92bb44e1bffcd7f64d418dca3464bb6f gimp-normalmap-1.2.3.tar.bz2
More information about the scm-commits
mailing list