Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[4ca0a6]: clisp.spec Maximize Restore History

Download this file

clisp.spec    114 lines (104 with data), 4.2 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
# File: <clisp.spec - 1999-01-10 Sun 14:30:04 EST sds@eho.eaglets.com>
# $Id$
# Copyright (C) 1998 by Sam Steingold
# GNU General Public License v.2 (GPL2) is applicable:
# No warranty; you may copy/modify/redistribute under the same
# conditions with the source code. See <URL:http://www.gnu.org>
# for details and precise copyright document.
# The purpose of this file is creation of source/binary RPMs, **NOT**
# building/installing CLISP. If you read the comments below, you will
# learn why.
%define name clisp
%define version 1999.01.08
%define clisp_build build
Summary: Common Lisp (ANSI CL) implementation
Name: %{name}
Version: %{version}
Release: 1
Icon: clisp.gif
Copyright: GPL [slightly modified]
Group: development/languages
Source: ftp://seagull.cdrom.com/pub/lisp/clisp/source/clispsrc.tar.gz
URL: http://clisp.cons.org/~haible/clisp.html
Packager: Sam Steingold <sds@goems.com>
Provides: clisp, ansi-cl
%description
Common Lisp is a high-level, all-purpose programming language.
CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe
University and Michael Stoll of Munich University, both in Germany.
It mostly supports the Lisp described in "Common LISP: The Language
(2nd edition)" and the ANSI Common Lisp standard.
It runs on microcomputers (DOS, OS/2, Windows NT, Windows 95, Amiga
500-4000, Acorn RISC PC) as well as on Unix workstations (Linux, SVR4,
Sun4, DEC Alpha OSF, HP-UX, NeXTstep, SGI, AIX, Sun3 and others) and
needs only 2 MB of RAM.
It is free software and may be distributed under the terms of GNU GPL.
The user interface comes in German, English, French and Spanish.
CLISP includes an interpreter, a compiler, a large subset of CLOS, a
foreign language interface and a socket interface.
An X11 interface is available through CLX and Garnet.
Sources and selected binaries are available by anonymous ftp from
<ftp://ftp2.cons.org/pub/lisp/clisp>.
The latest and greatest i386 binary RPM is on
<ftp://cellar.goems.com/pub/clisp>.
# RPM doesn't provide for comfortable operation: when I want to create a
# package, I have to untar, build and install (--short-circuit works for
# compilation and installation only, so if I want to build a binary RPM,
# I am doomed to untar, compile and install!) This is unacceptable, so
# I disabled untar completely - I don't need it anyway, I work from a
# CVS repository, and I comment out the build clause and `make install`.
%prep
%setup -T -D -n /usr/src/%{name}
%build
#rm -rf src/VERSION
#date +%Y-%02m-%02d > src/VERSION
#make -f Makefile.devel src/version.h
## make -f Makefile.devel
## make -f Makefile.devel check-configures
#./configure --prefix=/usr --fsstnd=redhat --with-module=wildcard \
# --with-module=regexp --with-module=bindings/linuxlibc6 \
# --with-module=clx/new-clx --build %{clisp_build}
%install
cd %{clisp_build}
#make install
test -d doc || mkdir doc
cp impnotes.txt CLOS-guide.txt clisp.html cltl2.txt readline.dvi \
LISP-tutorial.txt clreadline.3 editors.txt clisp.1 clreadline.dvi \
impnotes.html clisp.gif clreadline.html doc
cd ..
# Can you believe it?!! RPM runs chown -R root.root / chmod -R!!!
# Who was the wise guy who invented this?! Now not only I have to run
# rpm as root (as I should not have to - chown/chmod can be done in the
# package file itself, not on disk!) but I also cannot work with the
# sources afterwards!
chgrp -R src
chmod -R g+wX .
# create the source tar, necessary for source RPMs
#cd ..
#tar cfz redhat/SOURCES/clispsrc.tar.gz clisp/ --exclude build
#cd clisp
%files
%dir /usr/lib/clisp/
%docdir /usr/doc/%{name}-%{version}
%doc build/ANNOUNCE
%doc build/GNU-GPL
%doc build/MAGIC.add
%doc build/README
%doc build/README.en
%doc build/SUMMARY
%doc build/COPYRIGHT
%doc build/NEWS
%doc build/README.de
%doc build/README.es
%doc build/doc
/usr/man/man3/clreadline.3
/usr/man/man1/clisp.1
/usr/bin/clisp
/usr/lib/clisp/lisp.run
/usr/lib/clisp/lispinit.mem
/usr/lib/clisp/full/lisp.run
/usr/lib/clisp/full/lispinit.mem
/usr/share/locale/de/LC_MESSAGES/clisp.mo
/usr/share/locale/en/LC_MESSAGES/clisp.mo
/usr/share/locale/es/LC_MESSAGES/clisp.mo
/usr/share/locale/fr/LC_MESSAGES/clisp.mo