|
|
c069ec7 |
%global eclipse_base %{_libdir}/eclipse
|
|
|
c069ec7 |
%global eclipse_dropin %{_datadir}/eclipse/dropins
|
|
|
e69aaed |
|
|
|
e69aaed |
Name: eclipse-dltk
|
|
|
29e9865 |
Version: 3.0
|
|
|
29e9865 |
Release: 1%{?dist}
|
|
|
e69aaed |
Summary: Dynamic Languages Toolkit (DLTK) Eclipse plugin
|
|
|
e69aaed |
Group: System Environment/Libraries
|
|
|
e69aaed |
License: EPL
|
|
|
e69aaed |
URL: http://www.eclipse.org/dltk/
|
|
|
e69aaed |
|
|
|
e69aaed |
# source tarball and the script used to generate it from upstream's source control
|
|
|
e69aaed |
# script usage:
|
|
|
e69aaed |
# $ sh get-dltk.sh
|
|
|
29e9865 |
Source0: dltk-%{version}.tar.xz
|
|
|
e69aaed |
Source1: get-dltk.sh
|
|
|
e69aaed |
|
|
|
e69aaed |
|
|
|
e69aaed |
BuildArch: noarch
|
|
|
e69aaed |
|
|
|
e69aaed |
BuildRequires: java-devel
|
|
|
e69aaed |
BuildRequires: jpackage-utils
|
|
|
cbfec13 |
BuildRequires: eclipse-pde >= 1:3.5.0
|
|
|
cbfec13 |
BuildRequires: eclipse-emf >= 2.5.0
|
|
|
5a10a26 |
BuildRequires: eclipse-mylyn >= 3.2
|
|
|
f509d03 |
BuildRequires: eclipse-rse
|
|
|
ecb652b |
BuildRequires: h2
|
|
|
e69aaed |
Requires: java
|
|
|
e69aaed |
Requires: jpackage-utils
|
|
|
cbfec13 |
Requires: eclipse-platform >= 1:3.5.0
|
|
|
995d9b1 |
Requires: eclipse-emf
|
|
|
ecb652b |
Requires: h2
|
|
|
e69aaed |
|
|
|
e69aaed |
%description
|
|
|
e69aaed |
Dynamic Languages Toolkit (DLTK) is a tool for vendors, researchers, and users
|
|
|
e69aaed |
who rely on dynamic languages. DLTK is comprised of a set of extensible
|
|
|
e69aaed |
frameworks designed to reduce the complexity of building full featured
|
|
|
e69aaed |
development environments for dynamic languages such as PHP and Perl.
|
|
|
e69aaed |
|
|
|
e69aaed |
%package ruby
|
|
|
e69aaed |
Summary: Ruby Eclipse plugin
|
|
|
e69aaed |
Group: Development/Tools
|
|
|
e69aaed |
Requires: %{name} = %{version}-%{release}
|
|
|
e69aaed |
|
|
|
e69aaed |
%description ruby
|
|
|
e69aaed |
Ruby development environment for Eclipse based on the Eclipse Dynamic
|
|
|
e69aaed |
Languages Toolkit (DLTK).
|
|
|
e69aaed |
|
|
|
e69aaed |
%package tcl
|
|
|
e69aaed |
Summary: TCL Eclipse plugin
|
|
|
e69aaed |
Group: Development/Tools
|
|
|
e69aaed |
Requires: %{name} = %{version}-%{release}
|
|
|
cbfec13 |
Requires: eclipse-emf >= 2.5.0
|
|
|
e69aaed |
|
|
|
e69aaed |
%description tcl
|
|
|
e69aaed |
TCL development environment for Eclipse based on the Eclipse Dynamic
|
|
|
e69aaed |
Languages Toolkit (DLTK).
|
|
|
e69aaed |
|
|
|
e69aaed |
%package itcl
|
|
|
e69aaed |
Summary: Incr TCL extension for the TCL Eclipse plugin
|
|
|
e69aaed |
Group: Development/Tools
|
|
|
e69aaed |
Requires: %{name}-tcl = %{version}-%{release}
|
|
|
e69aaed |
|
|
|
e69aaed |
%description itcl
|
|
|
e69aaed |
Incr TCL extension for the TCL Eclipse plugin.
|
|
|
e69aaed |
|
|
|
e69aaed |
%package xotcl
|
|
|
e69aaed |
Summary: XOTCL extension for the TCL Eclipse plugin
|
|
|
e69aaed |
Group: Development/Tools
|
|
|
e69aaed |
Requires: %{name}-tcl = %{version}-%{release}
|
|
|
e69aaed |
|
|
|
e69aaed |
%description xotcl
|
|
|
e69aaed |
XOTCL extension for the TCL Eclipse plugin.
|
|
|
e69aaed |
|
|
|
c865ed1 |
#%package javascript
|
|
|
c865ed1 |
#Summary: Javascript Eclipse plugin
|
|
|
c865ed1 |
#Group: Development/Tools
|
|
|
c865ed1 |
#Requires: %{name} = %{version}-%{release}
|
|
|
c865ed1 |
|
|
|
c865ed1 |
#%description javascript
|
|
|
c865ed1 |
#Javascript development environment for Eclipse based on the Eclipse
|
|
|
c865ed1 |
#Dynamic Languages Toolkit (DLTK).
|
|
|
c865ed1 |
|
|
|
e69aaed |
%package mylyn
|
|
|
e69aaed |
Summary: Mylyn integration for Eclipse DLTK projects
|
|
|
e69aaed |
Group: Development/Tools
|
|
|
e69aaed |
Requires: %{name} = %{version}-%{release}
|
|
|
5a10a26 |
Requires: eclipse-mylyn >= 3.2
|
|
|
e69aaed |
|
|
|
e69aaed |
%description mylyn
|
|
|
e69aaed |
Mylyn task-focused UI integration for Eclipse Dynamic Languages Toolkit
|
|
|
e69aaed |
(DLTK) projects.
|
|
|
e69aaed |
|
|
|
f509d03 |
%package rse
|
|
|
f509d03 |
Summary: RSE integration for Eclipse DLTK projects
|
|
|
f509d03 |
Group: Development/Tools
|
|
|
f509d03 |
Requires: %{name} = %{version}-%{release}
|
|
|
f509d03 |
Requires: eclipse-rse
|
|
|
f509d03 |
|
|
|
f509d03 |
%description rse
|
|
|
f509d03 |
Remote Development Support via RSE for DLTK based IDEs.
|
|
|
f509d03 |
|
|
|
5a10a26 |
%package sdk
|
|
|
5a10a26 |
Summary: Eclipse DLTK SDK
|
|
|
5a10a26 |
Group: System Environment/Libraries
|
|
|
5a10a26 |
Requires: java-javadoc
|
|
|
5a10a26 |
Requires: eclipse-pde >= 1:3.5.0
|
|
|
5a10a26 |
Requires: %{name} = %{version}-%{release}
|
|
|
5a10a26 |
Requires: %{name}-ruby = %{version}-%{release}
|
|
|
5a10a26 |
Requires: %{name}-tcl = %{version}-%{release}
|
|
|
5a10a26 |
Requires: %{name}-itcl = %{version}-%{release}
|
|
|
5a10a26 |
Requires: %{name}-xotcl = %{version}-%{release}
|
|
|
c865ed1 |
#Requires: %{name}-javascript = %{version}-%{release}
|
|
|
5a10a26 |
Requires: %{name}-mylyn = %{version}-%{release}
|
|
|
5a10a26 |
Requires: %{name}-rse = %{version}-%{release}
|
|
|
5a10a26 |
|
|
|
5a10a26 |
%description sdk
|
|
|
5a10a26 |
Documentation and source for the Eclipse Dynamic Languages Toolkit (DLTK).
|
|
|
5a10a26 |
|
|
|
c865ed1 |
# TODO: Python IDE
|
|
|
9019981 |
# TODO: Uncomment the Javascript package bits when upstream gets their Rhino dependencies sanely externalised
|
|
|
e69aaed |
|
|
|
e69aaed |
%prep
|
|
|
e69aaed |
%setup -q -n dltk-%{version}
|
|
|
e69aaed |
|
|
|
e69aaed |
# make sure upstream hasn't sneaked in any jars we don't know about
|
|
|
e69aaed |
JARS=""
|
|
|
e69aaed |
for j in `find -name "*.jar"`; do
|
|
|
e69aaed |
if [ ! -L $j ]; then
|
|
|
e69aaed |
JARS="$JARS $j"
|
|
|
e69aaed |
fi
|
|
|
e69aaed |
done
|
|
|
e69aaed |
if [ ! -z "$JARS" ]; then
|
|
|
e69aaed |
echo "These jars should be deleted and symlinked to system jars: $JARS"
|
|
|
e69aaed |
exit 1
|
|
|
e69aaed |
fi
|
|
|
e69aaed |
|
|
|
bb32ce1 |
mkdir orbitDeps
|
|
|
bb32ce1 |
pushd orbitDeps
|
|
|
bb32ce1 |
ln -s %{_javadir}/h2.jar org.h2.jar
|
|
|
bb32ce1 |
popd
|
|
|
bb32ce1 |
|
|
|
e69aaed |
%build
|
|
|
5a10a26 |
# Note: Use date from the cvs tag as the context qualifier.
|
|
|
bb32ce1 |
OPTIONS="-DjavacTarget=1.5 -DjavacSource=1.5 -DforceContextQualifier=v201006161315"
|
|
|
5a10a26 |
|
|
|
e69aaed |
# build all features
|
|
|
e69aaed |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.core \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
bb32ce1 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.core.index \
|
|
|
bb32ce1 |
-a "$OPTIONS" -d "emf" -o `pwd`/orbitDeps
|
|
|
e69aaed |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.ruby \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
e69aaed |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.tcl \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
e69aaed |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.itcl \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
e69aaed |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.xotcl \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
c865ed1 |
#%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.javascript \
|
|
|
9019981 |
# -a "$OPTIONS" -d "emf"
|
|
|
e69aaed |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.mylyn \
|
|
Andrew Overholt |
5e3760a |
-a "$OPTIONS" -d "mylyn mylyn-ide mylyn-commons mylyn-context"
|
|
|
f509d03 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.rse \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "rse"
|
|
|
5a10a26 |
|
|
|
5a10a26 |
# build all sdk features
|
|
|
5a10a26 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.core.sdk \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
bb32ce1 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.core.index.sdk \
|
|
|
bb32ce1 |
-a "$OPTIONS" -d "emf"
|
|
|
5a10a26 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.ruby.sdk \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
5a10a26 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.tcl.sdk \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
5a10a26 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.itcl.sdk \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
5a10a26 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.xotcl.sdk \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "emf"
|
|
|
c865ed1 |
#%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.javascript.sdk \
|
|
|
9019981 |
# -a "$OPTIONS" -d "emf"
|
|
|
5a10a26 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.mylyn.sdk \
|
|
Andrew Overholt |
5e3760a |
-a "$OPTIONS" -d "mylyn mylyn-ide mylyn-commons mylyn-context"
|
|
|
5a10a26 |
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.dltk.rse.sdk \
|
|
|
5a10a26 |
-a "$OPTIONS" -d "rse"
|
|
|
e69aaed |
|
|
|
e69aaed |
%install
|
|
|
e69aaed |
install -d -m 755 %{buildroot}%{eclipse_dropin}
|
|
|
5a10a26 |
|
|
|
ecb652b |
SUBPACKAGES="core core.index ruby tcl itcl xotcl mylyn rse"
|
|
|
5a10a26 |
for s in $SUBPACKAGES ; do
|
|
|
5a10a26 |
unzip -q -n -d %{buildroot}%{eclipse_dropin}/dltk-$s build/rpmBuild/org.eclipse.dltk.$s.zip
|
|
|
5a10a26 |
unzip -q -n -d %{buildroot}%{eclipse_dropin}/dltk-sdk build/rpmBuild/org.eclipse.dltk.$s.sdk.zip
|
|
|
5a10a26 |
|
|
|
5a10a26 |
# the non-sdk builds are a subset of the sdk builds, so delete duplicate features & plugins from the sdks
|
|
|
5a10a26 |
(cd %{buildroot}%{eclipse_dropin}/dltk-sdk/eclipse/features && ls %{buildroot}%{eclipse_dropin}/dltk-$s/eclipse/features | xargs rm -rf)
|
|
|
5a10a26 |
(cd %{buildroot}%{eclipse_dropin}/dltk-sdk/eclipse/plugins && ls %{buildroot}%{eclipse_dropin}/dltk-$s/eclipse/plugins | xargs rm -rf)
|
|
|
5a10a26 |
done
|
|
|
e69aaed |
|
|
|
ecb652b |
ln -s %{_javadir}/h2.jar %{buildroot}/%{eclipse_dropin}/dltk-core.index/eclipse/plugins/org.h2.jar
|
|
|
ecb652b |
|
|
|
e69aaed |
%files
|
|
|
e69aaed |
%{eclipse_dropin}/dltk-core
|
|
|
ecb652b |
%{eclipse_dropin}/dltk-core.index
|
|
|
e69aaed |
%doc org.eclipse.dltk.core-feature/rootfiles/*
|
|
|
e69aaed |
|
|
|
e69aaed |
%files ruby
|
|
|
e69aaed |
%{eclipse_dropin}/dltk-ruby
|
|
|
e69aaed |
%doc org.eclipse.dltk.ruby-feature/rootfiles/*
|
|
|
e69aaed |
|
|
|
e69aaed |
%files tcl
|
|
|
e69aaed |
%{eclipse_dropin}/dltk-tcl
|
|
|
e69aaed |
%doc org.eclipse.dltk.tcl-feature/rootfiles/*
|
|
|
e69aaed |
|
|
|
e69aaed |
%files itcl
|
|
|
e69aaed |
%{eclipse_dropin}/dltk-itcl
|
|
|
e69aaed |
%doc org.eclipse.dltk.itcl-feature/rootfiles/*
|
|
|
e69aaed |
|
|
|
e69aaed |
%files xotcl
|
|
|
e69aaed |
%{eclipse_dropin}/dltk-xotcl
|
|
|
e69aaed |
%doc org.eclipse.dltk.xotcl-feature/rootfiles/*
|
|
|
e69aaed |
|
|
|
c865ed1 |
#%files javascript
|
|
|
c865ed1 |
#%defattr(-,root,root,-)
|
|
|
c865ed1 |
#%{eclipse_dropin}/dltk-javascript
|
|
|
c865ed1 |
#%doc org.eclipse.dltk.javascript-feature/rootfiles/*
|
|
|
c865ed1 |
|
|
|
e69aaed |
%files mylyn
|
|
|
e69aaed |
%{eclipse_dropin}/dltk-mylyn
|
|
|
e69aaed |
%doc org.eclipse.dltk.mylyn-feature/rootfiles/*
|
|
|
e69aaed |
|
|
|
f509d03 |
%files rse
|
|
|
f509d03 |
%{eclipse_dropin}/dltk-rse
|
|
|
f509d03 |
%doc org.eclipse.dltk.rse-feature/rootfiles/*
|
|
|
f509d03 |
|
|
|
5a10a26 |
%files sdk
|
|
|
5a10a26 |
%{eclipse_dropin}/dltk-sdk
|
|
|
5a10a26 |
%doc org.eclipse.dltk.core.sdk/rootfiles/*
|
|
|
5a10a26 |
|
|
|
e69aaed |
%changelog
|
|
|
29e9865 |
* Tue Jul 12 2011 Alexander Kurtakov <akurtako@redhat.com> 3.0-1
|
|
|
29e9865 |
- Update to upstream 3.0.
|
|
|
29e9865 |
|
|
Andrew Overholt |
5e3760a |
* Tue Jul 5 2011 Andrew Overholt <overholt@redhat.com> 2.0.1-4
|
|
Andrew Overholt |
5e3760a |
- Update dropins locations to reflect Mylyn split.
|
|
Andrew Overholt |
5e3760a |
|
|
|
6dc747b |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-3
|
|
|
6dc747b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6dc747b |
|
|
|
ecb652b |
* Mon Dec 6 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.1-2
|
|
|
ecb652b |
- BR/R h2 and fix build.
|
|
|
ecb652b |
|
|
Chris Aniszczyk |
dc52d0e |
* Tue Oct 19 2010 Chris Aniszczyk <zx@redhat.com> 2.0.1-1
|
|
Chris Aniszczyk |
dc52d0e |
- Update to 2.0.1.
|
|
Chris Aniszczyk |
dc52d0e |
|
|
|
bb32ce1 |
* Sun Jul 18 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-1
|
|
|
bb32ce1 |
- Update to 2.0.0.
|
|
|
bb32ce1 |
|
|
|
c865ed1 |
* Wed Mar 03 2010 Mat Booth <fedora@matbooth.co.uk> 1.0.2-1
|
|
|
c865ed1 |
- Update to 1.0.2
|
|
|
c865ed1 |
|
|
|
995d9b1 |
* Wed Jan 20 2010 Alexander Kurtakov <akurtako@redhat.com> 1.0.0-4
|
|
|
995d9b1 |
- Main package should require emf.
|
|
|
995d9b1 |
|
|
|
5a10a26 |
* Mon Aug 20 2009 Mat Booth <fedora@matbooth.co.uk> 1.0.0-3
|
|
|
5a10a26 |
- Add a SDK package.
|
|
|
5a10a26 |
- Require Mylyn >= 3.2.
|
|
|
5a10a26 |
|
|
|
f509d03 |
* Mon Aug 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1.0.0-2
|
|
|
f509d03 |
- Add RSE plugin.
|
|
|
f509d03 |
|
|
|
404132a |
* Mon Aug 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1.0.0-1
|
|
|
404132a |
- Update to 1.0.0 final.
|
|
|
404132a |
|
|
|
b5243ef |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.6.RC1b
|
|
|
b5243ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b5243ef |
|
|
|
c069ec7 |
* Fri May 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1.0.0-0.5.RC1b
|
|
|
c069ec7 |
- Update to 1.0.0 RC1b.
|
|
|
c069ec7 |
- Use %%global instead of %%define.
|
|
|
c069ec7 |
|
|
|
cbfec13 |
* Sat Apr 18 2009 Mat Booth <fedora@matbooth.co.uk> 1.0.0-0.4.M6
|
|
|
cbfec13 |
- Update to Milestone 6 release of 1.0.0.
|
|
|
cbfec13 |
- Require Eclipse 3.5.0.
|
|
|
cbfec13 |
|
|
|
e69aaed |
* Thu Apr 02 2009 Mat Booth <fedora@matbooth.co.uk> 1.0.0-0.3.M5
|
|
|
e69aaed |
- Fix files listed twice warnings.
|
|
|
e69aaed |
|
|
|
e69aaed |
* Thu Apr 02 2009 Mat Booth <fedora@matbooth.co.uk> 1.0.0-0.2.M5
|
|
|
e69aaed |
- Drop GCJ AOT support.
|
|
|
e69aaed |
|
|
|
e69aaed |
* Mon Mar 30 2009 Mat Booth <fedora@matbooth.co.uk> 1.0.0-0.1.M5
|
|
|
e69aaed |
- Initial release.
|