Name: jamvm Version: 1.5.4 Release: 2mamba Summary: A Java Virtual Machine which conforms to the JVM specification version 2 Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://jamvm.sourceforge.net/ Source: http://kent.dl.sourceforge.net/sourceforge/jamvm/jamvm-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END Requires: classpath BuildRoot: %{_tmppath}/%{name}-%{version}-root %description JamVM is a new Java Virtual Machine conforming to the JVM specification edition 2 (blue book). It is extremely small - stripped on PowerPC ~110K, Intel 80K. However, unlike other small VMs it supports the full spec, inc. object finalisation and JNI. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel JamVM is a new Java Virtual Machine conforming to the JVM specification edition 2 (blue book). It is extremely small - stripped on PowerPC ~110K, Intel 80K. However, unlike other small VMs it supports the full spec, inc. object finalisation and JNI. This package contains static libraries and header files need for development. %prep %setup -q %build # Don't pass -fomit-frame-pointer, see: # http://www.nabble.com/Javavm-segmentation-fault-td4490648.html CC="%{__cc}" \ ./configure \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --libdir=%{_libdir} \ --with-classpath-install-dir=%{_prefix} # NOTE: using standard configure with CFLAGS causes jamvm to segfault # CPPFLAGS='' \ # CXXFLAGS='' \ # FFLAGS='' \ %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/jamvm %{_libdir}/libjvm.so.* %{_libdir}/rt.jar %{_datadir}/jamvm/classes.zip %doc AUTHORS COPYING ChangeLog NEWS README %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libjvm.la %{_libdir}/libjvm.so %changelog * Wed Jul 14 2010 Silvan Calarco 1.5.4-2mamba - don't use configure macro to avoid passing default CFLAGS, which causes jamvm to segfault * Sat May 08 2010 Automatic Build System 1.5.4-1mamba - automatic update by autodist * Wed Jul 01 2009 Automatic Build System 1.5.3-1mamba - automatic update by autodist * Thu Feb 19 2009 Silvan Calarco 1.5.2-1mamba - automatic update by autodist * Tue Jul 08 2008 Silvan Calarco 1.5.1-1mamba - package created by autospec