From 24882a3998e561b498f5c21c42cc340e00ce0ea3 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Fri, 5 May 2023 17:23:57 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + MANIFEST.MF | 15 ++++++ jsch.spec | 117 ++++++++++++++++++++++++++++++++++++++++++++++ plugin.properties | 13 ++++++ sources | 1 + 5 files changed, 147 insertions(+) create mode 100644 .gitignore create mode 100644 MANIFEST.MF create mode 100644 jsch.spec create mode 100644 plugin.properties create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fae125f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/jsch-0.1.55.zip diff --git a/MANIFEST.MF b/MANIFEST.MF new file mode 100644 index 0000000..b0fbaba --- /dev/null +++ b/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %bundleName +Bundle-SymbolicName: com.jcraft.jsch +Bundle-Version: 0.1.54 +Bundle-Vendor: %venderName +Bundle-Localization: plugin +Export-Package: com.jcraft.jsch;version="0.1.54", + com.jcraft.jsch.jce;version="0.1.54";x-internal:=true, + com.jcraft.jsch.jcraft;version="0.1.54";x-internal:=true, + com.jcraft.jsch.jgss;version="0.1.54";x-internal:=true +Bundle-RequiredExecutionEnvironment: J2SE-1.4 +Created-By: 1.4.0 (Sun Microsystems Inc.) + + diff --git a/jsch.spec b/jsch.spec new file mode 100644 index 0000000..2208d39 --- /dev/null +++ b/jsch.spec @@ -0,0 +1,117 @@ +Name: jsch +Version: 0.1.55 +Release: 3%{?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 +# 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 + +%description +JSch allows you to connect to an sshd server and use port forwarding, +X11 forwarding, file transfer, etc., and you can integrate its +functionality into your own Java programs. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +%{summary}. + +%prep +%setup -q +%mvn_file : jsch + +%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} + +%build +%mvn_build + +# inject the OSGi Manifest +mkdir META-INF +cp %{SOURCE1} META-INF +cp %{SOURCE2} plugin.properties +touch META-INF/MANIFEST.MF +touch plugin.properties +zip target/%{name}-%{version}.jar META-INF/MANIFEST.MF +zip target/%{name}-%{version}.jar plugin.properties + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 0.1.55-3 +- Mass rebuild for javapackages-tools 201902 + +* Fri May 24 2019 Mikolaj Izdebski - 0.1.55-2 +- Mass rebuild for javapackages-tools 201901 + +* Mon May 13 2019 Mikolaj Izdebski - 0.1.55-1 +- Update to upstream version 0.1.55 + +* Wed Sep 5 2018 Mikolaj Izdebski - 0.1.54-7 +- Remove unneeded maven-compiler-plugin configuration + +* Wed Feb 07 2018 Fedora Release Engineering - 0.1.54-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.1.54-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Feb 23 2017 Mikolaj Izdebski - 0.1.54-4 +- Remove unneeded maven-javadoc-plugin invocation + +* Fri Feb 10 2017 Fedora Release Engineering - 0.1.54-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Aug 31 2016 Alexander Kurtakov 0.1.54-2 +- Fix version in pom.xml. + +* Wed Aug 31 2016 Alexander Kurtakov - 0.1.54-1 +- New upstream release 0.1.54 + +* Wed Jun 15 2016 Mikolaj Izdebski - 0.1.53-5 +- Add missing build-requires + +* Thu Feb 04 2016 Fedora Release Engineering - 0.1.53-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.1.53-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 5 2015 Alexander Kurtakov 0.1.53-2 +- Revert jsch.jar to not be in javadir subdir. + +* Fri Jun 5 2015 Alexander Kurtakov 0.1.53-1 +- Update to 0.1.53 +- Build with xmvn. diff --git a/plugin.properties b/plugin.properties new file mode 100644 index 0000000..a0f0aaa --- /dev/null +++ b/plugin.properties @@ -0,0 +1,13 @@ +############################################################################### +# Copyright (c) 2006 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Atsuhiko Yamanaka, JCraft,Inc. - initial API and implementation. +# IBM Corporation - implementation +############################################################################### +venderName=JCraft, Inc. +bundleName=JSch diff --git a/sources b/sources new file mode 100644 index 0000000..58622fe --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (jsch-0.1.55.zip) = 334b550594272fe179f13fb6bbfc0a353334586786db2b3279608b85cdab3dd604e6dd04aa2376b5532816d906133e636b5359dda36c449d90173be501c61418