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