1 # $Id: Gauche.spec,v 1.2 2002-06-12 15:53:00 filon Exp $
2 Summary: Scheme script interpreter with multibyte character handling
3 Summary: Interpreter Scheme obs³uguj±cy wielobajtowe kodowanie znaków
8 Group: Development/Languages
9 Source0: http://telia.dl.sourceforge.net/sourceforge/gauche/%{name}-%{version}.tgz
10 BuildRequires: gdbm-devel >= 1.8.0
13 URL: http://www.shiro.dreamhost.com/scheme/gauche/
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Gauche is a Scheme interpreter conforming Revised^5 Report on
18 Algorithmic Language Scheme. It is designed for rapid development of
19 daily tools like system management and text processing. It can handle
20 multibyte character strings natively. This package is compiled with
21 utf-8 as the native character encoding.
24 Gauche jest interpreterem jêzyka Scheme zgodnym z "Revised^5 Report on
25 Algorithmic Language Scheme". Jest on zaprojektowany do szybkiego
26 tworzenia codziennych narzêdzi, jak zarz±dzania systemem lub
27 przetwarzanie tekstu. Potrafi on obs³ugiwaæ natywnie wielobajtowe
28 kodowanie znaków (jak na przyk³ad unicode). Ten pakiet jest skompilowany
29 z utf-8 jako natywnym kodowaniem znaków.
32 Summary: Static version of Gauche runtime libary
33 Summary(pl): Statyczna wersja biblioteki czasu wykonania Gauche
34 Group: Development/Languages
35 Requires: %{name} = %{version}
38 Static version of Gauche runtime libary.
40 %description static -l pl
41 Statyczna wersja biblioteki czasu wykonania Gauche.
44 Summary: Gauche bindings for GDBM library
45 Summary(pl): Wi±zania do biblioteki GDBM dla Gauche
46 Group: Development/Languages
47 Requires: %{name} = %{version}
50 Gauche bindings for GDBM library.
52 %description dbm -l pl
53 Wi±zania do biblioteki GDBM dla Gauche.
60 --enable-multibyte=utf-8 \
61 --with-slib=/usr/share/guile/slib \
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT
71 LIB_INSTALL_DIR=$RPM_BUILD_ROOT%{_libdir} \
72 BIN_INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir} \
73 DATA_INSTALL_DIR=$RPM_BUILD_ROOT%{_datadir} \
74 GAUCHE_DATA_DIR=$RPM_BUILD_ROOT%{_datadir}/gauche \
75 GAUCHE_ARCH_DIR=$RPM_BUILD_ROOT%{_libdir}/gauche \
78 install -d $RPM_BUILD_ROOT%{_includedir}
79 mv $RPM_BUILD_ROOT%{_libdir}/gauche/%{version}/include/* $RPM_BUILD_ROOT%{_includedir}
81 install -d $RPM_BUILD_ROOT%{_mandir}/man1
82 install doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
84 install -d $RPM_BUILD_ROOT%{_aclocaldir}
85 install aclocal.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gauche.m4
88 rm -rf ${RPM_BUILD_ROOT}
91 # creates slib catalog, if possible.
92 /usr/bin/gosh -u slib -e "(require 'logical)" -e "(exit 0)" > /dev/null 2>&1 || :
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc COPYING ChangeLog
100 %attr(755,root,root) %{_bindir}/gosh
101 %attr(755,root,root) %{_bindir}/gauche-config
102 %attr(755,root,root) %{_libdir}/libgauche.so
103 %attr(755,root,root) %{_libdir}/gauche/%{version}/*/*
104 %exclude %attr(755,root,root) %{_libdir}/gauche/%{version}/*/[nog]dbm.so
105 %dir %{_libdir}/gauche/site/%{version}/*
106 %{_datadir}/gauche/%{version}/lib
107 %exclude %{_datadir}/gauche/%{version}/lib/dbm*
108 %dir %{_datadir}/gauche/site/lib
109 %{_includedir}/gauche
110 %{_includedir}/gauche.h
115 %defattr(644,root,root,755)
116 %{_libdir}/libgauche.a
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/gauche/%{version}/*/[nog]dbm.so
121 %{_datadir}/gauche/%{version}/lib/dbm
122 %{_datadir}/gauche/%{version}/lib/dbm.scm