]> git.pld-linux.org Git - packages/eclipse-plugin-google.git/commitdiff
- sdk bundles should be unpackage or they don't work
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 20 May 2009 00:02:39 +0000 (00:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't provide shared lib deps

Changed files:
    eclipse-plugin-google.spec -> 1.3

eclipse-plugin-google.spec

index e0cd07519a775d1ce0be1979660c62dc821768fa..b6a722d580a3abf3d5f755078490e90210ef5f9f 100644 (file)
@@ -8,7 +8,7 @@
 Summary:       Google Plugin for Eclipse
 Name:          eclipse-plugin-google
 Version:       %{pluginver}
 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/
 License:       Apache License, v2.0
 Group:         Development/Tools
 URL:           http://code.google.com/eclipse/
@@ -30,6 +30,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                eclipsedir      %{_datadir}/eclipse
 
 
 %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
 %description
 The Google Plugin for Eclipse is the fastest way to start developing
 Google Web Toolkit and App Engine applications, allowing you to go
@@ -61,6 +64,9 @@ Google Web Toolkit SDK Bundle for Eclipse.
 
 %prep
 %setup -qc
 
 %prep
 %setup -qc
+install -d appengine gwt
+%{__unzip} -d appengine -qq %{SOURCE2}
+%{__unzip} -d gwt -qq %{SOURCE4}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -70,10 +76,10 @@ cp -a plugins/* $RPM_BUILD_ROOT%{eclipsedir}/plugins
 
 # appengine sdkbundle
 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{eclipsedir}/features
 
 # 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
 # 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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,10 +95,10 @@ rm -rf $RPM_BUILD_ROOT
 %files appengine
 %defattr(644,root,root,755)
 %{eclipsedir}/features/com.google.appengine.eclipse.sdkbundle.e33.feature_*.jar
 %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
 
 %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_*
This page took 0.075096 seconds and 4 git commands to generate.