Name: jsch-agent-proxy Version: 0.0.8 Release: 27%{?dist} Summary: Proxy to ssh-agent and Pageant in Java # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: http://www.jcraft.com/jsch-agent-proxy/ BuildArch: noarch ExclusiveArch: %{java_arches} noarch Source0: https://github.com/ymnk/jsch-agent-proxy/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(com.jcraft:jsch) BuildRequires: mvn(com.trilead:trilead-ssh2) BuildRequires: mvn(net.java.dev.jna:jna) BuildRequires: mvn(net.java.dev.jna:platform) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) # SSHj is not longer available in Fedora Obsoletes: %{name}-sshj <= 0.0.8-11 %description jsch-agent-proxy is a proxy program to OpenSSH ssh-agent and Pageant included Putty. It will be easily integrated into JSch, and users will be allowed to use those programs in authentications. This software has been developed for JSch, but it will be easily applicable to other ssh2 implementations in Java. This software is licensed under BSD style license. %package connector-factory Summary: Connector factory for jsch-agent-proxy %description connector-factory %{summary}. %package core Summary: jsch-agent-proxy core module %description core %{summary}. %package jsch Summary: JSch connector for jsch-agent-proxy %description jsch %{summary}. %package pageant Summary: Pageant connector for jsch-agent-proxy %description pageant %{summary}. %package sshagent Summary: ssh-agent connector for jsch-agent-proxy %description sshagent %{summary}. %package trilead-ssh2 Summary: trilead-ssh2 connector for jsch-agent-proxy %description trilead-ssh2 %{summary}. %package usocket-jna Summary: USocketFactory implementation using JNA %description usocket-jna %{summary}. %package usocket-nc Summary: USocketFactory implementation using Netcat %description usocket-nc %{summary}. %package javadoc Summary: API documentation for %{name} %description javadoc This package provides %{summary}. %prep %setup -q # remove unnecessary dependency on parent POM %pom_remove_parent # Put parent POM together with core module %mvn_package :jsch.agentproxy jsch.agentproxy.core # Unnecessary for RPM builds %pom_remove_plugin ":maven-javadoc-plugin" %pom_remove_plugin ":maven-source-plugin" %pom_xpath_remove pom:build/pom:extensions # Remove hard-coded compiler configuration %pom_remove_plugin ":maven-compiler-plugin" # SSHj not available in Fedora %pom_disable_module jsch-agent-proxy-sshj %build %mvn_build -s -- -Dmaven.compiler.release=8 -Dsource=1.8 -DdetectJavaApiLink=false %install %mvn_install %files core -f .mfiles-jsch.agentproxy.core %doc README README.md %license LICENSE.txt %files connector-factory -f .mfiles-jsch.agentproxy.connector-factory %files jsch -f .mfiles-jsch.agentproxy.jsch %files pageant -f .mfiles-jsch.agentproxy.pageant %files sshagent -f .mfiles-jsch.agentproxy.sshagent %files trilead-ssh2 -f .mfiles-jsch.agentproxy.svnkit-trilead-ssh2 %files usocket-jna -f .mfiles-jsch.agentproxy.usocket-jna %files usocket-nc -f .mfiles-jsch.agentproxy.usocket-nc %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Mon Sep 02 2024 Miroslav Suchý - 0.0.8-27 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 0.0.8-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Feb 27 2024 Jiri Vanek - 0.0.8-25 - Rebuilt for java-21-openjdk as system jdk * Wed Jan 24 2024 Fedora Release Engineering - 0.0.8-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.0.8-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.0.8-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.0.8-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.0.8-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Jiri Vanek - 0.0.8-19 - Rebuilt for Drop i686 JDKs * Sat Feb 05 2022 Jiri Vanek - 0.0.8-18 - Rebuilt for java-17-openjdk as system jdk * Thu Jan 20 2022 Fedora Release Engineering - 0.0.8-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.0.8-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.0.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Nov 7 2020 Mat Booth - 0.0.8-14 - Build with release flag * Sun Aug 30 2020 Fabio Valentini - 0.0.8-13 - Remove unnecessary dependency on parent POM. * Tue Jul 28 2020 Fedora Release Engineering - 0.0.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 13 2020 Mat Booth - 0.0.8-11 - Allow building against JDK 11 * Fri Feb 01 2019 Fedora Release Engineering - 0.0.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.0.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Apr 12 2018 Mat Booth - 0.0.8-8 - Use license macro - Enable minimal build without extra dependencies * Wed Apr 11 2018 Mat Booth - 0.0.8-7 - Drop BRs on unnecessary build plugins * Wed Feb 07 2018 Fedora Release Engineering - 0.0.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.0.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Mar 31 2015 Mikolaj Izdebski - 0.0.8-1 - Update to upstream version 0.0.8 * Mon Mar 30 2015 Michael Simacek - 0.0.7-7 - Fix parent POM BR * Sun Jun 08 2014 Fedora Release Engineering - 0.0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Mar 04 2014 Stanislav Ochotnicky - 0.0.7-5 - Use Requires: java-headless rebuild (#1067528) * Tue Jan 7 2014 Mikolaj Izdebski - 0.0.7-4 - Enable trilead-ssh2 module * Mon Jan 6 2014 Mikolaj Izdebski - 0.0.7-3 - Fix directory ownership * Mon Jan 6 2014 Mikolaj Izdebski - 0.0.7-2 - Fix a typo in javadoc pkg description - Install README files * Mon Jan 6 2014 Mikolaj Izdebski - 0.0.7-1 - Initial packaging