17c61721f8ad9937dd35b071cab51b0e821ddd25
[packages/eclipse-pydev.git] / eclipse-pydev.spec
1 %define         module  pydev
2 %define         _ver    1.2.5
3 %define         _src_name       org.python.pydev.feature
4 %define         _src_ver        %(echo %{_ver}|tr . _)
5 Summary:        Python development environment for Eclipse
6 Summary(pl.UTF-8):   Środowisko programistyczne Pythona dla Eclipse
7 Name:           eclipse-%{module}
8 Version:        %{_ver}
9 Release:        1
10 License:        CPL
11 Group:          Development/Tools
12 Source0:        http://dl.sourceforge.net/pydev/%{_src_name}-%{_src_ver}.zip
13 # Source0-md5:  e2ca769825fa133dfc34c2a13bf1c06a
14 URL:            http://pydev.sourceforge.net/
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  unzip
17 Requires:       eclipse >= 3.2
18 Requires:       python
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define _eclipsedir     %{_datadir}/eclipse
23
24 %description
25 PyDev is a plugin for Eclipse for editing, running and debugging 
26 Python scripts.
27
28 %description -l pl.UTF-8
29 PyDev jest wtyczką dla Eclipse służącą do edycji, uruchamiania
30 i odpluskwiania skryptów Pythona.
31
32 %prep
33 %setup -q -c -T
34 unzip -qq %{SOURCE0} -x *.db
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
39 cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
40 cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %{_eclipsedir}/features/org.python.pydev*
48 %{_eclipsedir}/plugins/org.python.pydev*
49
50 %triggerpostun -- %{name} < 0.9.5-0.3
51 %banner %{name} -e << EOF
52 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
53 !!!                                                                !!!
54 !!! WARNING!!!                                                     !!!
55 !!!                                                                !!!
56 !!! An user manual intervention is required after eclipse-pydev    !!!
57 !!! instalation. To get this plugin working you have to add        !!!
58 !!! /usr/share/eclipse directory as Extension Location. Click      !!!
59 !!! from eclipse menu Help->Software Updates->Manage Configuration !!!
60 !!! ->Add an Extension Location and choose /usr/share/eclipse .    !!!
61 !!!                                                                !!!
62 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
63 EOF
This page took 0.121622 seconds and 2 git commands to generate.