[java-sig-commits] [jsch/f17: 2/2] - Updated MANIFEST.MF to match the actual upstream version. - Added plugin.properties to get proper

Krzysztof Daniel kdaniel at fedoraproject.org
Thu Mar 15 16:26:27 UTC 2012


commit f541ffce8901a771139f6e6fa7ed67ba919c7838
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Thu Mar 15 16:33:29 2012 +0100

    - 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(-)
---
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 <kdaniel at redhat.com> 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 <akurtako at redhat.com> 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


More information about the java-sig-commits mailing list