-
Notifications
You must be signed in to change notification settings - Fork 0
/
cim.spec.in
54 lines (46 loc) · 1.28 KB
/
cim.spec.in
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
Summary: Simula to C translator. Mother of all OO-languages.
Name: cim
Version: @VERSION@
Release: 1
Source: ftp.ifi.uio.no:/pub/cim/cim-@[email protected]
Copyright: GPL
Group: Development/Languages
Provides: cim
Requires: gcc
Packager: Sverre Hvammen Johansen <[email protected]>
BuildRoot: /tmp/cim-root
%description
Cim compiles Simula code to C and uses a C compiler like gcc to
compile it further to machine-code. Simula was the first language
with object-oriented features. The Simula language has features for
quasi-paralell execution and a framework for doing simulations.
%prep
%setup -n cim-@VERSION@
%build
CFLAGS=-O2 LDFLAGS=-s ./configure --prefix=$RPM_BUILD_ROOT/usr --enable-dump=yes
#CFLAGS=-O2 LDFLAGS=-s ./configure --prefix=/usr --enable-dump=yes
(cd src; make libdir=/usr/lib includedir=/usr/include)
make all
%install
make install
/sbin/ldconfig
%files
# %defattr(-, root, root)
/usr/bin/cim
/usr/bin/cim2latex
/usr/bin/cim2ps
/usr/bin/cimindent
/usr/include/cim.h
/usr/lib/libcim-atr.a
/usr/lib/libcim.a
/usr/lib/libcim.la
/usr/lib/libcim.so
/usr/lib/libcim.so.@LIB_CURRENT@
/usr/lib/libcim.so.@LIB_CURRENT@.@LIB_REVISION@.@LIB_AGE@
/usr/man/man1/cim.1
/usr/info/cim.info
%doc README doc/SIMULA-HISTORY AUTHORS COPYING ChangeLog NEWS TODO
%post
/sbin/ldconfig
%postun
/sbin/ldconfig