From 02b9111d9820303299735dac51e224fef4890d3f Mon Sep 17 00:00:00 2001 From: Krzysztof Daniel Date: Thu, 15 Mar 2012 16:33:29 +0100 Subject: [PATCH] - Updated MANIFEST.MF to match the actual upstream version. - Added plugin.properties to get proper vendor name in Eclipse. --- MANIFEST.MF | 21 +++++++++++---------- jsch.spec | 9 ++++++++- plugin.properties | 13 +++++++++++++ 3 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 plugin.properties diff --git a/MANIFEST.MF b/MANIFEST.MF index 4d68858..64e79e7 100644 --- a/MANIFEST.MF +++ b/MANIFEST.MF @@ -1,14 +1,15 @@ Manifest-Version: 1.0 -Bundle-RequiredExecutionEnvironment: J2SE-1.4 -Bundle-SymbolicName: com.jcraft.jsch Bundle-ManifestVersion: 2 -Created-By: 1.4.0 (Sun Microsystems Inc.) Bundle-Name: %bundleName -Bundle-Localization: plugin -Bundle-Version: 0.1.41.v200903070017 -Bundle-ClassPath: . +Bundle-SymbolicName: com.jcraft.jsch +Bundle-Version: 0.1.46.v201101211721 Bundle-Vendor: %venderName -Export-Package: com.jcraft.jsch;version="0.1.41",com.jcraft.jsch.jce;v - ersion="0.1.41";x-internal:=true,com.jcraft.jsch.jcraft;version="0.1. - 41";x-internal:=true,com.jcraft.jsch.jgss;version="0.1.41";x-internal - :=true +Bundle-Localization: plugin +Export-Package: com.jcraft.jsch;version="0.1.46", + com.jcraft.jsch.jce;version="0.1.46";x-internal:=true, + com.jcraft.jsch.jcraft;version="0.1.46";x-internal:=true, + com.jcraft.jsch.jgss;version="0.1.46";x-internal:=true +Bundle-RequiredExecutionEnvironment: J2SE-1.4 +Created-By: 1.4.0 (Sun Microsystems Inc.) + + diff --git a/jsch.spec b/jsch.spec index 51046bc..db2b9d4 100644 --- a/jsch.spec +++ b/jsch.spec @@ -30,7 +30,7 @@ Name: jsch Version: 0.1.46 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 0 Summary: Pure Java implementation of SSH2 Group: Development/Libraries @@ -47,6 +47,7 @@ Source0: http://download.sourceforge.net/sourceforge/jsch/jsch-%{version} # sed -i "/^$/d" MANIFEST.MF # unix2dos MANIFEST.MF Source1: MANIFEST.MF +Source2: plugin.properties BuildRequires: jpackage-utils >= 0:1.5 BuildRequires: java-devel >= 1.4.2 @@ -90,7 +91,9 @@ ant dist javadoc # inject the OSGi Manifest mkdir META-INF cp %{SOURCE1} META-INF +cp %{SOURCE2} plugin.properties zip dist/lib/%{name}-*.jar META-INF/MANIFEST.MF +zip dist/lib/%{name}-*.jar plugin.properties %install # jars @@ -120,6 +123,10 @@ ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name} %changelog +* Thu Mar 15 2012 Krzysztof Daniel 0:0.1.46-2 +- Updated MANIFEST.MF to match the actual upstream version. +- Added plugin.properties to get proper vendor name in Eclipse. + * Wed Feb 15 2012 Alexander Kurtakov 0:0.1.46-1 - Update to latest upstream version 0.1.46. 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