- fetch sources
Changed files:
eclipse-bin.spec -> 1.2
-# 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
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
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
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/
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
Requires: ant
Requires: jdk >= 1.4
Obsoletes: eclipse-SDK
Requires: ant
Requires: jdk >= 1.4
Obsoletes: eclipse-SDK
%install
rm -rf $RPM_BUILD_ROOT
%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)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%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
%attr(755,root,root) %{_bindir}/eclipse