2 Summary: GNU Common Lisp
3 Summary(pl): GNU Common Lisp
8 Group: Development/Languages
9 Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tgz
10 # Source0-md5: cd2326647d1cd18ccec088370ebdf58d
11 Patch0: %{name}-make.patch
12 Patch1: %{name}-OPT.patch
13 Patch2: %{name}-info.patch
14 Patch3: %{name}-libgmp.patch
15 Patch4: %{name}-bfd.patch
16 URL: http://www.ma.utexas.edu/users/wfs/gcl.html
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gmp-devel
20 BuildRequires: tk-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 ExclusiveArch: %{ix86} sparc
26 The GNU Common Lisp system, based on KCL.
29 System GNU Common Lisp, bazuj±cy na KCL.
32 Summary: Tcl/tk bindings for GNU Common Lisp
33 Summary(pl): Interfejs Tcl/tk do GNU Common Lisp
34 Group: Development/Languages
35 Requires: %{name} = %{version}
38 Tcl/tk bindings for GNU Common Lisp.
41 Intefejs Tcl/tk dla GNU Common Lisp.
55 cp -f /usr/share/automake/config.* .
56 GCC="%{__cc}"; export GCC
57 # note: full path to xemacs must be passed
58 EMACS=/usr/bin/xemacs; export EMACS
62 %{__make} OPTFLAGS="%{rpmcflags}" \
63 EMACS_SITE_LISP=`xemacs -q -batch 2>&1 | sed -e /Loading/d `
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_libdir}/gcl/{cmpnew,unixport,lsp,gcl-tk} \
68 $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_bindir}} \
69 $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
73 makeinfo gcl-si.texi gcl-tk.texi
74 install gcl*info* $RPM_BUILD_ROOT%{_infodir})
75 install man/man1/gcl.1 $RPM_BUILD_ROOT%{_mandir}/man1
77 install unixport/saved_gcl $RPM_BUILD_ROOT%{_libdir}/gcl/unixport
78 install info/*info* $RPM_BUILD_ROOT%{_infodir}
79 install cmpnew/collectfn.o $RPM_BUILD_ROOT%{_libdir}/gcl/cmpnew
80 install lsp/{gprof.lsp,info.o,profile.lsp} $RPM_BUILD_ROOT%{_libdir}/gcl/lsp
81 install gcl-tk/{decode.tcl,gcl.tcl,gcltkaux,gcltksrv,tinfo.o,tkl.o} \
82 $RPM_BUILD_ROOT%{_libdir}/gcl/gcl-tk
84 ln -sf %{_libdir}/gcl/unixport/saved_gcl $RPM_BUILD_ROOT%{_bindir}/gcl.exe
86 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl
88 exec %{_libdir}/gcl/unixport/saved_gcl \
89 -dir {_libdir}/gcl/unixport/ \
90 -libdir %{_libdir}/gcl/ \
91 -eval '(setq si::*allow-gzipped-file* t)' \
95 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl-tk
97 exec %{_libdir}/gcl/unixport/saved_gcl \
98 -dir {_libdir}/gcl/unixport/ \
99 -libdir %{_libdir}/gcl/ \
100 -eval '(setq si::*allow-gzipped-file* t)' \
101 -eval '(setq si::*tk-library* "%{_libdir}/tk8.3")' \
106 rm -rf $RPM_BUILD_ROOT
109 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
112 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
115 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
118 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
121 %defattr(644,root,root,755)
122 %doc readme faq ChangeLog
123 %attr(755,root,root) %{_bindir}/gcl
124 %attr(755,root,root) %{_bindir}/gcl.exe
125 %{_libdir}/gcl/cmpnew
127 %attr(755,root,root) %{_libdir}/gcl/unixport/saved_gcl
128 %{_infodir}/gcl-si.info*
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_bindir}/gcl-tk
134 %dir %{_libdir}/gcl/gcl-tk
135 %attr (755,root,root) %{_libdir}/gcl/gcl-tk/gcltkaux
136 %attr (755,root,root) %{_libdir}/gcl/gcl-tk/gcltksrv
137 %{_libdir}/gcl/gcl-tk/*.o
138 %{_libdir}/gcl/gcl-tk/*.tcl
139 %{_infodir}/gcl-tk.info*