up to 8.2.1
[packages/eclipse-plugin-cdt.git] / eclipse-plugin-cdt.spec
CommitLineData
8a4acbd2 1%define plugin_name cdt
6a99fdd9 2Summary: CDT - a set of plugins for Eclipse that implement a C/C++ IDE
39e0137e 3Summary(pl.UTF-8): CDT - zestaw wtyczek do środowiska Eclipse implementujący IDE C/C++
8a4acbd2 4Name: eclipse-plugin-%{plugin_name}
2f470701 5Version: 8.2.1
357c5e6d 6Release: 1
d767739f 7License: CPL v1.0
6a99fdd9 8Group: Development/Languages
2f470701
ER
9Source0: http://download.eclipse.org/tools/cdt/releases/kepler/sr1/cdt-master-%{version}.zip
10# Source0-md5: c45a575ebafa29e748b19d643d77cdbf
6a99fdd9 11URL: http://www.eclipse.org/cdt/
e78630c3 12BuildRequires: unzip
8a4acbd2 13Requires: eclipse >= 3.6
9896cc05 14ExclusiveArch: %{ix86} %{x8664} ia64 ppc
6a99fdd9
PS
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
8a4acbd2 17%define _plugindir %{_libdir}/eclipse/dropins/%{plugin_name}
6a99fdd9
PS
18
19%description
9bdcb683
PS
20The CDT project adds a C/C++ Perspective to the Eclipse Workbench that
21supports C/C++ development with a number of views, wizards, a powerful
22editor, and a debugger.
23
ccc7e2e4
JR
24%description -l pl.UTF-8
25Projekt CDT rozszerza zintegrowane środowisko programistyczne Eclipse
26o nowe elementy wspomagające tworzenie aplikacji w językach C i C++.
6a99fdd9
PS
27
28%prep
2f470701 29%setup -qc
6a99fdd9 30
2f470701
ER
31rm -rfv plugins/org.eclipse.cdt.core.aix*_*.*
32rm -rfv plugins/org.eclipse.cdt.core.macosx*_*.*
33rm -rfv plugins/org.eclipse.cdt.core.solaris*_*.*
34rm -rfv plugins/org.eclipse.cdt.core.win32*_*.*
d767739f 35%ifnarch %{ix86}
2f470701 36rm -rfv plugins/org.eclipse.cdt.core.linux.x86_?.*
6a99fdd9 37%endif
2f470701
ER
38%ifnarch ppc ppc64
39rm -rfv plugins/org.eclipse.cdt.core.linux.ppc64_*.*
6c15ca5a 40%endif
41%ifnarch %{x8664}
2f470701 42rm -rfv plugins/org.eclipse.cdt.core.linux.x86_64_*.*
6a99fdd9
PS
43%endif
44
45%install
46rm -rf $RPM_BUILD_ROOT
23746f53 47install -d $RPM_BUILD_ROOT%{_plugindir}/{features,plugins}
9f5206a4 48cp -a * $RPM_BUILD_ROOT%{_plugindir}
0944af9e 49
9f5206a4
ER
50rm $RPM_BUILD_ROOT%{_plugindir}/artifacts.jar
51rm $RPM_BUILD_ROOT%{_plugindir}/content.jar
2f470701 52rm -r $RPM_BUILD_ROOT%{_plugindir}/binary
6a99fdd9
PS
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
8a4acbd2 59%dir %{_plugindir}
23746f53
JR
60%dir %{_plugindir}/features
61%dir %{_plugindir}/plugins
2f470701
ER
62%{_plugindir}/META-INF
63%{_plugindir}/features/*.jar*
64%{_plugindir}/plugins/net.sourceforge.lpg*.jar*
65%{_plugindir}/plugins/org.eclipse.linuxtools.cdt.*.jar*
66%{_plugindir}/plugins/org.eclipse.cdt*.jar*
This page took 0.054214 seconds and 4 git commands to generate.