]>
Commit | Line | Data |
---|---|---|
8f8da232 | 1 | Summary: Eclipse - an open extensible IDE |
2 | Summary(pl.UTF-8): Eclipse - otwarte, rozszerzalne środowisko programistyczne | |
3 | Name: eclipse-bin | |
9bab56ee | 4 | Version: 3.5.1 |
5 | Release: 0.1 | |
8f8da232 | 6 | License: EPL v1.0 |
7 | Group: Development/Tools | |
8 | Source0: ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk.tar.gz | |
9bab56ee | 9 | # Source0-md5: 8c1e4f8cc967cfc847ddd8150407d8cd |
8f8da232 | 10 | Source1: ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk-x86_64.tar.gz |
9bab56ee | 11 | # Source1-md5: f7a468512be47b9119ce1b92d25d9c7e |
8f8da232 | 12 | URL: http://www.eclipse.org/ |
8f8da232 | 13 | BuildRequires: unzip |
8f8da232 | 14 | Requires: ant |
15 | Requires: jdk >= 1.4 | |
16 | Obsoletes: eclipse-SDK | |
17 | ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664} | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %define eclipse_arch %(echo %{_target_cpu} | sed 's/i.86\\|athlon\\|pentium/x86/;s/amd64/x86_64/') | |
21 | %define no_install_post_chrpath 1 | |
22 | ||
23 | # list of script capabilities (regexps) not to be used in Provides | |
24 | %define _noautoprov libcairo.so.2 | |
25 | ||
26 | %description | |
27 | Eclipse is a kind of universal tool platform - an open extensible IDE | |
28 | for anything and nothing in particular. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Eclipse to rodzaj uniwersalnej platformy narzędziowej - otwarte, | |
32 | rozszerzalne IDE (zintegrowane środowisko programistyczne) do | |
33 | wszystkiego i niczego w szczególności. | |
34 | ||
35 | %prep | |
36 | %ifarch %{ix86} | |
37 | %setup -q -T -c -a0 | |
38 | %endif | |
39 | %ifarch %{x8664} | |
40 | %setup -q -T -c -a1 | |
41 | %endif | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
9bab56ee | 45 | install -d $RPM_BUILD_ROOT{%{_libdir}/eclipse,%{_bindir}} |
46 | ||
47 | cd eclipse | |
48 | cp -a features p2 configuration plugins \ | |
49 | icon.xpm libcairo-swt.so eclipse \ | |
50 | $RPM_BUILD_ROOT%{_libdir}/eclipse | |
8f8da232 | 51 | |
9bab56ee | 52 | ln -s %{_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir} |
8f8da232 | 53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
9bab56ee | 59 | %doc eclipse/{about_files,readme,*html} |
60 | %dir %{_libdir}/eclipse | |
61 | %{_libdir}/eclipse/features | |
62 | %{_libdir}/eclipse/p2 | |
63 | %{_libdir}/eclipse/configuration | |
64 | %{_libdir}/eclipse/plugins | |
65 | %{_libdir}/eclipse/icon.xpm | |
66 | %attr(755,root,root) %{_libdir}/eclipse/libcairo-swt.so | |
67 | %attr(755,root,root) %{_libdir}/eclipse/eclipse | |
8f8da232 | 68 | %attr(755,root,root) %{_bindir}/eclipse |