Further munging of bundle directories in swt files section.

This commit is contained in:
Andrew Overholt 2005-06-22 18:21:29 +00:00
parent b37243be0e
commit d60723efbb

View File

@ -699,6 +699,13 @@ for l in `find configuration -name \*.so`; do
# Add this directory to the files list for libswt
echo $currentDir | gawk -F '/' '{ print "/"$5"/"$6"/"$7"/"$8"/"$9"/"$10"/"$11 }' > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
popd
else
pushd `dirname $l`;
cd ../..;
currentDir=`pwd`;
# Add this directory to the files list for libswt
echo $currentDir | gawk -F '/' '{ print "/"$5"/"$6"/"$7"/"$8"/"$9"/"$10"/"$11 }' > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
popd
fi
done
popd
@ -763,7 +770,7 @@ install -p -D -m0644 %{SOURCE2} \
cat %{SOURCE7} > %{name}-jdt.install
cat %{SOURCE8} > %{name}-pde.install
cat %{SOURCE9} > %{name}-platform.install
cat %{SOURCE9} >> %{name}-platform.install
cat %{SOURCE10} >> %{libname}-gtk2.install
cat >> $RPM_BUILD_ROOT%{_datadir}/%{name}/.eclipseproduct << EOF
@ -1109,7 +1116,13 @@ fi
%{_libdir}/%{name}/eclipse
%{_libdir}/%{name}/libcore*
%{_libdir}/%{name}/libupdate*
%{_datadir}/%{name}/configuration
%dir %{_datadir}/%{name}/configuration
%dir %{_datadir}/%{name}/configuration/org.eclipse.osgi
%dir %{_datadir}/%{name}/configuration/org.eclipse.osgi/bundles
# all extracted bundles other than SWT will be in eclipse-platform.install
%{_datadir}/%{name}/configuration/config.ini
%{_datadir}/%{name}/configuration/org.eclipse.core.runtime
%{_datadir}/%{name}/configuration/org.eclipse.update
%{_datadir}/%{name}/eclipse
%{_bindir}/eclipse
%{_datadir}/applications/*