-%bcond_with incall #include all tarballs
+#
+# Conditional build:
+%bcond_without incall # don't include all tarballs in .src.rpm
+#
%define need_x86 0
%define need_ppc 0
%define need_ia64 0
%endif
%endif
-%define _rc RC1
Summary: CDT - a set of plugins for Eclipse that implement a C/C++ IDE
Summary(pl): CDT - zestaw wtyczek do ¶rodowiska Eclipse implementuj±cy IDE C/C++
Name: eclipse-plugin-cdt
%define _ver_major 3.0
%define _ver_minor 0
Version: %{_ver_major}.%{_ver_minor}
-Release: 0.%{_rc}.1
+Release: 0.1
License: CPL v1.0
Group: Development/Languages
%if %{need_x86}
-Source0: http://download.eclipse.org/tools/cdt/builds/%{version}/%{_rc}/org.eclipse.cdt-%{version}-%{_rc}-linux.x86.tar.gz
-# Source0-md5: 454b6e0279c83fd209d6ac839a459134
+Source0: http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/%{version}/org.eclipse.cdt-%{version}-linux.x86.tar.gz
+# Source0-md5: fd578bf9bcbcd89cdbf1480e792a5506
%endif
%if %{need_ppc}
-Source1: http://download.eclipse.org/tools/cdt/builds/%{version}/%{_rc}/org.eclipse.cdt-%{version}-%{_rc}-linux.ppc.tar.gz
-# Source1-md5: f16a8cbe6de0989c2adca4723a8d8af6
+Source1: http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/%{version}/org.eclipse.cdt-%{version}-linux.ppc.tar.gz
+# Source1-md5: 92e83865c079406a231114f3fea74aa0
%endif
%if %{need_ia64}
-Source2: http://download.eclipse.org/tools/cdt/builds/%{version}/%{_rc}/org.eclipse.cdt-%{version}-%{_rc}-linux.ia64.tar.gz
-# Source2-md5: 0e078e332170794b3623d8e5078c1829
+Source2: http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/%{version}/org.eclipse.cdt-%{version}-linux.ia64.tar.gz
+# Source2-md5: ee07f4d21c3785e7d3b2b40b4669def0
%endif
%if %{need_x8664}
-Source3: http://download.eclipse.org/tools/cdt/builds/%{version}/%{_rc}/org.eclipse.cdt-%{version}-%{_rc}-linux.x86_64.tar.gz
-# Source3-md5: 0e078e332170794b3623d8e5078c1829
+Source3: http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/%{version}/org.eclipse.cdt-%{version}-linux.x86_64.tar.gz
+# Source3-md5: 05f7bdaba4eb8fa0ac07c62c722a6f65
%endif
URL: http://www.eclipse.org/cdt/
BuildRequires: unzip
Requires: eclipse >= 3.0
-ExclusiveArch: %{ix86} ppc ia64
+ExclusiveArch: %{ix86} %{x8664} ia64 ppc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _eclipse_arch %(echo %{_target_cpu} | sed 's/i.86/x86/;s/athlon/x86/;s/pentium./x86/')