]> git.pld-linux.org Git - packages/Gauche.git/commitdiff
- Add $RPM_BUILD_ROOT where it was missing.
authorqrczak <qrczak@pld-linux.org>
Mon, 23 Sep 2002 19:49:03 +0000 (19:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release 2.

Changed files:
    Gauche-install.patch -> 1.1
    Gauche.spec -> 1.3

Gauche-install.patch [new file with mode: 0644]
Gauche.spec

diff --git a/Gauche-install.patch b/Gauche-install.patch
new file mode 100644 (file)
index 0000000..e0d72ca
--- /dev/null
@@ -0,0 +1,11 @@
+--- Gauche-0.5.5/Makefile.in~  Wed Apr 17 05:27:58 2002
++++ Gauche-0.5.5/Makefile.in   Mon Sep 23 21:38:27 2002
+@@ -57,7 +57,7 @@
+       cd src; $(MAKE) install
+       cd lib; $(MAKE) install
+       cd ext; $(MAKE) install
+-      $(INSTALL) -m 444 aclocal.m4 `sh src/gauche-config --ac`/aclocal.m4
++      $(INSTALL) -m 444 aclocal.m4 `sh src/gauche-config-install --ac`/aclocal.m4
+ realclean : clean
+       cd src; $(MAKE) realclean
index 04a06dfef8bb000e5d1b861490ed81398c4bd864..fdf9ec334ee11151b75f2af223b34cedb51bfd7e 100644 (file)
@@ -1,12 +1,13 @@
-# $Id: Gauche.spec,v 1.2 2002-06-12 15:53:00 filon Exp $
+# $Id: Gauche.spec,v 1.3 2002-09-23 19:49:02 qrczak Exp $
 Summary:       Scheme script interpreter with multibyte character handling
 Summary:       Interpreter Scheme obs³uguj±cy wielobajtowe kodowanie znaków
 Name:          Gauche
 Version:       0.5.5
-Release:       1
+Release:       2
 License:       BSD
 Group:         Development/Languages
 Source0:       http://telia.dl.sourceforge.net/sourceforge/gauche/%{name}-%{version}.tgz
+Patch0:                %{name}-install.patch
 BuildRequires: gdbm-devel >= 1.8.0
 BuildRequires: slib
 Requires:      slib
@@ -54,6 +55,7 @@ Wi
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
@@ -67,12 +69,16 @@ Wi
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
 
+echo "echo $RPM_BUILD_ROOT\$(sh $(pwd)/src/gauche-config \"\$@\")" >src/gauche-config-install
+
 %{__make} \
        LIB_INSTALL_DIR=$RPM_BUILD_ROOT%{_libdir} \
        BIN_INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir} \
        DATA_INSTALL_DIR=$RPM_BUILD_ROOT%{_datadir} \
        GAUCHE_DATA_DIR=$RPM_BUILD_ROOT%{_datadir}/gauche \
        GAUCHE_ARCH_DIR=$RPM_BUILD_ROOT%{_libdir}/gauche \
+       SCM_INSTALL_DIR=$RPM_BUILD_ROOT%{_datadir}/gauche/%{version}/lib \
+        GAUCHE_CONFIG="sh $(pwd)/src/gauche-config-install" \
        install-rpm
 
 install -d $RPM_BUILD_ROOT%{_includedir}
This page took 0.05891 seconds and 4 git commands to generate.