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 Patch0: %{name}-make.patch
11 Patch1: %{name}-OPT.patch
12 Patch2: %{name}-info.patch
13 Patch3: %{name}-libgmp.patch
14 Patch4: %{name}-bdf.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.
54 cp -f /usr/share/automake/config.* .
55 GCC="%{__cc}"; export GCC
56 # note: full path to xemacs must be passed
57 EMACS=/usr/bin/xemacs; export EMACS
61 %{__make} OPTFLAGS="%{rpmcflags}" \
62 EMACS_SITE_LISP=`xemacs -q -batch 2>&1 | sed -e /Loading/d `
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{_libdir}/gcl/{cmpnew,unixport,lsp,gcl-tk} \
67 $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_bindir}} \
68 $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
72 makeinfo gcl-si.texi gcl-tk.texi
73 install gcl*info* $RPM_BUILD_ROOT%{_infodir})
74 install man/man1/gcl.1 $RPM_BUILD_ROOT%{_mandir}/man1
76 install unixport/saved_gcl $RPM_BUILD_ROOT%{_libdir}/gcl/unixport
77 install info/*info* $RPM_BUILD_ROOT%{_infodir}
78 install cmpnew/collectfn.o $RPM_BUILD_ROOT%{_libdir}/gcl/cmpnew
79 install lsp/{gprof.lsp,info.o,profile.lsp} $RPM_BUILD_ROOT%{_libdir}/gcl/lsp
80 install gcl-tk/{decode.tcl,gcl.tcl,gcltkaux,gcltksrv,tinfo.o,tkl.o} \
81 $RPM_BUILD_ROOT%{_libdir}/gcl/gcl-tk
83 ln -sf %{_libdir}/gcl/unixport/saved_gcl $RPM_BUILD_ROOT%{_bindir}/gcl.exe
85 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl
87 exec %{_libdir}/gcl/unixport/saved_gcl \
88 -dir {_libdir}/gcl/unixport/ \
89 -libdir %{_libdir}/gcl/ \
90 -eval '(setq si::*allow-gzipped-file* t)' \
94 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl-tk
96 exec %{_libdir}/gcl/unixport/saved_gcl \
97 -dir {_libdir}/gcl/unixport/ \
98 -libdir %{_libdir}/gcl/ \
99 -eval '(setq si::*allow-gzipped-file* t)' \
100 -eval '(setq si::*tk-library* "%{_libdir}/tk8.3")' \
105 rm -rf $RPM_BUILD_ROOT
108 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
114 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
117 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
120 %defattr(644,root,root,755)
121 %doc readme faq ChangeLog
122 %attr(755,root,root) %{_bindir}/gcl
123 %attr(755,root,root) %{_bindir}/gcl.exe
124 %{_libdir}/gcl/cmpnew
126 %attr(755,root,root) %{_libdir}/gcl/unixport/saved_gcl
127 %{_infodir}/gcl-si.info*
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_bindir}/gcl-tk
133 %dir %{_libdir}/gcl/gcl-tk
134 %attr (755,root,root) %{_libdir}/gcl/gcl-tk/gcltkaux
135 %attr (755,root,root) %{_libdir}/gcl/gcl-tk/gcltksrv
136 %{_libdir}/gcl/gcl-tk/*.o
137 %{_libdir}/gcl/gcl-tk/*.tcl
138 %{_infodir}/gcl-tk.info*