From 45e7718b4d4ecc659ba94f4d4d2b3c9cc185b44b80a5aaf8f836f5e6ba01d22a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 1 May 2009 12:01:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jsch?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + jsch-0.1.40.zip | 3 ++ jsch.changes | 5 +++ jsch.spec | 109 ++++++++++++++++++++++++++++++++++++++++++++++++ ready | 0 6 files changed, 141 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 jsch-0.1.40.zip create mode 100644 jsch.changes create mode 100644 jsch.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jsch-0.1.40.zip b/jsch-0.1.40.zip new file mode 100644 index 0000000..8334552 --- /dev/null +++ b/jsch-0.1.40.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca9d2ae08fd7a8983fb00d04f0f0c216a985218a5eb364ff9bee73870f28e097 +size 270403 diff --git a/jsch.changes b/jsch.changes new file mode 100644 index 0000000..f68553e --- /dev/null +++ b/jsch.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Apr 28 11:23:11 CEST 2009 - mvyskocil@suse.cz + +- Initial SUSE packaging of version 0.1.40 (from jpp5) + diff --git a/jsch.spec b/jsch.spec new file mode 100644 index 0000000..3ede5d1 --- /dev/null +++ b/jsch.spec @@ -0,0 +1,109 @@ +# +# spec file for package jsch (Version 0.1.40) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define section free + +Name: jsch +Version: 0.1.40 +Release: 2 +Summary: Pure Java implementation of SSH2 +Group: Development/Libraries/Java +License: BSD 3-Clause +Url: http://www.jcraft.com/jsch/ +Source0: http://downloads.sourceforge.net/sourceforge/jsch/jsch-%{version}.zip +Requires: jzlib +BuildRequires: jpackage-utils +BuildRequires: java-devel +BuildRequires: jzlib +BuildRequires: ant +BuildRequires: unzip +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +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. + + + +%package javadoc +License: BSD 3-Clause +Summary: Pure Java implementation of SSH2 +Group: Development/Libraries/Java + +%description javadoc +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. + + + +%package demo +License: BSD 3-Clause +Summary: Pure Java implementation of SSH2 +Group: Development/Libraries/Java + +%description demo +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. + + + +%prep +%setup -q + +%build +export CLASSPATH=$(build-classpath jzlib) +export OPT_JAR_LIST=: +ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 dist javadoc + +%install +# jars +install -Dpm 644 dist/lib/%{name}-*.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar +ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +# javadoc +install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} +cp -pr javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version} +ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} +# examples +install -dm 755 %{buildroot}%{_datadir}/%{name} +cp -pr examples/* %{buildroot}%{_datadir}/%{name} + +%clean +rm -rf %{buildroot} + +%files +%defattr(0644,root,root,0755) +%doc LICENSE.txt +%{_javadir}/%{name}.jar +%{_javadir}/%{name}-%{version}.jar + +%files javadoc +%defattr(0644,root,root,0755) +%{_javadocdir}/%{name}-%{version} +%{_javadocdir}/%{name} + +%files demo +%defattr(0644,root,root,0755) +%{_datadir}/%{name} + +%changelog +* Tue Apr 28 2009 mvyskocil@suse.cz +- Initial SUSE packaging of version 0.1.40 (from jpp5) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4