jdkgcj-vl.spec 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. %define gcjver 3.2.3
  2. Name: jdkgcj
  3. Version: 0.2.3
  4. Release: 8vl1
  5. Summary: A free Java SDK
  6. Summary(ja): ¥Õ¥ê¡¼ Java SDK
  7. URL: http://www.arklinux.org/projects/jdkgcj
  8. Source: javac
  9. Source1: java
  10. Source2: jni.h
  11. License: GPL
  12. Group: Development/Languages
  13. Prefix: %{_prefix}
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. Requires: gcc-java = %{gcjver}
  16. Requires: libgcj = %{gcjver}
  17. BuildRequires: gcc-java = %{gcjver}
  18. %description
  19. jdkgcj provides an interface to gcj that is compatible with the Sun and IBM
  20. Java Development Kits (JDKs).
  21. jdkgcj provides the javac, java and javah tools as well as jni.h, allowing
  22. you to compile java extensions using JNI.
  23. %prep
  24. %build
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_includedir}
  28. ln -s gcjh $RPM_BUILD_ROOT%{_bindir}/javah
  29. install -c -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
  30. install -c -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
  31. ln -s %{_libdir}/gcc-lib/%{_arch}-*/%{gcjver}/include/java $RPM_BUILD_ROOT%{_includedir}
  32. ln -s %{_libdir}/gcc-lib/%{_arch}-*/%{gcjver}/include/javax $RPM_BUILD_ROOT%{_includedir}
  33. ln -s %{_libdir}/gcc-lib/%{_arch}-*/%{gcjver}/include/jvmpi.h $RPM_BUILD_ROOT%{_includedir}
  34. install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}
  35. %files
  36. %defattr(-,root,root)
  37. %{_bindir}/*
  38. %{_includedir}/*
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}
  41. %changelog
  42. * Tue May 13 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.4-8vl1
  43. - merged with rawhide 0.2.4-8
  44. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.4-3vl0
  45. - built for Vine Linux
  46. - change gcc-java and libgcj version to 3.2.2
  47. * Wed Dec 4 2002 Jakub Jelinek <jakub@redhat.com> 0.2.4-3
  48. - require exact gcc-java and libgcj versions, this time 3.2.1 (#78885)
  49. * Wed Nov 7 2002 Nalin Dahyabhai <nalin@redhat.com> 0.2.3-2
  50. - Rebuild
  51. * Mon Jul 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2.3-1
  52. - Adapt to gcc 3.2 (#69948)
  53. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  54. - automated rebuild
  55. * Thu Jun 13 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2.2-1
  56. - Handle weirdo options like "-D ."
  57. * Wed Jun 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2.1-1
  58. - Fix passing of parameters containing spaces or quotes to java
  59. applications.
  60. * Fri May 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2.0-1
  61. - Replace the java->gij symlink with a script that translates
  62. java options to gij options (allowing stuff like
  63. java -classpath "/foo" -Djava.library.path=/bar some/sub/class
  64. to work)
  65. * Fri May 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.1.1-1
  66. - Fix up default location of gcj jar file
  67. * Fri May 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.1.0-1
  68. - Fix up -d support in javac. It must handle multiple classes per file.
  69. * Fri May 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.0.2-1
  70. - Add support for -d in javac
  71. * Fri May 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.0.1-1
  72. - initial RPM