blob: b1e62d040a563110b9c01bd498af6c5356a60b3b (
plain)
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
|
Name: squeak-vm
Summary: The Squeak virtual machine
Version: 3.10.3
Release: 1
Url: http://squeakvm.org/unix
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
Source: %{name}-%{version}.tar.bz2
Source1: squeak-vm-rpmlintrc
Group: Development/Languages
BuildRequires: gawk
BuildRequires: xorg-x11-libX11-devel
BuildRequires: xorg-x11-libXt-devel
BuildRequires: libvorbis-devel
BuildRequires: libtheora-devel
BuildRequires: speex-devel
BuildRequires: dbus-1-devel
BuildRequires: alsa-lib-devel
BuildRequires: pango-devel
BuildRequires: gstreamer-devel
BuildRequires: -post-build-checks
ExclusiveArch: %ix86
%define exclude FileCopyPlugin SqueakFFIPrims B3DAcceleratorPlugin PseudoTTYPlugin UnixOSProcessPlugin XDisplayControlPlugin
%description
Squeak is a full-featured implementation of the Smalltalk programming
language and environment based on (and largely compatible with) the original
Smalltalk-80 system.
This package contains just the Squeak virtual machine. You will have
to install it before you install Etoys.
%prep
%setup -q
%build
./autogen.sh
#mkdir bld
cd bld
CPPFLAGS=-DSUGAR ../platforms/unix/config/configure --without-gl --prefix=%{_prefix}
%__make %{?jobs:-j%jobs}
%install
[ -n "%{buildroot}" -a "%{buildroot}" != "/" ] && rm -rf %{buildroot}/*
cd bld
make install ROOT=%{buildroot} docdir=%{_prefix}/share/doc/squeak
for plugin in %{exclude} ; do
rm -f %{buildroot}%{_prefix}/lib/squeak/%{version}-%{minor}/$plugin
done
%clean
[ -n "%{buildroot}" -a "%{buildroot}" != "/" ] && rm -rf %{buildroot}/*
%files
%defattr(-, root, root)
%{_prefix}/bin/squeak
%{_prefix}/lib/squeak/
%{_prefix}/share/man/man1/squeak.1.gz
%{_prefix}/share/man/man1/inisqueak.1.gz
%{_prefix}/share/doc/squeak/
%changelog
|