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