|
|
|
@ -1,23 +1,32 @@
|
|
|
|
|
Name: jsch
|
|
|
|
|
Version: 0.1.55
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.1.54
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Summary: Pure Java implementation of SSH2
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://www.jcraft.com/jsch/
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Source0: http://download.sourceforge.net/sourceforge/jsch/jsch-%{version}.zip
|
|
|
|
|
# stripped manifest based on
|
|
|
|
|
# https://download.eclipse.org/tools/orbit/downloads/drops2/R20201130205003/repository/plugins/com.jcraft.jsch_0.1.55.v20190404-1902.jar
|
|
|
|
|
# wget \
|
|
|
|
|
# http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/com.jcraft.jsch_0.1.41.v200903070017.jar
|
|
|
|
|
# unzip com.jcraft.jsch_*.jar META-INF/MANIFEST.MF
|
|
|
|
|
# mv META-INF/MANIFEST.MF .
|
|
|
|
|
# sed -i "/^Name/d" MANIFEST.MF
|
|
|
|
|
# sed -i "/^SHA1/d" MANIFEST.MF
|
|
|
|
|
# dos2unix MANIFEST.MF
|
|
|
|
|
# sed -i "/^$/d" MANIFEST.MF
|
|
|
|
|
# unix2dos MANIFEST.MF
|
|
|
|
|
Source1: MANIFEST.MF
|
|
|
|
|
Source2: plugin.properties
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(com.jcraft:jzlib)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
|
|
|
BuildRequires: zip
|
|
|
|
|
|
|
|
|
|
Requires: jzlib >= 0:1.0.5
|
|
|
|
|
Obsoletes: %{name}-demo < %{version}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
JSch allows you to connect to an sshd server and use port forwarding,
|
|
|
|
@ -34,14 +43,14 @@ Summary: Javadoc for %{name}
|
|
|
|
|
%setup -q
|
|
|
|
|
%mvn_file : jsch
|
|
|
|
|
|
|
|
|
|
%pom_remove_parent
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
|
%pom_remove_plugin :maven-compiler-plugin
|
|
|
|
|
|
|
|
|
|
%pom_xpath_remove pom:project/pom:build/pom:extensions
|
|
|
|
|
%pom_xpath_set pom:project/pom:version %{version}
|
|
|
|
|
|
|
|
|
|
# Java 5 is too old
|
|
|
|
|
%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]//pom:target'
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
|
@ -64,55 +73,18 @@ zip target/%{name}-%{version}.jar plugin.properties
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 0.1.55-6
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.55-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Tue Jun 29 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.55-4
|
|
|
|
|
- Fix maven-compiler-plugin configuration
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.55-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.55-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 12 2021 Alexander Kurtakov <akurtako@redhat.com> 0.1.55-1
|
|
|
|
|
- Update to latest upstream version.
|
|
|
|
|
|
|
|
|
|
* Sun Aug 30 2020 Fabio Valentini <decathorpe@gmail.com> - 0.1.54-14
|
|
|
|
|
- Remove unnecessary dependency on parent POM.
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0.1.54-12
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.55-3
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.55-2
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
* Mon May 13 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.55-1
|
|
|
|
|
- Update to upstream version 0.1.55
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 5 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.54-7
|
|
|
|
|
- Remove unneeded maven-compiler-plugin configuration
|
|
|
|
|
|
|
|
|
|
* Tue Aug 07 2018 Michael Simacek <msimacek@redhat.com> - 0.1.54-8
|
|
|
|
|
- Fix FTBFS
|
|
|
|
|
|
|
|
|
@ -151,4 +123,4 @@ zip target/%{name}-%{version}.jar plugin.properties
|
|
|
|
|
|
|
|
|
|
* Fri Jun 5 2015 Alexander Kurtakov <akurtako@redhat.com> 0.1.53-1
|
|
|
|
|
- Update to 0.1.53
|
|
|
|
|
- Build with xmvn.
|
|
|
|
|
- Build with xmvn.
|