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: 963197aa44aa44e8c376546ff15b1a74
13 URL: http://pydev.sourceforge.net/
15 Requires: eclipse >= 3.1
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _eclipsedir %{_datadir}/eclipse
23 PyDev is a plugin for Eclipse for editing, running and debugging
27 PyDev jest wtyczk± dla Eclipse s³u¿±c± do edycji, uruchamiania
28 i odpluskwiania skryptów Pythona.
32 unzip -qq %{SOURCE0} -x *.db
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
37 cp -rf features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
38 cp -rf plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %{_eclipsedir}/features/org.python.pydev*
46 %{_eclipsedir}/plugins/org.python.pydev*
48 %triggerpostun -- %{name} > 0.9.5-0.3
49 %banner %{name} -e << EOF
50 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
54 !!! An user manual intervention is required after eclipse-pydev !!!
55 !!! instalation. To get this plugin working you have to add !!!
56 !!! /usr/share/eclipse directory as Extension Location. Click !!!
57 !!! from eclipse menu Help->Software Updates->Manage Configuration !!!
58 !!! ->Add an Extension Location and choose /usr/share/eclipse . !!!
60 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!