- initial release.
[packages/eclipse-plugin-cdt.git] / eclipse-plugin-cdt.spec
CommitLineData
6a99fdd9
PS
1Summary: CDT - a set of plugins for Eclipse that implement a C/C++ IDE
2Name: eclipse-plugin-cdt
3%define _ver_major 2.0
4%define _ver_minor 0
5Version: %{_ver_major}
6Release: 0.1
7License: CPL
8Group: Development/Languages
9Source0: http://download.eclipse.org/tools/cdt/releases/new/zips/org.eclipse.cdt-%{version}-linux.gtk.x86.zip
10# Source0-md5: 15fbefa22a0baf1e9ed4139ce219ade4
11URL: http://www.eclipse.org/cdt/
12Requires: eclipse >= 3.0
13ExclusiveArch: %{ix86} ppc
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _eclipsedir %{_datadir}/eclipse
17
18%description
19The CDT project provides a set of plugins that implement a C/C++ IDE.
20It adds a C/C++ Perspective to the Eclipse Workbench that supports
21C/C++ development with a number of views, wizards, a powerful editor,
22and a debugger.
23
24%prep
25%setup -q -c
26
27%build
28%ifarch %{ix86}
29rm -r eclipse/plugins/org.eclipse.cdt.core.linux_%{_ver_major}.%{_ver_minor}/os/linux/ppc
30%endif
31%ifarch ppc
32rm -r eclipse/plugins/org.eclipse.cdt.core.linux_%{_ver_major}.%{_ver_minor}/os/linux/x86
33%endif
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
38install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
39cp -r * $RPM_BUILD_ROOT%{_datadir}
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%{_eclipsedir}/features/*
47%{_eclipsedir}/plugins/*
This page took 0.046507 seconds and 4 git commands to generate.