- initial
authorJan Palus <jan.palus@gmail.com>
Mon, 27 Dec 2010 10:44:48 +0000 (10:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eclipse-platform-bin.spec -> 1.1
    eclipse.desktop -> 1.1
    eclipse.ini -> 1.1

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

diff --git a/eclipse-platform-bin.spec b/eclipse-platform-bin.spec
new file mode 100644 (file)
index 0000000..8f5f8d8
--- /dev/null
@@ -0,0 +1,96 @@
+%bcond_without ix86    # don't download ix86 source
+%bcond_without x86_64  # don't download x86_64 source
+
+Summary:       Eclipse - an open extensible IDE
+Summary(pl.UTF-8):     Eclipse - otwarte, rozszerzalne środowisko programistyczne
+Name:          eclipse-platform-bin
+Version:       3.6.1
+Release:       0.1
+License:       EPL v1.0
+Group:         Development/Tools
+%if %{with ix86}
+Source0:       http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/eclipse-platform-%{version}-linux-gtk.tar.gz
+# Source0-md5: 7b3117a9707f7f1550b300ba3729d17a
+%endif
+%if %{with x86_64}
+Source1:       http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/eclipse-platform-%{version}-linux-gtk-x86_64.tar.gz
+# Source1-md5: eebb9eec2fb5680b2079c6713848af02
+%endif
+Source2:       eclipse.desktop
+Source3:       eclipse.ini
+URL:           http://www.eclipse.org/
+BuildRequires: rpm-pythonprov
+BuildRequires: unzip
+Requires:      ant
+Requires:      jdk >= 1.4
+Provides:      eclipse = %{version}-%{release}
+Obsoletes:     eclipse
+Obsoletes:     eclipse-SDK
+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.
+
+This package provides core runtime enviroment without any additional
+plugins.
+
+%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.
+
+Ten pakiet dostarcza podstawowe środowisko uruchomieniowe bez żadnych
+dodatkowych rozszerzeń.
+
+%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}/eclipse{,/dropins},%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}/eclipse}
+
+cd eclipse
+cp -a features p2 configuration plugins \
+      libcairo-swt.so eclipse \
+      $RPM_BUILD_ROOT%{_libdir}/eclipse
+
+install -p icon.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/eclipse-icon.xpm
+
+install -p %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
+install -p eclipse.ini $RPM_BUILD_ROOT%{_sysconfdir}/eclipse/eclipse.ini
+
+ln -s %{_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir}
+ln -s %{_sysconfdir}/eclipse/eclipse.ini $RPM_BUILD_ROOT%{_libdir}/eclipse/eclipse.ini
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc eclipse/{about_files,readme,*html}
+%dir %{_libdir}/eclipse
+%dir %{_libdir}/eclipse/dropins
+%{_libdir}/eclipse/features
+%{_libdir}/eclipse/p2
+%{_libdir}/eclipse/configuration
+%{_libdir}/eclipse/plugins
+%{_libdir}/eclipse/eclipse.ini
+%{_desktopdir}/eclipse.desktop
+%{_pixmapsdir}/eclipse-icon.xpm
+%dir %{_sysconfdir}/eclipse
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/eclipse/eclipse.ini
+%attr(755,root,root) %{_libdir}/eclipse/libcairo-swt.so
+%attr(755,root,root) %{_libdir}/eclipse/eclipse
+%attr(755,root,root) %{_bindir}/eclipse
diff --git a/eclipse.desktop b/eclipse.desktop
new file mode 100644 (file)
index 0000000..e1b2f52
--- /dev/null
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Eclipse
+Comment=Eclipse
+Comment[pl]=Eclipse
+Exec=eclipse
+Icon=eclipse-icon
+Terminal=false
+MultipleArgs=false
+Type=Application
+Categories=Development;IDE;
+# vi: encoding=utf-8
diff --git a/eclipse.ini b/eclipse.ini
new file mode 100644 (file)
index 0000000..94a2cd8
--- /dev/null
@@ -0,0 +1,13 @@
+-startup
+plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
+--launcher.library
+plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810
+-showsplash
+org.eclipse.platform
+--launcher.XXMaxPermSize
+256m
+-vmargs
+-Dosgi.requiredJavaVersion=1.5
+-XX:MaxPermSize=256m
+-Xms40m
+-Xmx512m
This page took 0.098621 seconds and 4 git commands to generate.