%global tardate 20090922 Name: vecmath Version: 0 Release: 2.%{tardate}cvs%{?dist} Summary: The 3D vector math Java package, javax.vecmath Group: Development/Libraries # License is GNU General Public License, version 2, with the Classpath Exception License: GPLv2 with exceptions URL: https://vecmath.dev.java.net/ ## Source pulled from upstream CVS. # https://vecmath.dev.java.net/servlets/ProjectSource ## Tarball created with ## (you need to create a username) # cvs -d :pserver:username@cvs.dev.java.net:/cvs login # cvs -d :pserver:username@cvs.dev.java.net:/cvs checkout vecmath # tar cf vecmath-%{tardate}.tar vecmath # xz vecmath-%{tardate}.tar Source0: %{name}-%{tardate}.tar.bz2 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: ant BuildRequires: java-devel >= 1:1.6.0 BuildRequires: jpackage-utils Requires: java >= 1:1.6.0 Requires: jpackage-utils %description The 3D vector math Java package, javax.vecmath. %prep %setup -q -n %{name} find -name '*.class' -exec rm -f '{}' \; find -name '*.jar' -exec rm -f '{}' \; %build ant %install rm -rf %{buildroot} install -D -p -m 644 build/debug/lib/ext/vecmath.jar %{buildroot}%{_javadir}/vecmath.jar %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc docs/api-changes* LICENSE.txt LICENSE-SPEC.html %{_javadir}/vecmath.jar %changelog * Mon Sep 28 2009 Jussi Lehtola - 0-2.20090922cvs - Minor review fixes. * Tue Sep 22 2009 Jussi Lehtola - 0-1.20090922cvs - First release.