- Updated MANIFEST.MF to match the actual upstream version.

- Added plugin.properties to get proper vendor name in Eclipse.
This commit is contained in:
Krzysztof Daniel 2012-03-15 16:33:29 +01:00
parent 27b40fb4be
commit 02b9111d98
3 changed files with 32 additions and 11 deletions

View File

@ -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.)

View File

@ -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@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@redhat.com> 0:0.1.46-1
- Update to latest upstream version 0.1.46.

13
plugin.properties Normal file
View 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