[gauche-gl] new release 0.5

Gérard Milmeister gemi at fedoraproject.org
Sun Feb 13 23:50:39 UTC 2011


commit 8e666ec585fe885efcca8f73d5ed67d24a6aac48
Author: Gérard Milmeister <gemi at bluewin.ch>
Date:   Mon Feb 14 00:50:30 2011 +0100

    new release 0.5

 .gitignore                   |    1 +
 Gauche-gl-0.4.3-cflags.patch |   11 -----------
 gauche-gl.spec               |   18 +++++++++++++-----
 sources                      |    2 +-
 4 files changed, 15 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 88b7286..8d2ecb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Gauche-gl-0.4.4.tgz
+/Gauche-gl-0.5.tgz
diff --git a/gauche-gl.spec b/gauche-gl.spec
index 8cafe08..c977e40 100644
--- a/gauche-gl.spec
+++ b/gauche-gl.spec
@@ -1,4 +1,5 @@
-%define gauche_version 0.8.14
+%define gauche_main_version 0.9
+%define gauche_version %{gauche_main_version}.1
 
 Name:           gauche-gl
 Version:        0.4.4
@@ -9,7 +10,6 @@ Group:          Development/Languages
 License:        BSD
 URL:            http://www.shiro.dreamhost.com/scheme/gauche
 Source:         http://download.sourceforge.net/gauche/Gauche-gl-%{version}.tgz
-Patch1:         Gauche-gl-0.4.3-cflags.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: 	gauche-devel = %{gauche_version}
 BuildRequires:  freeglut-devel
@@ -30,7 +30,8 @@ OpenGL binding for Gauche.
 
 %prep
 %setup -q -n Gauche-gl-%{version}
-%patch1 -p1
+# add RPM opt flags
+sed -i 's/@X_CFLAGS@/@X_CFLAGS@ @CFLAGS@/g' src/Makefile.in
 
 
 %build
@@ -58,6 +59,10 @@ sed -i 's/\r//' examples/slbook/ogl2particle/* examples/slbook/ogl2brick/*
 rm -f examples/glbook/run
 rm -f examples/slbook/ogl2particle/run.sh
 
+# set read permissions for debuginfo package
+find . -print0 | xargs -0 chmod a+r
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -74,13 +79,16 @@ fi
 
 %files
 %defattr(-,root,root,-)
-%{_libdir}/gauche
-%{_datadir}/gauche
+%{_libdir}/gauche-%{gauche_main_version}
+%{_datadir}/gauche-%{gauche_main_version}
 %{_infodir}/gauche-gl-refe.*
 %doc COPYING examples
 
 
 %changelog
+* Mon Feb 14 2011 Gérard Milmeister <gemi at bluewin.ch> - 0.5-1
+- new release 0.5 matching gauche 0.9
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.4-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 4c044cd..a9e3f70 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-052d1b97f10a3333d38e365fa4d3d5af  Gauche-gl-0.4.4.tgz
+7f4657e5d060ec19baf432883ca6dcb4  Gauche-gl-0.5.tgz


More information about the scm-commits mailing list