]> git.pld-linux.org Git - packages/eclipse-swt.git/blame - eclipse-swt.spec
- s/jakarta-ant/ant/ in BR
[packages/eclipse-swt.git] / eclipse-swt.spec
CommitLineData
cbfc3907 1#
2# Conditional build:
3%bcond_without gnome # build without gnome
309758a7 4%bcond_without cairo # build without cairo
cbfc3907 5#
d6978db2 6%define _buildid 200509290840
cbfc3907 7#define _mver M6
d6978db2 8%define _ver_major 3.1.1
cbfc3907 9%define _ver_minor 0
d6978db2 10%define _ver_swt 3139
cbfc3907 11%define _ver %{_ver_major}.%{_ver_minor}
12
13%ifarch %{x8664}
14%define _swtsrcdir plugins/org.eclipse.swt.gtk.linux.x86_64
15%define _swtgtkdir plugins/org.eclipse.swt.gtk.linux.x86_64
16%endif
17
18%ifarch ppc
19%define _swtsrcdir plugins/org.eclipse.swt.gtk.linux.ppc
20%define _swtgtkdir plugins/org.eclipse.swt.gtk.linux.ppc
21%endif
22
23%ifarch %{ix86}
24%define _swtsrcdir plugins/org.eclipse.swt.gtk.linux.x86
25%define _swtgtkdir plugins/org.eclipse.swt.gtk.linux.x86
26%endif
27
28%define _eclipse_arch %(echo %{_target_cpu} | sed 's/i.86/x86/;s/athlon/x86/;s/pentium./x86/')
29%define no_install_post_chrpath 1
30%ifarch %{x8664}
31%define _noautostrip .*\\.so
32%endif
33
2b5498b8
JB
34Summary: SWT - a widget toolkit for Java
35