rpms/vecmath1.2/devel vecmath1.2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Oct 17 19:53:10 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/vecmath1.2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9139/devel

Modified Files:
	.cvsignore sources 
Added Files:
	vecmath1.2.spec 
Log Message:
initial vecmath1.2 import



--- NEW FILE vecmath1.2.spec ---
Name:           vecmath1.2
Version:        1.14
Release:        1%{?dist}
Summary:        Free version of vecmath from the Java3D 1.2 specification
Group:          System Environment/Libraries
License:        MIT
URL:            http://www.objectclub.jp/download/vecmath_e
Source0:        http://www.objectclub.jp/download/files/vecmath//%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  java-javadoc java-gcj-compat-devel

%description
This is an 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.


%package javadoc
Group:          Development/Libraries
Summary:        Javadoc for %{name}

%description javadoc
Javadoc for %{name}.


%prep
%setup -q


%build
make -f Makefile.unix all docs
pushd classes
jar cf ../%{name}-%{version}.jar .
popd


%install
rm -rf $RPM_BUILD_ROOT

# dirs
mkdir -p $RPM_BUILD_ROOT%{_javadir}
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/

# jar
install -m 644 %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/vecmath.jar

# javadoc
cp -r docs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}

# gcj
%{_bindir}/aot-compile-rpm


%clean
rm -rf $RPM_BUILD_ROOT


%post
if [ -x %{_bindir}/rebuild-gcj-db ]; then
  %{_bindir}/rebuild-gcj-db
fi

%postun
if [ -x %{_bindir}/rebuild-gcj-db ]; then
  %{_bindir}/rebuild-gcj-db
fi

%post javadoc
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}


%files
%defattr(-,root,root,-)
%doc README CHANGES
%{_javadir}/vecmath*
%{_libdir}/gcj/%{name}

%files javadoc
%defattr(-,root,root,-)
%doc %{_javadocdir}/%{name}-%{version}
%ghost %doc %{_javadocdir}/%{name}


%changelog
* Sat Sep  8 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.14-1
- Initial Fedora package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/vecmath1.2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Oct 2007 22:20:46 -0000	1.1
+++ .cvsignore	17 Oct 2007 19:52:38 -0000	1.2
@@ -0,0 +1 @@
+vecmath1.2-1.14.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/vecmath1.2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Oct 2007 22:20:46 -0000	1.1
+++ sources	17 Oct 2007 19:52:38 -0000	1.2
@@ -0,0 +1 @@
+79ecb7c11712816d767fc36ec692a2e7  vecmath1.2-1.14.tar.gz




More information about the fedora-extras-commits mailing list