[gauche: 1/2] new release 0.9.1

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


commit 3e30c0789df5e6bc3d63c079023095c910f8fbcf
Author: Gérard Milmeister <gemi at bluewin.ch>
Date:   Mon Feb 14 00:40:46 2011 +0100

    new release 0.9.1

 .gitignore  |    1 +
 gauche.spec |   37 +++++++++++++++++++++++--------------
 sources     |    2 +-
 3 files changed, 25 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6a7a459..321a7b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Gauche-0.8.14.tgz
+/Gauche-0.9.1.tgz
diff --git a/gauche.spec b/gauche.spec
index 53e99c4..96600ad 100644
--- a/gauche.spec
+++ b/gauche.spec
@@ -1,6 +1,6 @@
 Name:		gauche
-Version:	0.8.14
-Release:	3%{?dist}
+Version:	0.9.1
+Release:	1%{?dist}
 Summary:	Scheme script interpreter with multibyte character handling
 
 Group:		Development/Languages
@@ -16,6 +16,7 @@ Requires(postun): /sbin/install-info, /sbin/ldconfig
 Requires:       slib
 ExcludeArch:    ppc64
 
+%define main_version 0.9
 
 %description
 Gauche is a Scheme interpreter conforming Revised^5 Report on
@@ -35,7 +36,7 @@ Development files for Gauche.
 
 %prep
 %setup -q -n Gauche-%{version}
-%patch1 -p1
+#%patch1 -p1
 
 
 %build
@@ -44,7 +45,7 @@ perl -pi -e "s|POSTINSTALL = TARGETLIB=|POSTINSTALL = TARGETLIB=$RPM_BUILD_ROOT/
 %ifarch i386 i586 i686
 LD_LIBRARY_PATH=`pwd`/src make OPTFLAGS="-fomit-frame-pointer"
 %else
-LD_LIBRARY_PATH=`pwd`/src make
+LD_LIBRARY_PATH=`pwd`/src make %{_smp_mflags}
 %endif
 
 
@@ -59,12 +60,13 @@ chmod 0644 examples/grep.scm
 chmod 0644 ext/template.*
 
 # for some reason the libraries are not correctly installed
-mv src/libgauche.so* $RPM_BUILD_ROOT%{_libdir}
+#mv src/libgauche.so* $RPM_BUILD_ROOT%{_libdir}
+(cd $RPM_BUILD_ROOT%{_libdir}; ln -sf libgauche-%{main_version}.so libgauche-%{main_version}.so.0.1)
 
 # remove japanese doc
 rm -f $RPM_BUILD_ROOT%{_infodir}/gauche-refj.*
 
-touch $RPM_BUILD_ROOT%{_datadir}/gauche/%{version}/lib/slibcat
+touch $RPM_BUILD_ROOT%{_datadir}/gauche-%{main_version}/%{version}/lib/slibcat
 
 # this things go into the doc of the devel package
 rm -f $RPM_BUILD_ROOT%{_datadir}/gauche/%{version}/template*
@@ -102,27 +104,34 @@ fi
 %{_bindir}/gauche-install
 %{_bindir}/gauche-package
 %{_bindir}/gosh
-%{_libdir}/libgauche.so.*
-%{_libdir}/gauche
+%{_libdir}/libgauche-%{main_version}.so*
+%{_libdir}/gauche-%{main_version}
 %{_infodir}/*
-%{_mandir}/man*/gosh*
-%{_datadir}/gauche
-%exclude %{_libdir}/gauche/%{version}/include
-%ghost %{_datadir}/gauche/%{version}/lib/slibcat
+%{_mandir}/man*/gosh.*
+%{_mandir}/man*/gauche-cesconv.*
+%{_mandir}/man*/gauche-install.*
+%{_mandir}/man*/gauche-package.*
+%{_datadir}/gauche-%{main_version}
+%exclude %{_datadir}/gauche-%{main_version}/%{version}/template*
+%exclude %{_libdir}/gauche-%{main_version}/%{version}/include
+%ghost %{_datadir}/gauche-%{main_version}/%{version}/lib/slibcat
 %doc ChangeLog AUTHORS VERSION README NEWS examples COPYING
 
 
 %files devel
 %defattr(-,root,root,-)
 %{_bindir}/gauche-config
-%{_libdir}/libgauche.so
-%{_libdir}/gauche/%{version}/include
+%{_libdir}/gauche-%{main_version}/%{version}/include
+%{_datadir}/gauche-%{main_version}/%{version}/template*
 %{_datadir}/aclocal/gauche.m4
 %{_mandir}/man*/gauche-config*
 %doc ext/template.*
 
 
 %changelog
+* Sun Feb  6 2011 Gérard Milmeister <gemi at bluewin.ch> - 0.9.1-1
+- new release 0.9.1
+
 * Sat Jul 25 2009 Gerard Milmeister <gemi at bluewin.ch> - 0.8.14-3
 - patch for setting target arch
 
diff --git a/sources b/sources
index 8b17ae2..fd49f6d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-813a668e978562be392debbbac6c3cc7  Gauche-0.8.14.tgz
+6134e9c16aef2bc9fd3fa7e8fbebdd10  Gauche-0.9.1.tgz


More information about the scm-commits mailing list