%{?scl:%scl_package eclipse-rse} %{!?scl:%global pkg_name %{name}} %global rseserver_install %{_datadir}/eclipse-rse-server %global rseserver_java %{_datadir}/java/eclipse-rse-server %global rseserver_config %{_sysconfdir}/sysconfig/rseserver %global rse_snapshot R3_6 %{?java_common_find_provides_and_requires} Name: %{?scl_prefix}eclipse-rse Summary: Eclipse Remote System Explorer Version: 3.6.0 Release: 8%{?dist} License: EPL URL: http://www.eclipse.org/dsdp/tm/ Source0: http://git.eclipse.org/c/tm/org.eclipse.tm.git/snapshot/R3_6.tar.bz2 # Use Authen::pam to authenticate clients Patch1: eclipse-rse-server-auth-pl.patch # Fix classpath in daemon and server scripts to point # to install locations Patch2: eclipse-rse-server-scripts.patch # Patch to remove dependency on jgit for tycho-packaging-plugin Patch3: eclipse-rse-top-pom.patch # Patch to remove dependency on org.apache.commons.net.source Patch4: eclipse-rse-commons-net-source.patch BuildArch: noarch BuildRequires: %{?scl_prefix}tycho BuildRequires: %{?scl_prefix}tycho-extras BuildRequires: %{?scl_prefix}eclipse-license BuildRequires: %{?scl_prefix}eclipse-pde >= 1:3.8.0-0.21 BuildRequires: %{?scl_prefix_java_common}apache-commons-net Requires: %{?scl_prefix}eclipse-platform >= 1:3.8.0-0.21 Requires: %{?scl_prefix_java_common}apache-commons-net %description Remote System Explorer (RSE) is a framework and toolkit in Eclipse Workbench that allows you to connect and work with a variety of remote systems. %package server Summary: Eclipse Remote System Explorer Server Requires: perl Requires: %{?scl_prefix}perl-Authen-PAM Requires: java %description server The Remote System Explorer (RSE) framework server that can be used so clients can connect to this machine via RSE. %prep %setup -q -n %{rse_snapshot} %patch3 -b .orig %patch4 pushd rse/plugins/org.eclipse.rse.services.dstore %patch1 %patch2 popd sed -i -e 's|3.2,3.3|3.2,3.9|g' pom.xml %{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} # Not necessary build the p2 repo with mvn_install %pom_disable_module releng/org.eclipse.tm.repo %{?scl:EOF} # Fix pom versions sed -i -e 's@\.qualifier@-SNAPSHOT@' $(find -name pom.xml) %build %{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} %mvn_build -j %{?scl:EOF} %install %{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} %mvn_install %{?scl:EOF} install -d -m 755 %{buildroot}%{rseserver_install} install -d -m 755 %{buildroot}%{rseserver_java} install -d -m 755 %{buildroot}%{rseserver_config} pushd %{buildroot}%{_datadir}/eclipse/dropins/rse/eclipse/plugins unzip -q -o -d %{buildroot}%{rseserver_java} org.eclipse.rse.services.dstore_*.jar dstore_miners.jar unzip -q -o -d %{buildroot}%{rseserver_java} org.eclipse.dstore.core_*.jar dstore_core.jar unzip -q -o -d %{buildroot}%{rseserver_java} org.eclipse.dstore.extra_*.jar dstore_extra_server.jar unzip -q -o -d %{buildroot}%{rseserver_java} org.eclipse.rse.services_*.jar clientserver.jar # Remove server-specific jar files from plug-ins jarname=`ls org.eclipse.rse.services.dstore_*.jar` zip -d $jarname dstore_miners.jar jarname=`ls org.eclipse.dstore.core_*.jar` zip -d $jarname dstore_core.jar jarname=`ls org.eclipse.dstore.extra_*.jar` zip -d $jarname dstore_extra_server.jar jarname=`ls org.eclipse.rse.services_*.jar` zip -d $jarname clientserver.jar popd pushd rse/plugins/org.eclipse.rse.services.dstore pushd serverruntime/scripts/linux cp *.pl %{buildroot}%{rseserver_install} popd pushd serverruntime/data cp *.properties %{buildroot}%{rseserver_config} cp *.dat %{buildroot}%{rseserver_install} popd %files -f .mfiles %doc releng/rootfiles/*.html %files server %{rseserver_install} %{rseserver_java} %dir %{rseserver_config} %config(noreplace) %{rseserver_config}/ssl.properties %config(noreplace) %{rseserver_config}/rsecomm.properties %doc releng/rootfiles/*.html %changelog * Wed Jan 21 2015 Mat Booth - 3.6.0-8 - Resolves: rhbz#1183921 - java-headless unsatisfiable on el6 * Tue Jan 20 2015 Mat Booth - 3.6.0-7 - Resolves: rhbz#1183921 - java-headless unsatisfiable on el6 * Wed Jan 14 2015 Roland Grunberg - 3.6.0-6 - Generate provides and requires. * Tue Jan 13 2015 Roland Grunberg - 3.6.0-5 - Minor changes to build SCL-ized. * Thu Dec 11 2014 Mat Booth - 3.6.0-4 - Fix artifact versions in pom files * Thu Nov 06 2014 Mat Booth - 3.6.0-3 - Rebuild to regenerate auto provides/requires * Fri Sep 26 2014 Mat Booth - 3.6.0-2 - Build/install with mvn_build/mvn_install - Drop unneeded BR/Rs and patches - General spec file clean up * Thu Jun 26 2014 Jeff Johnston - 3.6.0-1 - Update to Luna release 3.6 final. * Sat Jun 07 2014 Fedora Release Engineering - 3.6.0-0.2.RC1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Jun 3 2014 Alexander Kurtakov 3.6.0-0.1.RC1 - Update to 3.6.0 RC. * Tue Jun 3 2014 Alexander Kurtakov 3.5.1-0.3.RC4 - Use feclipse-maven-plugin to have features unzipped. - Simplify spec a bit. * Fri Mar 28 2014 Michael Simacek - 3.5.1-0.2.RC4 - Use Requires: java-headless rebuild (#1067528) * Tue Oct 1 2013 Krzysztof Daniel 3.5.1-0.1.RC4 - Update to Kepler SR1 RC4. * Tue Oct 1 2013 Krzysztof Daniel 3.5.1-1 - Update to latest upstream. * Mon Aug 5 2013 Krzysztof Daniel 3.5-3 - Fix FTBFS. * Sat Aug 03 2013 Fedora Release Engineering - 3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 1 2013 Alexander Kurtakov 3.5-1 - Update to Kepler final. * Fri Jun 7 2013 Alexander Kurtakov 3.5-0.4.rc3 - Update to Kepler RC3. * Wed Apr 10 2013 Jeff Johnston 3.5-0.3.m6 - Add terminal view feature to category.xml. * Tue Apr 09 2013 Jeff Johnston 3.5-0.2.m6 - Build terminal view feature. * Fri Apr 05 2013 Jeff Johnston 3.5-0.1.m6 - Update rse to 3.5M6 which is what was shipped for Kepler M6. - Need to use full git tree and tycho to build. * Thu Feb 21 2013 Alexander Kurtakov 3.4-5 - Strip version from commons-net symlink. * Wed Feb 13 2013 Fedora Release Engineering - 3.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jul 6 2012 Alexander Kurtakov 3.4-2 - Fix the commons-net link for rawhide. * Thu Jul 05 2012 Jeff Johnston - 3.4-1 - Update to RSE 3.4 * Wed May 2 2012 Alexander Kurtakov 3.3.1-2 - Use apache-commons-net instead of jakarta-commons-net. - Drop old stuff. * Mon Apr 02 2012 Jeff Johnston - 3.3.1-1 - Update to RSE 3.3.1 * Fri Jan 13 2012 Fedora Release Engineering - 3.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Dec 28 2011 Orion Poplawski 3.3-4 - Build org.eclipse.rse.useractions feature * Wed Dec 14 2011 Jeff Johnston 3.3-3 - Create server sub-package - Remove nested jars from plug-ins - Remove reconciler %%post and %%postun sections - Bump release * Mon Nov 28 2011 Jeff Johnston 3.3-1 - Upgrade to RSE 3.3 * Wed Oct 5 2011 Sami Wagiaalla 3.2-4 - Use the reconciler to install/uninstall plugins during rpm post and postun respectively. * Tue Feb 08 2011 Fedora Release Engineering - 3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 5 2011 Alexander Kurtakov 3.2-2 - Fix broken symlink. * Fri Jul 9 2010 Alexander Kurtakov 3.2-1 - Update to 3.2 (Helios). * Fri Mar 19 2010 Jeff Johnston 3.1.2-1 - Rebase to 3.1.2 (Galileo SR2 version). * Thu Feb 25 2010 Jeff Johnston 3.1.1-3 - Resolves: #567874 - Remove oro requirement as it is not needed. * Tue Oct 27 2009 Jeff Johnston 3.1.1-2 - Update plugin and feature version property files. * Tue Oct 20 2009 Jeff Johnston 3.1.1-1 - Move to 3.1.1 tarball. * Fri Aug 21 2009 Jeff Johnston 3.1-2 - Add BuildArch noarch. * Mon Aug 17 2009 Jeff Johnston 3.1-1 - Move to 3.1 tarball. * Wed Jul 29 2009 Jeff Johnston 3.0.3-4 - Resolves #514630 * Tue Jul 28 2009 Jeff Johnston 3.0.3-3 - Restrict arch support to those supported by prereq CDT. * Fri Jul 24 2009 Fedora Release Engineering - 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jul 23 2009 Jeff Johnston 3.0.3-1 - Initial release.