stk/Utils/STk.spec

94 lines
2.1 KiB
RPMSpec
Raw Normal View History

1998-04-30 07:04:33 -04:00
%define release 1
Summary: Scheme Interpreter with access to the Tk toolkit
Name: STk
1998-09-30 07:11:02 -04:00
Version: 3.99.3
1998-04-30 07:04:33 -04:00
Release: %{release}
Copyright: distributable
1998-09-30 07:11:02 -04:00
Source: STk-3.99.3.tar.gz
1998-04-30 07:04:33 -04:00
Group: Development/Languages
Packager: Erick Gallesio <eg@unice.fr>
%package devel
1998-09-30 07:11:02 -04:00
Summary: Header files and libraries for STkq
1998-04-30 07:04:33 -04:00
Group: Development/Libraries
1998-09-30 07:11:02 -04:00
Requires: STk = 3.99.3
1998-04-30 07:04:33 -04:00
%description
STk is a R4RS Scheme interpreter which can access the Tk graphical
package. Concretely it can be seen as the John Ousterhout's Tk
package where the Tcl language has been replaced by Scheme.
STk also provides an efficient object oriented system called STklos.
STklos is an extensive OO system with multiple inheritance, generic
functions, multi-methods and a Meta Object Protocol).
This package uses the 8.0 version of the Tk package for the graphical part.
%description devel
This package contains the files necessary for extending, in C, the
STk interpeter. If you don't need to write some C code for extending
the interpreter, you don't need to install this package.
1998-09-30 07:11:02 -04:00
%ifarch i386
%define machine Linux-2.X-ix86
%else
%ifarch ppc
%define machine Linux-2.X-ppc
%else
%define machine Linux-2.X-ix86
%endif
%endif
1998-04-30 07:04:33 -04:00
%prep
%setup
%build
CFLAGS=-O2 sh configure --prefix=/usr/local
make
%install
make install
make install.libs
%post
if [ -d /usr/local/lib/stk/site-scheme ]
then
mkdir -p /usr/local/lib/stk/site-scheme
fi
%postun
rm -f /usr/local/lib/stk/man
rmdir /usr/local/lib/stk/site-scheme || true
rmdir /usr/local/lib/stk || true
%postun devel
rm -f /usr/local/lib/stk/include
%files
%doc README INSTALL CHANGES ChangeLog
1998-09-30 07:11:02 -04:00
/usr/local/lib/stk/3.99.3/Demos
/usr/local/lib/stk/3.99.3/Help
/usr/local/lib/stk/3.99.3/Images
/usr/local/lib/stk/3.99.3/%{machine}/stk
/usr/local/lib/stk/3.99.3/%{machine}/snow
/usr/local/lib/stk/3.99.3/%{machine}/*.so
/usr/local/lib/stk/3.99.3/STk
/usr/local/lib/stk/3.99.3/include
/usr/local/lib/stk/3.99.3/man
/usr/local/bin/stk-3.99.3
/usr/local/bin/snow-3.99.3
1998-04-30 07:04:33 -04:00
/usr/local/bin/stk
/usr/local/bin/snow
%files devel
1998-09-30 07:11:02 -04:00
/usr/local/lib/stk/3.99.3/%{machine}/Config
/usr/local/lib/stk/3.99.3/%{machine}/Libs