Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/0.84/platform/squeak-vm/SPECS/squeak-vm.spec
diff options
context:
space:
mode:
Diffstat (limited to '0.84/platform/squeak-vm/SPECS/squeak-vm.spec')
-rw-r--r--0.84/platform/squeak-vm/SPECS/squeak-vm.spec112
1 files changed, 64 insertions, 48 deletions
diff --git a/0.84/platform/squeak-vm/SPECS/squeak-vm.spec b/0.84/platform/squeak-vm/SPECS/squeak-vm.spec
index b1e62d0..ee6f669 100644
--- a/0.84/platform/squeak-vm/SPECS/squeak-vm.spec
+++ b/0.84/platform/squeak-vm/SPECS/squeak-vm.spec
@@ -1,62 +1,78 @@
-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
+# NOTE: Do not edit, file was generated by jhconvert
+
+Name: squeak-vm
+Version: 3.10.3
+Release: 7
+Summary: Sugar specific branch of Squeak
+License: Free with restrictions (http://www.squeak.org/download/license.html)
+Group: Development/Other
+Url: http://squeakvm.org/svn/squeak/branches/olpc/
+
+# svn export -r1969 http://squeakvm.org/svn/squeak/branches/olpc olpc
+Source: squeak-vm-3.10.3-20090219.tar.bz2
+
+Patch: squeak-vm-3.10.3-sugar-squeak-exclude-plugins.patch
+Patch1: squeak-vm-3.10.3-sugar-squeak-makefile.patch
+
+BuildRequires: alsa-devel
+BuildRequires: dbus-1-devel
+BuildRequires: freetype2-devel
+BuildRequires: gstreamer-devel >= 0.10
+BuildRequires: xorg-x11-libX11-devel
+BuildRequires: xorg-x11-libXext-devel
+BuildRequires: xorg-x11-libXrender-devel
+BuildRequires: xorg-x11-libXt-devel
+BuildRequires: libogg-devel
+BuildRequires: pango-devel
+BuildRequires: pkgconfig
+BuildRequires: libuuid-devel
+BuildRequires: fdupes
+
+ExcludeArch: x86_64
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%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.
+Smalltalk-80 system. Squeak has very powerful 2- and 3-D graphics, sound,
+video, MIDI, animation and other multimedia capabilities -- and one of the
+most impressive development environments ever created. It also includes a
+customisable framework for creating dynamic HTTP servers and interactively
+extensible Web sites. The entire Squeak system is open source software,
+distributed freely with a liberal license. See <http://Squeak.org>; for
+further information.
%prep
-%setup -q
+%setup -q -n olpc
+%patch -p1
+%patch1 -p1
%build
-./autogen.sh
-#mkdir bld
-cd bld
-CPPFLAGS=-DSUGAR ../platforms/unix/config/configure --without-gl --prefix=%{_prefix}
-%__make %{?jobs:-j%jobs}
+ln -s autogen.sh configure
+%configure \
+ --disable-rpath \
+ --without-rfb \
+ --without-npsqueak \
+ --without-quartz \
+ --without-gl
+make
%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
+rm -rf %{buildroot}
+make \
+ install \
+ ROOT=%{buildroot}
+%fdupes -s %{buildroot}
%clean
-[ -n "%{buildroot}" -a "%{buildroot}" != "/" ] && rm -rf %{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 \ No newline at end of file
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_libdir}/squeak
+%{_mandir}/man1/*
+%{_datadir}/doc/squeak
+
+%changelog
+