From: pawelz Date: Mon, 18 Jan 2010 19:45:58 +0000 (+0000) Subject: - builds and works, at least on i686 X-Git-Tag: auto/th/eclipse-bin-3_5_1-1~9 X-Git-Url: http://git.pld-linux.org/?p=packages%2Feclipse-bin.git;a=commitdiff_plain;h=9bab56ee2d7be6dfdc546610a758399eed94380f - builds and works, at least on i686 - fetch sources Changed files: eclipse-bin.spec -> 1.2 --- diff --git a/eclipse-bin.spec b/eclipse-bin.spec index 1b32795..fad183f 100644 --- a/eclipse-bin.spec +++ b/eclipse-bin.spec @@ -1,31 +1,16 @@ -# 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 +Version: 3.5.1 +Release: 0.1 License: EPL v1.0 Group: Development/Tools Source0: ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk.tar.gz -# NoSource0-md5: 8c1e4f8cc967cfc847ddd8150407d8cd +# Source0-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 +# Source1-md5: f7a468512be47b9119ce1b92d25d9c7e 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 @@ -57,15 +42,27 @@ wszystkiego i niczego w szczególności. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_libdir},%{_bindir}} +install -d $RPM_BUILD_ROOT{%{_libdir}/eclipse,%{_bindir}} + +cd eclipse +cp -a features p2 configuration plugins \ + icon.xpm libcairo-swt.so eclipse \ + $RPM_BUILD_ROOT%{_libdir}/eclipse -cp -a eclipse ${_libdir}/eclipse -ln -s ${_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir} +ln -s %{_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%{_libdir}/eclipse +%doc eclipse/{about_files,readme,*html} +%dir %{_libdir}/eclipse +%{_libdir}/eclipse/features +%{_libdir}/eclipse/p2 +%{_libdir}/eclipse/configuration +%{_libdir}/eclipse/plugins +%{_libdir}/eclipse/icon.xpm +%attr(755,root,root) %{_libdir}/eclipse/libcairo-swt.so +%attr(755,root,root) %{_libdir}/eclipse/eclipse %attr(755,root,root) %{_bindir}/eclipse