SPECS: eclipse.spec - build and install some libs
arekm
arekm at pld-linux.org
Sat Apr 22 01:28:33 CEST 2006
Author: arekm Date: Fri Apr 21 23:28:33 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- build and install some libs
---- Files affected:
SPECS:
eclipse.spec (1.57 -> 1.58)
---- Diffs:
================================================================
Index: SPECS/eclipse.spec
diff -u SPECS/eclipse.spec:1.57 SPECS/eclipse.spec:1.58
--- SPECS/eclipse.spec:1.57 Sat Apr 22 01:13:49 2006
+++ SPECS/eclipse.spec Sat Apr 22 01:28:28 2006
@@ -61,14 +61,12 @@
export JAVA_INC="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
-#%{__make} -C plugins/org.eclipse.core.filesystem/natives/unix/linux/ \
-# CFLAGS="%{rpmcflags} $JAVA_INC" \
-# LDFLAGS="%{rpmldflags}"
-#mv plugins/org.eclipse.core.filesystem/natives/unix/linux/{src/lib*.so,os/linux/%{_eclipse_arch}}
+%{__make} -C plugins/org.eclipse.core.filesystem/natives/unix/linux/ \
+ CFLAGS="%{rpmcflags} $JAVA_INC" \
+ LDFLAGS="%{rpmldflags}"
cd plugins/org.eclipse.update.core.linux/src
%{__cc} %{rpmcflags} -fPIC %{rpmldflags} -I. $JAVA_INC update.c -o libupdate.so -shared
-mv libupdate.so ../os/linux/%{_eclipse_arch}
cd -
%install
@@ -83,6 +81,9 @@
tar xfz result/linux-gtk-%{_eclipse_arch}-sdk.tar.gz -C $RPM_BUILD_ROOT%{_libdir}
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install plugins/org.eclipse.core.filesystem/natives/unix/linux/lib*.so $RPM_BUILD_ROOT%{_libdir}/%{name}
+install plugins/org.eclipse.update.core.linux/src/lib*.so $RPM_BUILD_ROOT%{_libdir}/%{name}
+
cp -a baseLocation/plugins/* $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
#wrapper
@@ -250,6 +251,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.58 2006/04/21 23:28:28 arekm
+- build and install some libs
+
Revision 1.57 2006/04/21 23:13:49 arekm
- include com.* classes
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/eclipse.spec?r1=1.57&r2=1.58&f=u
More information about the pld-cvs-commit
mailing list