%global git_tag fa298da8b7e03c83acba40fc539b0dd6c654c16e # Set this to avoid building CDT and remotes bundles to eliminate # a circular dep on CDT->tm-terminal->remote->CDT %bcond_without remote Name: eclipse-tm-terminal Version: 4.3.0 Release: 0.4.gitfa298da%{?dist} Summary: Terminal plug-in for Eclipse License: EPL URL: https://www.eclipse.org/tm/ Source0: http://git.eclipse.org/c/tm/org.eclipse.tm.terminal.git/snapshot/org.eclipse.tm.terminal-%{git_tag}.tar.xz BuildArch: noarch BuildRequires: maven-local BuildRequires: tycho-extras BuildRequires: eclipse-license BuildRequires: eclipse-egit %if %{with remote} # Needed for additional terminal connectors BuildRequires: eclipse-cdt BuildRequires: eclipse-rse BuildRequires: eclipse-remote BuildRequires: rxtx >= 2.2-0.15 %endif %description An integrated Eclipse View for the local command prompt (console) or remote hosts (SSH, Telnet, Serial). %if %{with remote} %package connectors Summary: Additional connectors for Terminal plug-in for Eclipse %description connectors An integrated Eclipse View for the local command prompt (console) or remote hosts (SSH, Telnet, Serial). %endif %package sdk Summary: Terminal SDK plug-in for Eclipse Requires: %{name} = %{version}-%{release} %if %{with remote} Requires: %{name}-connectors = %{version}-%{release} %endif %description sdk Sources and developer resources for the Terminal plug-in for Eclipse. %prep %setup -q -n org.eclipse.tm.terminal-%{git_tag} # Don't need to build repo %pom_disable_module repos/org.eclipse.tm.terminal.repo # When bootstrapping, disable the plugins and features that # create cyclical dependencies %if %{without remote} %pom_disable_module plugins/org.eclipse.tm.terminal.connector.process %pom_disable_module plugins/org.eclipse.tm.terminal.connector.local %pom_disable_module features/org.eclipse.tm.terminal.connector.local.feature %pom_disable_module features/org.eclipse.tm.terminal.connector.local.sdk.feature %pom_disable_module plugins/org.eclipse.tm.terminal.connector.remote %pom_disable_module features/org.eclipse.tm.terminal.connector.remote.feature %pom_disable_module features/org.eclipse.tm.terminal.connector.remote.sdk.feature %pom_disable_module plugins/org.eclipse.tm.terminal.connector.cdtserial %pom_disable_module features/org.eclipse.tm.terminal.connector.cdtserial.feature %pom_disable_module features/org.eclipse.tm.terminal.connector.cdtserial.sdk.feature %pom_disable_module plugins/org.eclipse.tm.terminal.connector.serial %pom_disable_module features/org.eclipse.tm.terminal.connector.serial.feature %pom_disable_module features/org.eclipse.tm.terminal.connector.serial.sdk.feature %pom_disable_module plugins/org.eclipse.tm.terminal.view.ui.rse %pom_disable_module features/org.eclipse.tm.terminal.view.rse.feature %pom_disable_module features/org.eclipse.tm.terminal.view.rse.sdk.feature %pom_xpath_remove "import[@feature='org.eclipse.tm.terminal.connector.local.sdk.feature']" \ features/org.eclipse.tm.terminal.sdk.feature/feature.xml %endif # Remove cycles between subpackages %pom_xpath_remove "import[@feature='org.eclipse.tm.terminal.connector.local.feature']" \ features/org.eclipse.tm.terminal.feature/feature.xml %pom_xpath_remove "pom:plugin[pom:artifactId[text()='tycho-packaging-plugin']]/pom:configuration" admin/pom-config.xml sed -i -e "s|feature.properties,\\\|feature.properties|g" features/org.eclipse.tm.terminal.view.feature/build.properties sed -i -e "s|p2.inf||g" features/org.eclipse.tm.terminal.view.feature/build.properties # No need to install poms %mvn_package "::pom::" __noinstall %mvn_package "::jar:sources{,-feature}:" sdk %mvn_package ":*.sdk.feature" sdk %mvn_package ":org.eclipse.tm.terminal.connector.{local,process,remote,cdtserial,serial}*" connectors %mvn_package ":org.eclipse.tm.terminal.view.{rse,ui.rse}*" connectors %mvn_package ":" %build %mvn_build -j %install %mvn_install %files -f .mfiles %if %{with remote} %files connectors -f .mfiles-connectors %endif %files sdk -f .mfiles-sdk %changelog * Wed Feb 07 2018 Fedora Release Engineering - 4.3.0-0.4.gitfa298da - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 4.3.0-0.3.gitfa298da - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 19 2017 Mat Booth - 4.3.0-0.2.gitfa298da - Allow conditionally building against cdt and remote * Sun Jun 18 2017 Mat Booth - 4.3.0-0.1.gitfa298da - Update to Oxygen snapshot * Fri Mar 31 2017 Mat Booth - 4.2.0-2 - Build serial port bundles, resolves rhbz#1272785 * Wed Mar 29 2017 Mat Booth - 4.2.0-1 - Update to latest upstream release * Fri Feb 10 2017 Fedora Release Engineering - 4.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Aug 12 2016 Mat Booth - 4.1.0-3 - Split out remote connecter, which requires CDT via PTP Remote * Fri Aug 12 2016 Mat Booth - 4.1.0-2 - Improve bootstrapping mode - Split out local connecter, which requires CDT - Add a SDK package for source bundles * Fri Jul 01 2016 Mat Booth - 4.1.0-1 - Update to Neon release * Thu Mar 03 2016 Sopot Cela - 4.0.0-6.gitcf7ef3f - Update for Mars.2 release * Wed Feb 03 2016 Fedora Release Engineering - 4.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Sep 14 2015 Roland Grunberg - 4.0.0-4 - Rebuild as an Eclipse p2 Droplet. * Thu Aug 27 2015 Mat Booth - 4.0.0-3 - Add bootstrap mode to allow breaking of cyclic dependencies * Thu Jun 25 2015 Roland Grunberg - 4.0.0-2 - Rebuild to correct auto-generated requires. * Wed Jun 24 2015 Alexander Kurtakov 4.0.0-1 - Update to 4.0 final. * Wed Jun 17 2015 Alexander Kurtakov 4.0.0-0.5.gite58c5d3 - Fix FTBFS - pom/manifest/feature qualifier misalignments. * Wed Jun 17 2015 Fedora Release Engineering - 4.0.0-0.4.gite58c5d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 3 2015 Alexander Kurtakov 4.0.0-0.3.gite58c5d3 - New git snapshot. * Tue Jun 2 2015 Alexander Kurtakov 4.0.0-0.2.git4ea71eb - Fix review comments. * Tue Jun 2 2015 Alexander Kurtakov 4.0.0-0.1.git4ea71eb - Initial packaging