packages: eclipse-plugin-google/eclipse-plugin-google.spec - sdk bundles sh...

glen glen at pld-linux.org
Wed May 20 02:02:44 CEST 2009


Author: glen                         Date: Wed May 20 00:02:44 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- sdk bundles should be unpackage or they don't work
- don't provide shared lib deps

---- Files affected:
packages/eclipse-plugin-google:
   eclipse-plugin-google.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/eclipse-plugin-google/eclipse-plugin-google.spec
diff -u packages/eclipse-plugin-google/eclipse-plugin-google.spec:1.2 packages/eclipse-plugin-google/eclipse-plugin-google.spec:1.3
--- packages/eclipse-plugin-google/eclipse-plugin-google.spec:1.2	Wed May 20 01:08:25 2009
+++ packages/eclipse-plugin-google/eclipse-plugin-google.spec	Wed May 20 02:02:39 2009
@@ -9,7 +9,7 @@
 Summary:	Google Plugin for Eclipse
 Name:		eclipse-plugin-google
 Version:	%{pluginver}
-Release:	0.4
+Release:	0.7
 License:	Apache License, v2.0
 Group:		Development/Tools
 URL:		http://code.google.com/eclipse/
@@ -31,6 +31,9 @@
 
 %define		eclipsedir	%{_datadir}/eclipse
 
+# somewhy rpm-4.5 searches for ELF provides even the .so files are not executable
+%define		_noautoprovfiles	%{_datadir}/eclipse
+
 %description
 The Google Plugin for Eclipse is the fastest way to start developing
 Google Web Toolkit and App Engine applications, allowing you to go
@@ -62,6 +65,9 @@
 
 %prep
 %setup -qc
+install -d appengine gwt
+%{__unzip} -d appengine -qq %{SOURCE2}
+%{__unzip} -d gwt -qq %{SOURCE4}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -71,10 +77,10 @@
 
 # appengine sdkbundle
 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{eclipsedir}/features
-cp -a %{SOURCE2} $RPM_BUILD_ROOT%{eclipsedir}/plugins
+cp -a appengine $RPM_BUILD_ROOT%{eclipsedir}/plugins/$(basename %{SOURCE2} .jar)
 # gwt sdkbundle
 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{eclipsedir}/features
-cp -a %{SOURCE4} $RPM_BUILD_ROOT%{eclipsedir}/plugins
+cp -a gwt $RPM_BUILD_ROOT%{eclipsedir}/plugins/$(basename %{SOURCE4} .jar)
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -90,13 +96,13 @@
 %files appengine
 %defattr(644,root,root,755)
 %{eclipsedir}/features/com.google.appengine.eclipse.sdkbundle.e33.feature_*.jar
-%{eclipsedir}/plugins/com.google.appengine.eclipse.sdkbundle_*.jar
+%{eclipsedir}/plugins/com.google.appengine.eclipse.sdkbundle_*
 
 %files gwt
 %defattr(644,root,root,755)
 %{eclipsedir}/features/com.google.gwt.eclipse.sdkbundle.e33.feature_*.jar
 # XXX: ix86 mozilla inside
-%{eclipsedir}/plugins/com.google.gwt.eclipse.sdkbundle.linux_*.jar
+%{eclipsedir}/plugins/com.google.gwt.eclipse.sdkbundle.linux_*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +110,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/05/20 00:02:39  glen
+- sdk bundles should be unpackage or they don't work
+- don't provide shared lib deps
+
 Revision 1.2  2009/05/19 23:08:25  glen
 - bundle subpackages
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/eclipse-plugin-google/eclipse-plugin-google.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list