[gauche/f16] Update to 0.9.3
Michel Alexandre Salim
salimma at fedoraproject.org
Fri May 11 15:58:56 UTC 2012
commit bed84acdb7f6b334ae386feb7b67e71ad704c88d
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Fri May 11 22:34:44 2012 +0700
Update to 0.9.3
- Update URL field
- Spec clean-ups
.gitignore | 2 +-
gauche.spec | 34 +++++++++++++++++++---------------
sources | 2 +-
3 files changed, 21 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f92d0a3..03cf396 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Gauche-0.9.2.tgz
+/Gauche-0.9.3.tgz
diff --git a/gauche.spec b/gauche.spec
index 621ec83..9c997b1 100644
--- a/gauche.spec
+++ b/gauche.spec
@@ -1,13 +1,19 @@
Name: gauche
-Version: 0.9.2
+Version: 0.9.3
Release: 1%{?dist}
Summary: Scheme script interpreter with multibyte character handling
+%if 0%{?rhel}
Group: Development/Languages
+%endif
License: BSD
-URL: http://www.shiro.dreamhost.com/scheme/gauche
+URL: http://practical-scheme.net/gauche/index.html
Source: http://download.sourceforge.net/gauche/Gauche-%{version}.tgz
+
+%if 0%{?el5}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%endif
+
BuildRequires: gdbm-devel
BuildRequires: texinfo
Requires(post): /sbin/install-info, /sbin/ldconfig
@@ -39,16 +45,18 @@ Development files for Gauche.
%build
%configure --with-rpath=no --enable-threads=pthreads --enable-multibyte=utf-8 --with-slib=%{_datadir}/slib
-perl -pi -e "s|POSTINSTALL = TARGETLIB=|POSTINSTALL = TARGETLIB=$RPM_BUILD_ROOT/|" src/Makefile
-%ifarch i386 i586 i686
-LD_LIBRARY_PATH=`pwd`/src make OPTFLAGS="-fomit-frame-pointer"
+LD_LIBRARY_PATH=`pwd`/src make %{_smp_mflags} \
+%ifarch %{ix86}
+ OPTFLAGS="-fomit-frame-pointer"
%else
-LD_LIBRARY_PATH=`pwd`/src make %{_smp_mflags}
+ %{nil}
%endif
%install
+%if 0%{?el5}
rm -fr $RPM_BUILD_ROOT
+%endif
LD_LIBRARY_PATH=`pwd`/src make DESTDIR=$RPM_BUILD_ROOT install-pkg
LD_LIBRARY_PATH=`pwd`/src make DESTDIR=$RPM_BUILD_ROOT install-doc
@@ -57,15 +65,6 @@ chmod -R u+w $RPM_BUILD_ROOT
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}
-(
- cd $RPM_BUILD_ROOT%{_libdir};
- mv libgauche-%{main_version}.so{,.0.2};
- ln -sf libgauche-%{main_version}.so.0{.2,};
- ln -sf libgauche-%{main_version}.so{.0.2,};
-)
-
# remove japanese doc
rm -f $RPM_BUILD_ROOT%{_infodir}/gauche-refj.*
@@ -133,6 +132,11 @@ fi
%changelog
+* Fri May 11 2012 Michel Salim <salimma at fedoraproject.org> - 0.9.3-1
+- Update to 0.9.3
+- Update URL field
+- Spec clean-ups
+
* Tue Sep 13 2011 Michel Salim <salimma at fedoraproject.org> - 0.9.2-1
- Update to 0.9.2
diff --git a/sources b/sources
index 395673c..1ec429d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9979de5be0e35e57131508c4c606f5cb Gauche-0.9.2.tgz
+690389f43b52d471cec8d618b6b67c4a Gauche-0.9.3.tgz
More information about the scm-commits
mailing list