1 Summary: GNU Common Lisp
2 Summary(pl): GNU Common Lisp
3 Summary(zh_CN): [¿ª·¢]CºÍÆäËûÓïÑԵĵ÷ÊÔÆ÷
4 Summary(zh_TW): [¶}µo]C©M¨ä¥L»y¨¥ªº½Õ¸Õ¾¹
9 Group: Development/Languages
10 Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tgz
11 Patch0: %{name}-make.patch
12 Patch1: %{name}-OPT.patch
13 Patch2: %{name}-info.patch
14 Patch3: %{name}-libgmp.patch
15 URL: http://www.ma.utexas.edu/users/wfs/gcl.html
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gmp-devel
19 BuildRequires: tk-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 ExclusiveArch: %{ix86} sparc
25 The GNU Common Lisp system, based on KCL.
28 System GNU Common Lisp, bazuj±cy na KCL.
31 Summary: Tcl/tk bindings for GNU Common Lisp
32 Summary(pl): Interfejs Tcl/tk do GNU Common Lisp
33 Group: Development/Languages
34 Requires: %{name} = %{version}
37 Tcl/tk bindings for GNU Common Lisp.
40 Intefejs Tcl/tk dla GNU Common Lisp.
53 cp -f /usr/share/automake/config.* .
54 GCC="%{__cc}"; export GCC
55 # note: full path to xemacs must be passed
56 EMACS=/usr/bin/xemacs; export EMACS
60 %{__make} OPTFLAGS="%{rpmcflags}" \
61 EMACS_SITE_LISP=`xemacs -q -batch 2>&1 | sed -e /Loading/d `
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_libdir}/gcl/{cmpnew,unixport,lsp,gcl-tk} \
66 $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_bindir}} \
67 $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
71 makeinfo gcl-si.texi gcl-tk.texi
72 install gcl*info* $RPM_BUILD_ROOT%{_infodir})
73 install man/man1/gcl.1 $RPM_BUILD_ROOT%{_mandir}/man1
75 install unixport/saved_gcl $RPM_BUILD_ROOT%{_libdir}/gcl/unixport
76 install info/*info* $RPM_BUILD_ROOT%{_infodir}
77 install cmpnew/collectfn.o $RPM_BUILD_ROOT%{_libdir}/gcl/cmpnew
78 install lsp/{gprof.lsp,info.o,profile.lsp} $RPM_BUILD_ROOT%{_libdir}/gcl/lsp
79 install gcl-tk/{decode.tcl,gcl.tcl,gcltkaux,gcltksrv,tinfo.o,tkl.o} \
80 $RPM_BUILD_ROOT%{_libdir}/gcl/gcl-tk
82 ln -sf %{_libdir}/gcl/unixport/saved_gcl $RPM_BUILD_ROOT%{_bindir}/gcl.exe
84 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl
86 exec %{_libdir}/gcl/unixport/saved_gcl \
87 -dir {_libdir}/gcl/unixport/ \
88 -libdir %{_libdir}/gcl/ \
89 -eval '(setq si::*allow-gzipped-file* t)' \
93 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl-tk
95 exec %{_libdir}/gcl/unixport/saved_gcl \
96 -dir {_libdir}/gcl/unixport/ \
97 -libdir %{_libdir}/gcl/ \
98 -eval '(setq si::*allow-gzipped-file* t)' \
99 -eval '(setq si::*tk-library* "%{_libdir}/tk8.3")' \
104 rm -rf $RPM_BUILD_ROOT
107 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
110 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
113 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
116 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
119 %defattr(644,root,root,755)
120 %doc readme faq ChangeLog
121 %attr(755,root,root) %{_bindir}/gcl
122 %attr(755,root,root) %{_bindir}/gcl.exe
123 %{_libdir}/gcl/cmpnew
125 %attr(755,root,root) %{_libdir}/gcl/unixport/saved_gcl
126 %{_infodir}/gcl-si.info*
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_bindir}/gcl-tk
132 %dir %{_libdir}/gcl/gcl-tk
133 %attr (755,root,root) %{_libdir}/gcl/gcl-tk/gcltkaux
134 %attr (755,root,root) %{_libdir}/gcl/gcl-tk/gcltksrv
135 %{_libdir}/gcl/gcl-tk/*.o
136 %{_libdir}/gcl/gcl-tk/*.tcl
137 %{_infodir}/gcl-tk.info*