up to 8.2.1
[packages/eclipse-plugin-cdt.git] / eclipse-plugin-cdt.spec
... / ...
CommitLineData
1%define plugin_name cdt
2Summary: CDT - a set of plugins for Eclipse that implement a C/C++ IDE
3Summary(pl.UTF-8): CDT - zestaw wtyczek do środowiska Eclipse implementujący IDE C/C++
4Name: eclipse-plugin-%{plugin_name}
5Version: 8.2.1
6Release: 1
7License: CPL v1.0
8Group: Development/Languages
9Source0: http://download.eclipse.org/tools/cdt/releases/kepler/sr1/cdt-master-%{version}.zip
10# Source0-md5: c45a575ebafa29e748b19d643d77cdbf
11URL: http://www.eclipse.org/cdt/
12BuildRequires: unzip
13Requires: eclipse >= 3.6
14ExclusiveArch: %{ix86} %{x8664} ia64 ppc
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _plugindir %{_libdir}/eclipse/dropins/%{plugin_name}
18
19%description
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
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++.
27
28%prep
29%setup -qc
30
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*_*.*
35%ifnarch %{ix86}
36rm -rfv plugins/org.eclipse.cdt.core.linux.x86_?.*
37%endif
38%ifnarch ppc ppc64
39rm -rfv plugins/org.eclipse.cdt.core.linux.ppc64_*.*
40%endif
41%ifnarch %{x8664}
42rm -rfv plugins/org.eclipse.cdt.core.linux.x86_64_*.*
43%endif
44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT%{_plugindir}/{features,plugins}
48cp -a * $RPM_BUILD_ROOT%{_plugindir}
49
50rm $RPM_BUILD_ROOT%{_plugindir}/artifacts.jar
51rm $RPM_BUILD_ROOT%{_plugindir}/content.jar
52rm -r $RPM_BUILD_ROOT%{_plugindir}/binary
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%dir %{_plugindir}
60%dir %{_plugindir}/features
61%dir %{_plugindir}/plugins
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.071813 seconds and 5 git commands to generate.