- make PDE depend upon JDT
- move precompiled db to %{_libdir}/eclipse - modify launching script to use compiled .sos - rename compiled .sos to be .jar.so instead of .so - for now, do dbtool adding in platform install
This commit is contained in:
parent
9c95637a54
commit
b1d3637915
26
eclipse.spec
26
eclipse.spec
@ -55,7 +55,7 @@ ExclusiveArch: i386 ppc
|
|||||||
Summary: %{pkg_summary}
|
Summary: %{pkg_summary}
|
||||||
Name: eclipse
|
Name: eclipse
|
||||||
Version: %{eclipse_majmin}
|
Version: %{eclipse_majmin}
|
||||||
Release: 0.%{eclipse_milestone}.9
|
Release: 0.%{eclipse_milestone}.10
|
||||||
License: CPL
|
License: CPL
|
||||||
Group: Text Editors/Integrated Development Environments (IDE)
|
Group: Text Editors/Integrated Development Environments (IDE)
|
||||||
URL: http://www.eclipse.org/
|
URL: http://www.eclipse.org/
|
||||||
@ -176,8 +176,7 @@ Summary: Eclipse PDE
|
|||||||
Group: Text Editors/Integrated Development Environments (IDE)
|
Group: Text Editors/Integrated Development Environments (IDE)
|
||||||
Requires: %{name}-ui = %{version}-%{release}
|
Requires: %{name}-ui = %{version}-%{release}
|
||||||
Requires: %{name}-source = %{version}-%{release}
|
Requires: %{name}-source = %{version}-%{release}
|
||||||
# FIXME: Should PDE require JDT?
|
Requires: %{name}-jdt = %{version}-%{release}
|
||||||
#Requires: %{name}-jdt = %{version}-%{release}
|
|
||||||
|
|
||||||
%description pde
|
%description pde
|
||||||
Eclipse PDE.
|
Eclipse PDE.
|
||||||
@ -589,10 +588,10 @@ mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
|
|||||||
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
|
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
|
||||||
|
|
||||||
# Native build
|
# Native build
|
||||||
gcj-dbtool4 -n $RPM_BUILD_ROOT%{_datadir}/%{name}/.eclipse.db 80000
|
gcj-dbtool4 -n $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipse.db 80000
|
||||||
for j in `find $RPM_BUILD_ROOT%{_datadir}/%{name} -name \*.jar`; do
|
for j in `find $RPM_BUILD_ROOT%{_datadir}/%{name} -name \*.jar`; do
|
||||||
gcj4 -fPIC -fjni -findirect-dispatch -shared \
|
gcj4 -fPIC -fjni -findirect-dispatch -shared \
|
||||||
-o $RPM_BUILD_ROOT%{_libdir}/%{name}/`basename $j .jar`.so $j;
|
-o $RPM_BUILD_ROOT%{_libdir}/%{name}/`basename $j`.so $j;
|
||||||
done
|
done
|
||||||
|
|
||||||
# FIXME until libgcj contains gnujaxp (libgcj PR 19301)
|
# FIXME until libgcj contains gnujaxp (libgcj PR 19301)
|
||||||
@ -606,7 +605,7 @@ gcj4 -fPIC -fjni -findirect-dispatch -shared \
|
|||||||
-o $RPM_BUILD_ROOT%{_libdir}/%{name}/xerces-j2-2.6.2.so \
|
-o $RPM_BUILD_ROOT%{_libdir}/%{name}/xerces-j2-2.6.2.so \
|
||||||
%{_datadir}/java/xerces-j2-2.6.2.jar
|
%{_datadir}/java/xerces-j2-2.6.2.jar
|
||||||
|
|
||||||
# Copy jdtcore.jar to %{_datadir}/java
|
# Copy jdtcore.jar to %{_datadir}/java for eclipse-ecj
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/java
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/java
|
||||||
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}/jdtcore.jar \
|
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}/jdtcore.jar \
|
||||||
$RPM_BUILD_ROOT%{_datadir}/java/jdtcore.jar
|
$RPM_BUILD_ROOT%{_datadir}/java/jdtcore.jar
|
||||||
@ -616,10 +615,12 @@ ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclip
|
|||||||
#rm ecj-bootstrap.jar
|
#rm ecj-bootstrap.jar
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post -n platform
|
||||||
|
# FIXME: we will need to put the proper .sos in the proper sub-packages' %post
|
||||||
|
# sections
|
||||||
for j in `find %{_datadir}/%{name} -name \*.jar`; do
|
for j in `find %{_datadir}/%{name} -name \*.jar`; do
|
||||||
gcj-dbtool4 -a %{_datadir}/%{name}/.eclipse.db \
|
gcj-dbtool4 -a %{_libdir}/%{name}/.eclipse.db \
|
||||||
$j %{_libdir}/%{name}/`basename $j .jar`.so;
|
$j %{_libdir}/%{name}/`basename $j`.so;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
@ -676,6 +677,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 14 2005 Andrew Overholt <overholt@redhat.com> 3.1-0.M4.10
|
||||||
|
- make PDE depend upon JDT
|
||||||
|
- move precompiled db to %{_libdir}/eclipse
|
||||||
|
- modify launching script to use compiled .sos
|
||||||
|
- rename compiled .sos to be .jar.so instead of .so
|
||||||
|
- for now, do dbtool adding in platform install
|
||||||
|
|
||||||
* Wed Jan 12 2005 Andrew Overholt <overholt@redhat.com> 3.1-0.M4.9
|
* Wed Jan 12 2005 Andrew Overholt <overholt@redhat.com> 3.1-0.M4.9
|
||||||
- add ppc
|
- add ppc
|
||||||
- add launcher and swt patches
|
- add launcher and swt patches
|
||||||
|
Loading…
Reference in New Issue
Block a user