2005-03-10 14:49:52 +00:00
|
|
|
Name: jsch
|
2016-08-31 12:38:20 +00:00
|
|
|
Version: 0.1.54
|
2020-08-30 12:21:41 +00:00
|
|
|
Release: 14%{?dist}
|
2005-03-10 14:49:52 +00:00
|
|
|
Summary: Pure Java implementation of SSH2
|
2008-05-29 14:26:41 +00:00
|
|
|
License: BSD
|
2005-03-10 14:49:52 +00:00
|
|
|
URL: http://www.jcraft.com/jsch/
|
2014-05-21 16:19:44 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2005-04-22 18:35:54 +00:00
|
|
|
Source0: http://download.sourceforge.net/sourceforge/jsch/jsch-%{version}.zip
|
2008-07-14 14:15:31 +00:00
|
|
|
# wget \
|
2010-01-11 16:40:09 +00:00
|
|
|
# http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/com.jcraft.jsch_0.1.41.v200903070017.jar
|
2008-07-14 14:15:31 +00:00
|
|
|
# unzip com.jcraft.jsch_*.jar META-INF/MANIFEST.MF
|
|
|
|
# mv META-INF/MANIFEST.MF .
|
|
|
|
# sed -i "/^Name/d" MANIFEST.MF
|
|
|
|
# sed -i "/^SHA1/d" MANIFEST.MF
|
|
|
|
# dos2unix MANIFEST.MF
|
|
|
|
# sed -i "/^$/d" MANIFEST.MF
|
|
|
|
# unix2dos MANIFEST.MF
|
2007-04-03 04:21:39 +00:00
|
|
|
Source1: MANIFEST.MF
|
2012-03-15 15:33:29 +00:00
|
|
|
Source2: plugin.properties
|
2008-04-07 17:34:57 +00:00
|
|
|
|
2015-06-05 13:32:12 +00:00
|
|
|
BuildRequires: maven-local
|
2016-06-15 07:56:01 +00:00
|
|
|
BuildRequires: mvn(com.jcraft:jzlib)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
2010-12-07 23:06:22 +00:00
|
|
|
BuildRequires: zip
|
2006-08-04 23:52:07 +00:00
|
|
|
|
2005-03-10 14:49:52 +00:00
|
|
|
Requires: jzlib >= 0:1.0.5
|
2015-06-05 13:32:12 +00:00
|
|
|
Obsoletes: %{name}-demo < %{version}
|
2005-03-10 14:49:52 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-06-05 15:06:22 +00:00
|
|
|
%mvn_file : jsch
|
2005-03-10 14:49:52 +00:00
|
|
|
|
2020-08-30 12:21:41 +00:00
|
|
|
# remove unnecessary dependency on parent POM
|
|
|
|
%pom_remove_parent
|
|
|
|
|
2017-02-23 13:57:32 +00:00
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
|
2015-06-05 13:32:12 +00:00
|
|
|
%pom_xpath_remove pom:project/pom:build/pom:extensions
|
2016-08-31 15:56:53 +00:00
|
|
|
%pom_xpath_set pom:project/pom:version %{version}
|
2015-06-05 13:32:12 +00:00
|
|
|
|
2018-08-07 08:34:11 +00:00
|
|
|
# Java 5 is too old
|
|
|
|
%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]//pom:target'
|
|
|
|
|
2005-03-10 14:49:52 +00:00
|
|
|
%build
|
2015-06-05 13:32:12 +00:00
|
|
|
%mvn_build
|
2005-03-10 14:49:52 +00:00
|
|
|
|
2007-04-03 04:21:39 +00:00
|
|
|
# inject the OSGi Manifest
|
|
|
|
mkdir META-INF
|
2007-06-08 04:35:06 +00:00
|
|
|
cp %{SOURCE1} META-INF
|
2012-03-15 15:33:29 +00:00
|
|
|
cp %{SOURCE2} plugin.properties
|
2015-06-05 13:32:12 +00:00
|
|
|
touch META-INF/MANIFEST.MF
|
|
|
|
touch plugin.properties
|
|
|
|
zip target/%{name}-%{version}.jar META-INF/MANIFEST.MF
|
|
|
|
zip target/%{name}-%{version}.jar plugin.properties
|
2007-04-03 04:21:39 +00:00
|
|
|
|
2005-03-10 14:49:52 +00:00
|
|
|
%install
|
2015-06-05 13:32:12 +00:00
|
|
|
%mvn_install
|
2012-11-01 14:47:37 +00:00
|
|
|
|
2014-05-21 16:19:44 +00:00
|
|
|
%files -f .mfiles
|
2015-06-05 13:32:12 +00:00
|
|
|
%license LICENSE.txt
|
2005-03-10 14:49:52 +00:00
|
|
|
|
2015-06-05 13:32:12 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE.txt
|
2005-03-10 14:49:52 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-08-30 12:21:41 +00:00
|
|
|
* Sun Aug 30 2020 Fabio Valentini <decathorpe@gmail.com> - 0.1.54-14
|
|
|
|
- Remove unnecessary dependency on parent POM.
|
|
|
|
|
2020-07-28 02:34:04 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 23:10:00 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0.1.54-12
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-01-29 06:27:09 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 10:48:59 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 04:46:13 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-07 08:34:11 +00:00
|
|
|
* Tue Aug 07 2018 Michael Simacek <msimacek@redhat.com> - 0.1.54-8
|
|
|
|
- Fix FTBFS
|
|
|
|
|
2018-07-13 06:39:50 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 19:14:35 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-26 14:41:56 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-23 13:57:32 +00:00
|
|
|
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.54-4
|
|
|
|
- Remove unneeded maven-javadoc-plugin invocation
|
|
|
|
|
2017-02-10 17:25:20 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.54-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-08-31 15:56:53 +00:00
|
|
|
* Wed Aug 31 2016 Alexander Kurtakov <akurtako@redhat.com> 0.1.54-2
|
|
|
|
- Fix version in pom.xml.
|
|
|
|
|
2016-08-31 12:38:20 +00:00
|
|
|
* Wed Aug 31 2016 Alexander Kurtakov <akurtako@redhat.com> - 0.1.54-1
|
|
|
|
- New upstream release 0.1.54
|
|
|
|
|
2016-06-15 07:56:01 +00:00
|
|
|
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.53-5
|
|
|
|
- Add missing build-requires
|
|
|
|
|
2016-02-04 01:26:38 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.53-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 12:35:17 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.53-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-05 15:06:22 +00:00
|
|
|
* Fri Jun 5 2015 Alexander Kurtakov <akurtako@redhat.com> 0.1.53-2
|
|
|
|
- Revert jsch.jar to not be in javadir subdir.
|
|
|
|
|
2015-06-05 13:32:12 +00:00
|
|
|
* Fri Jun 5 2015 Alexander Kurtakov <akurtako@redhat.com> 0.1.53-1
|
|
|
|
- Update to 0.1.53
|
|
|
|
- Build with xmvn.
|