Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 14ae212fe0a99d317c7cf8d7f02dc912 > files > 2

gcl-2.6.6-2mdk.src.rpm

%define gclver	2.6.6

Summary:	GNU Common Lisp
Name:		gcl
Version:	%{gclver}
Release:	2mdk
License:	LGPL
Group:		Development/Other
Source0:	ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
URL:		http://savannah.gnu.org/projects/gcl
BuildRequires:  tetex-dvipdfm
BuildRequires:	tk
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
GCL is a Common Lisp currently compliant with the CLtL1 standard. Lisp
compilation produces native code through the intermediary of the system's C
compiler, from which GCL derives efficient performance and facile
portability. Currently uses TCL/Tk as GUI.

%prep
%setup  -q

%build
aclocal && autoconf
%configure2_5x --enable-notify=no --enable-ansi
make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
(cd info
make gcl-tk.dvi gcl-si.dvi
dvipdfm gcl-tk.dvi
dvipdfm gcl-si.dvi)
%makeinstall DESTDIR=$RPM_BUILD_ROOT \
	prefix=%{_prefix}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
rm -rf $RPM_BUILD_ROOT%{_libdir}/gcl-%{gclver}/info
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
install -m 644 man/man1/gcl.1 $RPM_BUILD_ROOT%{_mandir}/man1
find $RPM_BUILD_ROOT%{_datadir} -type f -perm 640 -print0 | xargs -0 chmod 644
find $RPM_BUILD_ROOT%{_datadir} -type f -perm 750 -print0 | xargs -0 chmod 644
find $RPM_BUILD_ROOT%{_libdir}/gcl-%{version} -type f -perm 750 -print0 | xargs -0 chmod 755
find $RPM_BUILD_ROOT%{_libdir}/gcl-%{version} -type f -perm 640 -print0 | xargs -0 chmod 644
chmod 644 readme faq ChangeLog

%post
%_install_info gcl.info
%_install_info gcl-si.info
%_install_info gcl-tk.info

%postun
%_remove_install_info gcl.info
%_remove_install_info gcl-si.info
%_remove_install_info gcl-tk.info

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc readme faq ChangeLog info/*.pdf
%dir %{_libdir}/gcl-%{gclver}
%{_bindir}/gcl
%{_libdir}/gcl-%{gclver}/cmpnew
%{_libdir}/gcl-%{gclver}/gcl-tk
%{_libdir}/gcl-%{gclver}/h
%{_libdir}/gcl-%{gclver}/lsp
%{_libdir}/gcl-%{gclver}/unixport
%{_libdir}/gcl-%{gclver}/clcs
%{_libdir}/gcl-%{gclver}/pcl
%{_datadir}/emacs/*
%{_infodir}/gcl*.info*
%{_mandir}/man1/*

%changelog
* Wed Feb 16 2005 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.6.6-2mdk
- Enabled ansi.

* Wed Feb 16 2005 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.6.6-1mdk
- Release: 2.6.6.

* Mon Oct 04 2004 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.6.5-2mdk
- Fix permissions.

* Mon Oct 04 2004 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.6.5-1mdk
- Release 2.6.5.

* Mon Jul 19 2004 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.6.3-1mdk
- Release 2.6.3.

* Thu Jan 29 2004 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.5.3-2mdk
- Rebuilt.

* Wed Aug 27 2003 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.5.3-1mdk
- Release 2.5.3.
- Fixed distriblint DIRM prob.

* Wed Feb 19 2003 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.4.3-2mdk
- Rebuilt.

* Mon Nov 25 2002 Giuseppe Ghibò <ghibo@mandrakesoft.com> 2.4.3-1mdk
- Initial build.