1 Summary: GNU Common Lisp system
2 Summary(pl): System GNU Common Lisp
7 Group: Development/Languages
8 Source0: ftp://ftp.gnu.org/gnu/gcl/%{name}-%{version}.tar.gz
9 # Source0-md5: dfb205e96b5cfa1ab1795110cf38f209
10 Patch0: %{name}-make.patch
11 Patch1: %{name}-info.patch
12 URL: http://www.gnu.org/software/gcl/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gmp-devel >= 4.0
16 BuildRequires: readline-devel
18 BuildRequires: tk-devel >= %{_tkline}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The GNU Common Lisp system, based on KCL.
26 System GNU Common Lisp, bazuj±cy na KCL.
29 Summary: Tcl/Tk bindings for GNU Common Lisp
30 Summary(pl): Interfejs Tcl/Tk do GNU Common Lisp
31 Group: Development/Languages
32 Requires: %{name} = %{version}-%{release}
35 Tcl/Tk bindings for GNU Common Lisp.
38 Intefejs Tcl/Tk dla GNU Common Lisp.
48 cp -f /usr/share/automake/config.* .
49 GCC="%{__cc}"; export GCC
50 # note: full path to xemacs must be passed
51 EMACS=/usr/bin/xemacs; export EMACS
53 --disable-statsysbfd \
59 EMACS_SITE_LISP=`xemacs -q -batch 2>&1 | sed -e /Loading/d `
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1}
66 DESTDIR=$RPM_BUILD_ROOT \
67 INSTALL_LIB_DIR=%{_libdir}/gcl
69 mv -f $RPM_BUILD_ROOT%{_libdir}/gcl/info/* $RPM_BUILD_ROOT%{_infodir}
70 rmdir $RPM_BUILD_ROOT%{_libdir}/gcl/info
72 install man/man1/gcl.1 $RPM_BUILD_ROOT%{_mandir}/man1
74 ln -sf %{_libdir}/gcl/unixport/saved_gcl $RPM_BUILD_ROOT%{_bindir}/gcl.exe
76 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl
78 exec %{_libdir}/gcl/unixport/saved_gcl \
79 -dir {_libdir}/gcl/unixport/ \
80 -libdir %{_libdir}/gcl/ \
81 -eval '(setq si::*allow-gzipped-file* t)' \
85 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/gcl-tk
87 exec %{_libdir}/gcl/unixport/saved_gcl \
88 -dir {_libdir}/gcl/unixport/ \
89 -libdir %{_libdir}/gcl/ \
90 -eval '(setq si::*allow-gzipped-file* t)' \
91 -eval '(setq si::*tk-library* "/usr/lib/tk%{_tkline}")' \
96 rm -rf $RPM_BUILD_ROOT
99 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
102 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
105 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
108 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111 %defattr(644,root,root,755)
112 %doc readme faq ChangeLog
113 %attr(755,root,root) %{_bindir}/gcl
114 %attr(755,root,root) %{_bindir}/gcl.exe
117 %{_libdir}/gcl/cmpnew
121 %dir %{_libdir}/gcl/unixport
122 %attr(755,root,root) %{_libdir}/gcl/unixport/saved_gcl
123 %{_libdir}/gcl/unixport/*.lsp
125 #%{_libdir}/gcl/unixport/*.a
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*