Summary: GNU Common Lisp
Summary(pl): GNU Common Lisp
Name: gcl
-Version: 2.4.1
-Release: 1
-License: GPL
+Version: 2.4.4
+Release: 2
+License: LGPL v2
Group: Development/Languages
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tgz
+# Source0-md5: cd2326647d1cd18ccec088370ebdf58d
Patch0: %{name}-make.patch
Patch1: %{name}-OPT.patch
Patch2: %{name}-info.patch
Patch3: %{name}-libgmp.patch
-URL: http://www.gnu.org/projects/gcl
+Patch4: %{name}-bfd.patch
+URL: http://www.ma.utexas.edu/users/wfs/gcl.html
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gmp-devel
-BuildRequires: tk-devel
+BuildRequires: sed
+BuildRequires: tk-devel >= 8.3.4-5
BuildRequires: xemacs
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+ExclusiveArch: %{ix86} sparc
%description
The GNU Common Lisp system, based on KCL.
System GNU Common Lisp, bazuj±cy na KCL.
%package tk
-Summary: Tcl/tk bindings for GNU Common Lisp
-Summary(pl): Interfejs Tcl/tk do GNU Common Lisp
+Summary: Tcl/Tk bindings for GNU Common Lisp
+Summary(pl): Interfejs Tcl/Tk do GNU Common Lisp
Group: Development/Languages
Requires: %{name} = %{version}
%description tk
-Tcl/tk bindings for GNU Common Lisp.
+Tcl/Tk bindings for GNU Common Lisp.
%description tk -l pl
-Intefejs Tcl/tk dla GNU Common Lisp.
+Intefejs Tcl/Tk dla GNU Common Lisp.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
+#%patch4 -p1
%build
rm -f missing
-aclocal
-autoconf
+%{__aclocal}
+%{__autoconf}
cp -f /usr/share/automake/config.* .
GCC="%{__cc}"; export GCC
-%configure2_13 \
+# note: full path to xemacs must be passed
+EMACS=/usr/bin/xemacs; export EMACS
+%configure \
--enable-notify=no
%{__make} OPTFLAGS="%{rpmcflags}" \
$RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_bindir}} \
$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
-(cd info
+cd info
rm -f *info*
makeinfo gcl-si.texi gcl-tk.texi
-install gcl*info* $RPM_BUILD_ROOT%{_infodir})
+install gcl*info* $RPM_BUILD_ROOT%{_infodir}
+cd ..
+
install man/man1/gcl.1 $RPM_BUILD_ROOT%{_mandir}/man1
install unixport/saved_gcl $RPM_BUILD_ROOT%{_libdir}/gcl/unixport
"$@"
EOF
-gzip -9nf readme faq ChangeLog
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc readme faq ChangeLog
%attr(755,root,root) %{_bindir}/gcl
%attr(755,root,root) %{_bindir}/gcl.exe
%{_libdir}/gcl/cmpnew