3 %define _src_ver %(echo %{_ver}|tr . _)
4 Summary: Python development environment for Eclipse
5 Summary(pl): ¦rodowisko programistyczne Pythona dla Eclipse
6 Name: eclipse-%{module}
10 Group: Development/Tools
11 Source0: http://dl.sourceforge.net/pydev/%{module}_%{_src_ver}.zip
12 # Source0-md5: b5bac4248f33ada1d8dc05db4f06a3b2
13 URL: http://pydev.sourceforge.net/
15 Requires: eclipse >= 3.0
16 Requires: eclipse < 3.1-1
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _eclipsedir %{_datadir}/eclipse
24 PyDev is a plugin for Eclipse for editing, running and debugging
28 PyDev jest wtyczk± dla Eclipse s³u¿±c± do edycji, uruchamiania
29 i odpluskwiania skryptów Pythona.
33 unzip -qq %{SOURCE0} -x *.db
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_libdir}/eclipse/{features,plugins}
38 cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_libdir}/eclipse/features
39 cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins
42 #install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
43 #cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
44 #cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{_libdir}/eclipse/features/org.python.pydev*
53 %{_libdir}/eclipse/plugins/org.python.pydev*
55 #%{_eclipsedir}/features/org.python.pydev*
56 #%{_eclipsedir}/plugins/org.python.pydev*
58 %triggerpostun -- %{name} > 0.9.5-0.3
59 %banner %{name} -e << EOF
60 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
64 !!! An user manual intervention is required after eclipse-pydev !!!
65 !!! instalation. To get this plugin working you have to add !!!
66 !!! /usr/share/eclipse directory as Extension Location. Click !!!
67 !!! from eclipse menu Help->Software Updates->Manage Configuration !!!
68 !!! ->Add an Extension Location and choose /usr/share/eclipse . !!!
70 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!