- noarch: files moved to /usr/share/eclipse -> req eclipse >= 3.1-2
authortwittner <twittner@pld-linux.org>
Sun, 3 Jul 2005 20:59:24 +0000 (20:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel. 0.2

Changed files:
    eclipse-pydev.spec -> 1.8

eclipse-pydev.spec

index a268b19..ff29abb 100644 (file)
@@ -5,17 +5,20 @@ Summary:      Python development environment for Eclipse
 Summary(pl):   ¬¶rodowisko programistyczne Pythona dla Eclipse
 Name:          eclipse-%{module}
 Version:       %{_ver}
-Release:       0.1
+Release:       0.2
 License:       CPL
 Group:         Development/Tools
 Source0:       http://dl.sourceforge.net/pydev/%{module}_%{_src_ver}.zip
 # Source0-md5: b5bac4248f33ada1d8dc05db4f06a3b2
 URL:           http://pydev.sourceforge.net/
 BuildRequires: unzip
-Requires:      eclipse >= 3.0
+Requires:      eclipse >= 3.1-2
 Requires:      python
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define        _eclipsedir     %{_datadir}/eclipse
+
 %description
 PyDev is a plugin for Eclipse for editing, running and debugging 
 Python scripts.
@@ -30,14 +33,29 @@ unzip -qq %{SOURCE0} -x *.db
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/eclipse/{features,plugins}
-cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_libdir}/eclipse/features
-cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins
+install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
+cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
+cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_libdir}/eclipse/features/org.python.pydev*
-%{_libdir}/eclipse/plugins/org.python.pydev*
+%{_eclipsedir}/features/org.python.pydev*
+%{_eclipsedir}/plugins/org.python.pydev*
+
+%triggerpostun -- %{name} <= 0.9.5-0.1
+%banner %{name}-0.9.5-0.2 << EOF
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!!!                                                                !!!
+!!! WARNING!!!                                                     !!!
+!!!                                                                !!!
+!!! An user manual intervention is required after eclipse-pydev    !!!
+!!! instalation. To get this plugin working you have to add        !!!
+!!! /usr/share/eclipse directory as Extension Location. Click      !!!
+!!! from eclipse menu Help->Software Updates->Manage Configuration !!!
+!!! ->Add an Extension Location and choose /usr/share/eclipse .    !!!
+!!!                                                                !!!
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+EOF
This page took 0.045091 seconds and 4 git commands to generate.