packages java-vecmath1.2.spec
      Pages: < 1 >  DOWNLOAD      
Name:          java-vecmath1.2
Version:       1.14
Release:       2mamba
Summary:       Free version of vecmath from the Java3D 1.2 specification
Group:         System/Libraries/Java
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
Patch0:        java-vecmath1.2-1.14-makefile_unix.patch
License:       MIT
BuildRequires: apache-ant
BuildRequires: jpackage-utils
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

This is unofficial implementation(java source code) of the javax.vecmath package specified in the Java(TM)
3D API 1.2 . The package includes classes for 3-space vector/point, 4-space vector, 4x4, 3x3 matrix, quaternion,
axis-angle combination and etc. which are often utilized for computer graphics mathematics. Most of the
classes have single and double precision versions. Generic matrices' LU and SV decomposition are also there.

This is Free software, provided AS IS, with NO WARRANTY. Bug reports, comments are welcome.

Note that this implementation corresponds to Java3D 1.2 specification. My implementation has full
specification implemented and has full source code

%package javadoc
Group:          Documentation
Summary:        Javadoc for %{name}

%description javadoc
Free version of vecmath from the Java3D 1.2 specification.

This package contains javadoc for %{name}.


%setup -q -n vecmath1.2-%{version}
%patch0 -p0

export CLASSDIR=/usr/lib/jvm/jre-sun/lib/rt.jar
make -f Makefile.unix all docs
pushd classes
	jar cf ../vecmath1.2-%{version}.jar .
#c -d docs javax.vecmath
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

mkdir -p %{buildroot}%{_javadir}

install -m 644 vecmath1.2-%{version}.jar \
ln -s vecmath1.2-%{version}.jar %{buildroot}%{_javadir}/vecmath1.2.jar
ln -s vecmath1.2-%{version}.jar %{buildroot}%{_javadir}/vecmath.jar

mkdir -p %{buildroot}%{_javadocdir}/vecmath1.2-%{version}
cp -r docs/* %{buildroot}%{_javadocdir}/vecmath1.2-%{version}
ln -s vecmath1.2-%{version} %{buildroot}%{_javadocdir}/vecmath1.2

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"


%files javadoc

* Sat Dec 04 2010 gil <puntogil@...> 1.14-2mamba
- rebuilt devel

* Fri Apr 17 2009 gil <puntogil@...> 1.14-1mamba
- package created by autospec