Name: java-jogl Version: 2.0 Release: 1mamba Summary: The Java Binding for the OpenGL API Group: Development/Libraries/Java Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://jogl.dev.java.net Source: http://download.java.net/media/jogl/builds/nightly/jogl-%{version}-src.zip Source1: jogl.properties License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libGL-devel BuildRequires: libX11-devel BuildRequires: libXxf86vm-devel ## AUTOBUILDREQ-END BuildRequires: apache-ant BuildRequires: antlr BuildRequires: apache-ant-antlr BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The JOGL project hosts the development version of the Java Binding for the OpenGL API (JSR-231), and is designed to provide hardware-supported 3D graphics to applications written in Java. JOGL provides full access to the APIs in the OpenGL 2.0 specification as well as nearly all vendor extensions, and integrates with the AWT and Swing widget sets. It is part of a suite of open-source technologies initiated by the Game Technology Group at Sun Microsystems. %prep %setup -q -c jogl-%{version} install %{SOURCE1} nativewindow.properties install %{SOURCE1} gluegen.properties %build cd jogl/make ant -Duser.home=../.. %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" cd jogl/build install -d -m0755 %{buildroot}%{_javadir} cp jogl/*.jar %{buildroot}%{_javadir}/ install -d -m0755 %{buildroot}%{_libdir} cp jogl/obj/*.so %{buildroot}%{_libdir} ln -s jogl.all.jar %{buildroot}%{_javadir}/jogl.jar %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_javadir}/jogl*.jar %{_libdir}/libjogl*.so %doc jogl/LICENSE.txt jogl/README.txt %changelog * Mon Jul 13 2009 Silvan Calarco src-1mamba - package created by autospec