rpms/jsch/devel MANIFEST.MF,NONE,1.1 jsch.spec,1.19,1.20

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 3 04:21:42 UTC 2007


Author: bkonrath

Update of /cvs/dist/rpms/jsch/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv1367

Modified Files:
	jsch.spec 
Added Files:
	MANIFEST.MF 
Log Message:
* Tue Apr 3 2007 Ben Konrath <bkonrath at redhat.com> - 0:0.1.28-1jpp.6
- Add OSGi Manifest to jar.



--- NEW FILE MANIFEST.MF ---
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Version: 0.1.28
Export-Package: com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true,
  com.jcraft.jsch.jcraft;x-internal:=true
Created-By: 1.4.0 (Sun Microsystems Inc.)
Bundle-SymbolicName: com.jcraft.jsch
Bundle-Name: %bundleName
Bundle-Localization: plugin
Bundle-Vendor: %venderName
Bundle-ClassPath: .
Bundle-RequiredExecutionEnvironment: J2SE-1.4



Index: jsch.spec
===================================================================
RCS file: /cvs/dist/rpms/jsch/devel/jsch.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- jsch.spec	10 Aug 2006 15:28:36 -0000	1.19
+++ jsch.spec	3 Apr 2007 04:21:39 -0000	1.20
@@ -36,13 +36,18 @@
 
 Name:           jsch
 Version:        0.1.28
-Release:        1jpp.5
+Release:        1jpp.6
 Epoch:          0
 Summary:        Pure Java implementation of SSH2
 Group:          Development/Libraries/Java
 License:        BSD-style
 URL:            http://www.jcraft.com/jsch/
 Source0:        http://download.sourceforge.net/sourceforge/jsch/jsch-%{version}.zip
+# wget http://download.eclipse.org/tools/orbit/downloads/drops/S200703261521/bundles/com.jcraft.jsch_0.1.28.jar
+# unzip com.jcraft.jsch_0.1.28.jar META-INF/MANIFEST.MF
+# mv META-INF/MANIFEST.MF
+# rmdir META-INF
+Source1:        MANIFEST.MF
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  jpackage-utils >= 0:1.5
@@ -92,6 +97,11 @@
 export CLASSPATH=$(build-classpath jzlib)
 ant dist javadoc 
 
+# inject the OSGi Manifest
+mkdir META-INF
+mv %{SOURCE1} META-INF
+zip dist/lib/%{name}-*.jar META-INF/MANIFEST.MF
+
 %install
 # jars
 rm -rf $RPM_BUILD_ROOT
@@ -163,6 +173,9 @@
 
 
 %changelog
+* Tue Apr 3 2007 Ben Konrath <bkonrath at redhat.com> - 0:0.1.28-1jpp.6
+- Add OSGi Manifest to jar.
+
 * Thu Aug 10 2006 Deepak Bhole <dbhole at redhat.com> - 0:0.1.28-1jpp.5
 - Updated changelog entries in spec.
 




More information about the fedora-cvs-commits mailing list