5884e4d
%global gittag R5_3_2
d5bf46e
e69aaed
Name:      eclipse-dltk
5884e4d
Version:   5.3.2
553f196
Release:   2%{?dist}
ab7f30d
Summary:   Dynamic Languages Toolkit (DLTK) Eclipse plug-in
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
d5bf46e
Source0:   eclipse-dltk-%{gittag}.tar.xz
e69aaed
Source1:   get-dltk.sh
e69aaed
5884e4d
Patch0: fix-debugger.patch
5884e4d
e69aaed
BuildArch:        noarch
e69aaed
ab7f30d
BuildRequires:    eclipse-license >= 1.0.1
ab7f30d
BuildRequires:    eclipse-pde >= 1:4.4.0
2f294a1
BuildRequires:    eclipse-emf-runtime
ab7f30d
BuildRequires:    eclipse-mylyn
f509d03
BuildRequires:    eclipse-rse
ecb652b
BuildRequires:    h2
Sami Wagiaalla e4899a1
BuildRequires:    tycho
ab7f30d
Requires:         eclipse-platform >= 1:4.4.0
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
ab7f30d
Summary:   Ruby Eclipse plug-in
d0271cc
Requires:  ruby
e69aaed
e69aaed
%description ruby
e69aaed
Ruby development environment for Eclipse based on the Eclipse Dynamic
e69aaed
Languages Toolkit (DLTK).
e69aaed
e69aaed
%package   tcl
ab7f30d
Summary:   TCL Eclipse plug-in
d0271cc
Requires:  itcl
d5bf46e
d5bf46e
# Obsoletes/provides added in F22
d5bf46e
Obsoletes: %{name}-itcl < %{version}-%{release}
d5bf46e
Provides:  %{name}-itcl = %{version}-%{release}
d5bf46e
Obsoletes: %{name}-xotcl < %{version}-%{release}
d5bf46e
Provides:  %{name}-xotcl = %{version}-%{release}
e69aaed
e69aaed
%description tcl
e69aaed
TCL development environment for Eclipse based on the Eclipse Dynamic
d5bf46e
Languages Toolkit (DLTK). Includes Incr TCL and XOTCL extensions.
e69aaed
e69aaed
%package   mylyn
e69aaed
Summary:   Mylyn integration for Eclipse DLTK projects
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
f509d03
%description rse
f509d03
Remote Development Support via RSE for DLTK based IDEs.
f509d03
5a10a26
%package   sdk
5a10a26
Summary:   Eclipse DLTK SDK
ab7f30d
Requires:  eclipse-pde >= 1:4.4.0
5a10a26
Requires:  %{name}       = %{version}-%{release}
5a10a26
Requires:  %{name}-ruby  = %{version}-%{release}
5a10a26
Requires:  %{name}-tcl   = %{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
a0e76fa
%package   tests
a0e76fa
Summary:   Eclipse DLTK Tests
a0e76fa
a0e76fa
%description tests
a0e76fa
Tests for Eclipse Dynamic Languages Toolkit (DLTK).
e69aaed
e69aaed
%prep
d5bf46e
%setup -q -n eclipse-dltk-%{gittag}
e38409a
a0e76fa
# We are not shipping the python and javascript editors
a0e76fa
# For python we have eclipse-pydev, which should be used instead
a0e76fa
# For javascript we have eclipse-webtools, which should be used instead
e38409a
%pom_disable_module "../../org.eclipse.dltk.javascript" org.eclipse.dltk.releng/build/pom.xml
e38409a
%pom_disable_module "../../org.eclipse.dltk.python" org.eclipse.dltk.releng/build/pom.xml
291136e
%pom_disable_module "releng/org.eclipse.dltk.core.targetplatform" org.eclipse.dltk.core/core/pom.xml
e38409a
a0e76fa
# It's not necessary to build an update site or p2 repo when using mvn_install
a0e76fa
%pom_disable_module update.site org.eclipse.dltk.releng/build/pom.xml
a0e76fa
291136e
sed -i '/<target>/,/<\/target>/ d' org.eclipse.dltk.core/core/tests/org.eclipse.dltk.core.tests/pom.xml
291136e
d5bf46e
%mvn_package "::pom::" __noinstall
553f196
%mvn_package ":*.tests" tests
a0e76fa
%mvn_package "::jar:sources:" sdk
a0e76fa
%mvn_package ":*.sdk" sdk
a0e76fa
%mvn_package "org.eclipse.dltk.core:org.eclipse.dltk.core.doc.isv" sdk
a0e76fa
%mvn_package "org.eclipse.dltk{,.core}:" core
a0e76fa
%mvn_package "org.eclipse.dltk.ruby:" ruby
d5bf46e
%mvn_package "org.eclipse.dltk.{tcl,itcl,xotcl}:" tcl
a0e76fa
%mvn_package "org.eclipse.dltk.mylyn:" mylyn
a0e76fa
%mvn_package "org.eclipse.dltk.rse:" rse
a0e76fa
%mvn_package "org.eclipse.dltk.features:org.eclipse.dltk.core{,.index}" core
a0e76fa
%mvn_package "org.eclipse.dltk.features:org.eclipse.dltk.ruby" ruby
d5bf46e
%mvn_package "org.eclipse.dltk.features:org.eclipse.dltk.{tcl,itcl,xotcl}" tcl
a0e76fa
%mvn_package "org.eclipse.dltk.features:org.eclipse.dltk.mylyn" mylyn
a0e76fa
%mvn_package "org.eclipse.dltk.features:org.eclipse.dltk.rse" rse
a0e76fa
a0e76fa
# TODO fix this upstream
a0e76fa
for b in org.eclipse.dltk.ruby/tests/org.eclipse.dltk.ruby.testing.tests ; do
a0e76fa
  sed -i "/^Bundle-Localization/d" $b/META-INF/MANIFEST.MF
a0e76fa
  sed -i "s|plugin.properties|OSGI-INF/|" $b/build.properties
a0e76fa
  mkdir -p $b/OSGI-INF/l10n
a0e76fa
  mv $b/plugin.properties $b/OSGI-INF/l10n/bundle.properties
a0e76fa
done
e38409a
5884e4d
pushd org.eclipse.dltk.ruby
5884e4d
%patch0 -p1
5884e4d
popd
5884e4d
e69aaed
%build
0e40ee0
%mvn_build -j -f -- -f org.eclipse.dltk.releng/pom.xml
e69aaed
e69aaed
%install
a0e76fa
%mvn_install
Sami Wagiaalla e4899a1
a0e76fa
%files -f .mfiles-core
e38409a
%doc org.eclipse.dltk.core/core/features/org.eclipse.dltk.core-feature/rootfiles/*
e69aaed
a0e76fa
%files ruby -f .mfiles-ruby
e38409a
%doc org.eclipse.dltk.ruby/features/org.eclipse.dltk.ruby-feature/rootfiles/*
e69aaed
a0e76fa
%files tcl -f .mfiles-tcl
e38409a
%doc org.eclipse.dltk.tcl/tcl/features/org.eclipse.dltk.tcl-feature/rootfiles/*
e69aaed
a0e76fa
%files mylyn -f .mfiles-mylyn
e38409a
%doc org.eclipse.dltk.core/mylyn/features/org.eclipse.dltk.mylyn-feature/rootfiles/*
e69aaed
a0e76fa
%files rse -f .mfiles-rse
e38409a
%doc org.eclipse.dltk.core/rse/features/org.eclipse.dltk.rse-feature/rootfiles/*
f509d03
a0e76fa
%files sdk -f .mfiles-sdk
a0e76fa
a0e76fa
%files tests -f .mfiles-tests
5a10a26
e69aaed
%changelog
553f196
* Wed Feb 10 2016 Sopot Cela <scela@redhat.com> - 5.3.2-2
553f196
- Removed tests requirement
553f196
5884e4d
* Wed Feb 10 2016 Sopot Cela <scela@redhat.com> - 5.3.2-1
5884e4d
- Upgrade to 5.3.2 and debugger patch
5884e4d
e1510b2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-3
e1510b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e1510b2
d0271cc
* Tue Oct 13 2015 Alexander Kurtakov <akurtako@redhat.com> 5.3.1-2
d0271cc
- Add ruby and itcl requires to the corresponding subpackages.
d0271cc
d5bf46e
* Thu Oct 08 2015 Mat Booth <mat.booth@redhat.com> - 5.3.1-1
d5bf46e
- Update to Mars.1 release
d5bf46e
- Merge TCL packages, since they all require one another anyway
d5bf46e
9a2a16f
* Mon Sep 14 2015 Roland Grunberg <rgrunber@redhat.com> - 5.2.0-2
9a2a16f
- Rebuild as an Eclipse p2 Droplet.
9a2a16f
0e40ee0
* Wed Jun 24 2015 Alexander Kurtakov <akurtako@redhat.com> 5.2.0-1
0e40ee0
- Update to upstream 5.2 release.
0e40ee0
e270b24
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.1-3
e270b24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e270b24
746fa2d
* Fri May 8 2015 Alexander Kurtakov <akurtako@redhat.com> 5.1.1-2
746fa2d
- Apply all Mars compatibility patches.
746fa2d
2f294a1
* Fri May 8 2015 Alexander Kurtakov <akurtako@redhat.com> 5.1.1-1
2f294a1
- Update to upstream 5.1.1.
2f294a1
a7f96c9
* Tue Jan 20 2015 Mat Booth <mat.booth@redhat.com> - 5.1.0-6
a7f96c9
- Make direct hamcrest use explicit in manifest
a7f96c9
291136e
* Fri Dec 5 2014 Alexander Kurtakov <akurtako@redhat.com> 5.1.0-5
291136e
- Fix build due to unresolvable targetplatform - just skip it.
291136e
a0e76fa
* Thu Sep 25 2014 Mat Booth <mat.booth@redhat.com> - 5.1.0-4
a0e76fa
- Build/install with mvn_build/mvn_install
a0e76fa
- Build and ship tests in tests sub package
a0e76fa
- Drop unneeded BR/Rs
a0e76fa
- Drop unneeded patch
a0e76fa
1184906
* Wed Sep 17 2014 Alexander Kurtakov <akurtako@redhat.com> 5.1.0-3
1184906
- Drop license feature copying as it breaks the build.
1184906
80581f0
* Thu Sep 04 2014 Mat Booth <mat.booth@redhat.com> - 5.1.0-2
80581f0
- Unzip feature bundles on installation
80581f0
d336aa7
* Thu Jun 26 2014 Mat Booth <mat.booth@redhat.com> - 5.1.0-1
d336aa7
- Update to latest upstream release
d336aa7
d127cc8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-0.2.git9eca4e
d127cc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d127cc8
ab7f30d
* Fri May 09 2014 Mat Booth <mat.booth@redhat.com> - 5.1.0-0.1.git9eca4e
ab7f30d
- Update to latest upstream for Luna compatibility.
ab7f30d
- Add BR on eclipse-license
ab7f30d
- Drop unnecessary BR/Rs
ab7f30d
- Build with xmvn
ab7f30d
- Fix bogus dates
ab7f30d
5464e8b
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 5.0.0-4
5464e8b
- Use Requires: java-headless rebuild (#1067528)
5464e8b
Krzysztof Daniel 8602ebc
* Mon Aug 5 2013 Krzysztof Daniel <kdaniel@redhat.com> 5.0.0-3
Krzysztof Daniel 8602ebc
- Fix FTBFS.
Krzysztof Daniel 8602ebc
c9cda2f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.0-2
c9cda2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c9cda2f
e38409a
* Fri Jul 5 2013 Alexander Kurtakov <akurtako@redhat.com> 5.0.0-1
e38409a
- Update to upstream Kepler release 5.0.0.
e38409a
4fb5531
* Thu Feb 21 2013 Alexander Kurtakov <akurtako@redhat.com> 4.0.0-5
4fb5531
- Let tycho skip its version checks.
4fb5531
a27fb23
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-4
a27fb23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a27fb23
Stanislav Ochotnicky 2288525
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 4.0.0-3
Stanislav Ochotnicky 2288525
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 2288525
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 2288525
c0b8292
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2
c0b8292
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c0b8292
Sami Wagiaalla 1de50b8
* Mon Jul 16 2012 Sami Wagiaalla <swagiaal@redhat.com> - 4.0.0-1
Sami Wagiaalla 1de50b8
- Update to 4.0.0 release.
Sami Wagiaalla 1de50b8
d3022a7
* Thu Jun 14 2012 Roland Grunberg <rgrunber@redhat.com> - 4.0.0-0.5.201201070225cvs
d3022a7
- Remove patches that bump BREE to JavaSE-1.6 (done by Tycho).
d3022a7
- Remove patch and %%prep lines that create p2 repository (done by Tycho).
d3022a7
Sami Wagiaalla a8a3896
* Thu May 03 2012 Sami Wagiaalla <swagiaal@redhat.com> - 4.0.0-0.4.201201070225cvs
Sami Wagiaalla a8a3896
- Install a symlink to h2 in dropins.
Sami Wagiaalla a8a3896
- Remove blanket symlink of javadir.
Sami Wagiaalla a8a3896
ab7f30d
* Wed Apr 25 2012 Sami Wagiaalla <swagiaal@redhat.com> - 4.0.0-0.3.201201070225cvs
Sami Wagiaalla 63d2eca
- Install missing bundles.
Sami Wagiaalla 63d2eca
ab7f30d
* Tue Apr 24 2012 Sami Wagiaalla <swagiaal@redhat.com> - 4.0.0-0.2.201201070225cvs
Sami Wagiaalla e4899a1
- Checkout entire org.eclipse.dltk module.
Sami Wagiaalla e4899a1
- Patch dltk to build with tycho 0.14.0
Sami Wagiaalla e4899a1
- Use tycho to build dltk
Sami Wagiaalla e4899a1
- Add tycho and maven requirements.
Sami Wagiaalla e4899a1
Sami Wagiaalla 8adac03
* Thu Apr 12 2012 Sami Wagiaalla <swagiaal@redhat.com> - 4.0.0-0.1.201201070225cvs
Sami Wagiaalla 8adac03
- Update to upstream 4.0.0 snapshot.
Sami Wagiaalla 8adac03
1ae9001
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
1ae9001
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1ae9001
417265c
* Fri Dec 16 2011 Alexander Kurtakov <akurtako@redhat.com> 3.0.1-1
417265c
- Update to upstream 3.0.1.
417265c
1ae8fbe
* Tue Jul 12 2011 Alexander Kurtakov <akurtako@redhat.com> 3.0-2
1ae8fbe
- Add more mylyn subpackages to BR/R.
1ae8fbe
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
ab7f30d
* Thu 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.