Blame SPECS/eclipse-rse.spec

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