]> git.pld-linux.org Git - packages/eclipse-bin.git/blob - eclipse-bin.spec
- NFY
[packages/eclipse-bin.git] / eclipse-bin.spec
1 # TODO:
2 # - make use of eclipse-swt package
3
4 %define         ver_major       3.5
5 %define         buildid 20090920-1017
6 Summary:        Eclipse - an open extensible IDE
7 Summary(pl.UTF-8):      Eclipse - otwarte, rozszerzalne środowisko programistyczne
8 Name:           eclipse-bin
9 Version:        %{ver_major}
10 Release:        2
11 License:        EPL v1.0
12 Group:          Development/Tools
13 Source0:        ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk.tar.gz
14 # NoSource0-md5:        8c1e4f8cc967cfc847ddd8150407d8cd
15 Source1:        ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk-x86_64.tar.gz
16 # NoSource1-md5:        f7a468512be47b9119ce1b92d25d9c7e
17 NoSource:       0
18 NoSource:       1
19 URL:            http://www.eclipse.org/
20 BuildRequires:  ant >= 1.6.1
21 BuildRequires:  ant-apache-regexp
22 BuildRequires:  jdk >= 1.6
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-pythonprov
25 BuildRequires:  rpmbuild(macros) >= 1.300
26 BuildRequires:  sed >= 4.0
27 BuildRequires:  unzip
28 BuildRequires:  zip
29 Requires:       ant
30 Requires:       jdk >= 1.4
31 Obsoletes:      eclipse-SDK
32 ExclusiveArch:  i586 i686 pentium3 pentium4 athlon %{x8664}
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         eclipse_arch    %(echo %{_target_cpu} | sed 's/i.86\\|athlon\\|pentium/x86/;s/amd64/x86_64/')
36 %define         no_install_post_chrpath         1
37
38 # list of script capabilities (regexps) not to be used in Provides
39 %define         _noautoprov                     libcairo.so.2
40
41 %description
42 Eclipse is a kind of universal tool platform - an open extensible IDE
43 for anything and nothing in particular.
44
45 %description -l pl.UTF-8
46 Eclipse to rodzaj uniwersalnej platformy narzędziowej - otwarte,
47 rozszerzalne IDE (zintegrowane środowisko programistyczne) do
48 wszystkiego i niczego w szczególności.
49
50 %prep
51 %ifarch %{ix86}
52 %setup -q -T -c -a0
53 %endif
54 %ifarch %{x8664}
55 %setup -q -T -c -a1
56 %endif
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_libdir},%{_bindir}}
61
62 cp -a eclipse ${_libdir}/eclipse
63 ln -s ${_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %{_libdir}/eclipse
71 %attr(755,root,root) %{_bindir}/eclipse
This page took 0.029883 seconds and 3 git commands to generate.