]> git.pld-linux.org Git - packages/eclipse-pydev.git/blob - eclipse-pydev.spec
6ff49492c8be661c3fc7732ce1211a05c2e89861
[packages/eclipse-pydev.git] / eclipse-pydev.spec
1 %define         module  pydev
2 %define         _ver    0.9.7
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}
7 Version:        %{_ver}
8 Release:        1
9 License:        CPL
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/
14 BuildRequires:  unzip
15 Requires:       eclipse >= 3.1
16 Requires:       python
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define _eclipsedir     %{_datadir}/eclipse
21
22 %description
23 PyDev is a plugin for Eclipse for editing, running and debugging 
24 Python scripts.
25
26 %description -l pl
27 PyDev jest wtyczk± dla Eclipse s³u¿±c± do edycji, uruchamiania
28 i odpluskwiania skryptów Pythona.
29
30 %prep
31 %setup -q -c -T
32 unzip -qq %{SOURCE0} -x *.db
33
34 %install
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
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %{_eclipsedir}/features/org.python.pydev*
46 %{_eclipsedir}/plugins/org.python.pydev*
47
48 %triggerpostun -- %{name} > 0.9.5-0.3
49 %banner %{name} -e << EOF
50 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
51 !!!                                                                !!!
52 !!! WARNING!!!                                                     !!!
53 !!!                                                                !!!
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 .    !!!
59 !!!                                                                !!!
60 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
61 EOF
This page took 0.04812 seconds and 2 git commands to generate.