- updated to 2.0.2.
[packages/eclipse-plugin-cdt.git] / eclipse-plugin-cdt.spec
1 Summary:        CDT - a set of plugins for Eclipse that implement a C/C++ IDE
2 Summary(pl):    CDT - zestaw wtyczek do ¶rodowiska Eclipse implementuj±cy IDE C/C++
3 Name:           eclipse-plugin-cdt
4 %define         _ver_major      2.0
5 %define         _ver_minor      2
6 Version:        %{_ver_major}.%{_ver_minor}
7 Release:        1
8 License:        CPL v0.5
9 Group:          Development/Languages
10 Source0:        http://download.eclipse.org/tools/cdt/releases/new/zips/org.eclipse.cdt-%{version}-linux.x86.zip
11 # Source0-md5:  c6e3c5f74fddae54a8ff242b42de4ade
12 # Source0-size: 8486704
13 URL:            http://www.eclipse.org/cdt/
14 Requires:       eclipse >= 3.0
15 ExclusiveArch:  %{ix86} ppc
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _eclipsedir  %{_datadir}/eclipse
19
20 %description
21 The CDT project adds a C/C++ Perspective to the Eclipse Workbench that
22 supports C/C++ development with a number of views, wizards, a powerful
23 editor, and a debugger.
24
25 %description -l pl
26 Projekt CDT rozszerza zintegrowane ¶rodowisko programistyczne Eclipse
27 o nowe elementy wspomagaj±ce tworzenie aplikacji w jêzykach C i C++.
28
29 %prep
30 %setup -q -c
31
32 %build
33 %ifarch %{ix86}
34 rm -r eclipse/plugins/org.eclipse.cdt.core.linux_%{_ver_major}.%{_ver_minor}/os/linux/ppc
35 %endif
36 %ifarch ppc
37 rm -r eclipse/plugins/org.eclipse.cdt.core.linux_%{_ver_major}.%{_ver_minor}/os/linux/x86
38 %endif
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
43
44 cp -r * $RPM_BUILD_ROOT%{_datadir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{_eclipsedir}/features/*
52 %{_eclipsedir}/plugins/*
This page took 0.043832 seconds and 4 git commands to generate.