]> git.pld-linux.org Git - packages/eclipse-bin.git/commitdiff
- NFY
authorpawelz <pawelz@pld-linux.org>
Mon, 18 Jan 2010 19:27:25 +0000 (19:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eclipse-bin.spec -> 1.1

eclipse-bin.spec [new file with mode: 0644]

diff --git a/eclipse-bin.spec b/eclipse-bin.spec
new file mode 100644 (file)
index 0000000..1b32795
--- /dev/null
@@ -0,0 +1,71 @@
+# TODO:
+# - make use of eclipse-swt package
+
+%define                ver_major       3.5
+%define                buildid 20090920-1017
+Summary:       Eclipse - an open extensible IDE
+Summary(pl.UTF-8):     Eclipse - otwarte, rozszerzalne środowisko programistyczne
+Name:          eclipse-bin
+Version:       %{ver_major}
+Release:       2
+License:       EPL v1.0
+Group:         Development/Tools
+Source0:       ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk.tar.gz
+# NoSource0-md5:       8c1e4f8cc967cfc847ddd8150407d8cd
+Source1:       ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk-x86_64.tar.gz
+# NoSource1-md5:       f7a468512be47b9119ce1b92d25d9c7e
+NoSource:      0
+NoSource:      1
+URL:           http://www.eclipse.org/
+BuildRequires: ant >= 1.6.1
+BuildRequires: ant-apache-regexp
+BuildRequires: jdk >= 1.6
+BuildRequires: pkgconfig
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: sed >= 4.0
+BuildRequires: unzip
+BuildRequires: zip
+Requires:      ant
+Requires:      jdk >= 1.4
+Obsoletes:     eclipse-SDK
+ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                eclipse_arch    %(echo %{_target_cpu} | sed 's/i.86\\|athlon\\|pentium/x86/;s/amd64/x86_64/')
+%define                no_install_post_chrpath         1
+
+# list of script capabilities (regexps) not to be used in Provides
+%define                _noautoprov                     libcairo.so.2
+
+%description
+Eclipse is a kind of universal tool platform - an open extensible IDE
+for anything and nothing in particular.
+
+%description -l pl.UTF-8
+Eclipse to rodzaj uniwersalnej platformy narzędziowej - otwarte,
+rozszerzalne IDE (zintegrowane środowisko programistyczne) do
+wszystkiego i niczego w szczególności.
+
+%prep
+%ifarch %{ix86}
+%setup -q -T -c -a0
+%endif
+%ifarch %{x8664}
+%setup -q -T -c -a1
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_bindir}}
+
+cp -a eclipse ${_libdir}/eclipse
+ln -s ${_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/eclipse
+%attr(755,root,root) %{_bindir}/eclipse
This page took 0.113326 seconds and 4 git commands to generate.