aboutsummaryrefslogtreecommitdiffstats
path: root/build-tools/java3d-rpm.spec
diff options
context:
space:
mode:
authorpaulby <[email protected]>2004-09-15 18:43:23 +0000
committerpaulby <[email protected]>2004-09-15 18:43:23 +0000
commit319802ae3fca8891b3f595bf92e5a490a641cee9 (patch)
tree447c52960f07cbed3884bf7e0dd32aa881578cd8 /build-tools/java3d-rpm.spec
parentc181472e7c9058d5137c518302e5f9e803f1a513 (diff)
Issue number:
Obtained from: Submitted by: Reviewed by: Add prototype rpm build target git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@39 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'build-tools/java3d-rpm.spec')
-rw-r--r--build-tools/java3d-rpm.spec58
1 files changed, 58 insertions, 0 deletions
diff --git a/build-tools/java3d-rpm.spec b/build-tools/java3d-rpm.spec
new file mode 100644
index 0000000..dbf2cbb
--- /dev/null
+++ b/build-tools/java3d-rpm.spec
@@ -0,0 +1,58 @@
+Summary: Java 3D @VERSION@
+Name: java3d
+Version:@VERSION@
+Release: 1
+Copyright: JDL
+Group: System Environment/Base
+BuildRoot: /var/tmp/%{name}-buildroot
+Source:java3d-@[email protected]
+Prefix:/usr/java/jdk1.5.0
+
+%description
+Java 3D @VERSION@ API
+
+%prep
+%setup -c
+
+%build
+
+%install
+mkdir -p $RPM_BUILD_ROOT%prefix/jre/lib/ext
+mkdir -p $RPM_BUILD_ROOT%prefix/jre/lib/i386
+
+#install -s -m 755 lib/ext/j3daudio.jar $RPM_BUILD_ROOT%prefix/jre/lib/ext
+install -s -m 755 lib/ext/j3dcore.jar $RPM_BUILD_ROOT%prefix/jre/lib/ext
+install -s -m 755 lib/ext/j3dutils.jar $RPM_BUILD_ROOT%prefix/jre/lib/ext
+install -s -m 755 lib/ext/vecmath.jar $RPM_BUILD_ROOT%prefix/jre/lib/ext
+#install -s -m 755 lib/i386/libj3daudio.so $RPM_BUILD_ROOT%prefix/jre/lib/i386
+install -s -m 755 lib/i386/libj3dcore-ogl.so $RPM_BUILD_ROOT%prefix/jre/lib/i386
+install -s -m 755 lib/i386/libj3dutils.so $RPM_BUILD_ROOT%prefix/jre/lib/i386
+#install -s -m 755 BINARY-CODE-LICENSE.txt $RPM_BUILD_ROOT%prefix
+
+#install -s -m 755 java3d-utils-src.jar $RPM_BUILD_ROOT%prefix/
+#install -s -m 755 java3d-demo.tar.gz $RPM_BUILD_ROOT%prefix/
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(755,root,root)
+#/usr/java/jdk1.5.0/jre/lib/ext/j3daudio.jar
+%prefix/jre/lib/ext/j3dcore.jar
+%prefix/jre/lib/ext/j3dutils.jar
+%prefix/jre/lib/ext/vecmath.jar
+#/usr/java/jdk1.5.0/jre/lib/i386/libj3daudio.so
+%prefix/jre/lib/i386/libj3dcore-ogl.so
+%prefix/jre/lib/i386/libj3dutils.so
+#/usr/java/jdk1.5.0/BINARY-CODE-LICENSE.txt
+
+#/usr/java/jdk1.5.0/java3d-utils-src.jar
+#/usr/java/jdk1.5.0/java3d-demo.tar.gz
+%defattr(755,root,root)
+
+%post
+
+%changelog
+* Wed Sep 14 2004 [email protected]
+- Create rpm package