jsch: openEuler init
This commit is contained in:
parent
9b10ac8025
commit
689aa1f76b
15
MANIFEST.MF
Normal file
15
MANIFEST.MF
Normal file
@ -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.)
|
||||||
|
|
||||||
|
|
||||||
BIN
jsch-0.1.54.zip
Normal file
BIN
jsch-0.1.54.zip
Normal file
Binary file not shown.
59
jsch.spec
Normal file
59
jsch.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
Name: jsch
|
||||||
|
Version: 0.1.54
|
||||||
|
Release: 9
|
||||||
|
Summary: A 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
|
||||||
|
Source1: MANIFEST.MF
|
||||||
|
Source2: plugin.properties
|
||||||
|
BuildRequires: maven-local mvn(com.jcraft:jzlib) mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) zip
|
||||||
|
Requires: jzlib >= 0:1.0.5
|
||||||
|
Obsoletes: %{name}-demo < %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
JSch is a pure Java implementation of SSH2. 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. JSch is licensed under BSD style license.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: This package contains help documents
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Provides: jsch-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: jsch-javadoc < %{version}-%{release}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Files for help with jsch.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
%mvn_file : jsch
|
||||||
|
%pom_remove_plugin :maven-javadoc-plugin
|
||||||
|
%pom_xpath_remove pom:project/pom:build/pom:extensions
|
||||||
|
%pom_xpath_set pom:project/pom:version %{version}
|
||||||
|
%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]//pom:target'
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
install -d META-INF
|
||||||
|
install -D %{SOURCE1} META-INF
|
||||||
|
install -D %{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
|
||||||
|
%doc LICENSE.txt
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 12 2019 gulining<gulining1@huawei.com> - 0.1.54-8
|
||||||
|
- Pakcage init
|
||||||
13
plugin.properties
Normal file
13
plugin.properties
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user