Name: apache-sshd Version: 0.11.0 Release: 5%{?dist} Summary: Apache SSHD License: ASL 2.0 URL: http://mina.apache.org/sshd-project/ Source0: http://www.apache.org/dist/mina/sshd/%{version}/%{name}-%{version}-src.tar.gz BuildArch: noarch BuildRequires: apache-mina BuildRequires: bouncycastle >= 1.46 BuildRequires: bouncycastle-pkix BuildRequires: bouncycastle-pg BuildRequires: jzlib >= 1.1.0 BuildRequires: maven-local BuildRequires: maven-plugin-bundle BuildRequires: maven-plugin-testing-harness BuildRequires: maven-shared BuildRequires: tomcat-lib >= 7.0.25 %description Apache SSHD is a 100% pure java library to support the SSH protocols on both the client and server side. %package javadoc Summary: API documentation for %{name} %description javadoc This package provides %{name}. %prep %setup -q # Use tomcat-jni instead of unavailable tomcat-apr sed -i "s,tomcat,org.apache.tomcat,;s,tomcat-apr,tomcat-jni,;s,5.5.23,8.0.20," pom.xml */pom.xml # Build the core only: %pom_disable_module assembly %pom_disable_module sshd-pam %pom_disable_module sshd-sftp # Disable the plugins that we don't need: %pom_remove_plugin :maven-remote-resources-plugin # Too many files with unapproved license %pom_remove_plugin org.apache.rat:apache-rat-plugin %build # Skip the tests as they don't run correctly with the current # version of the jzlib compression library: %mvn_build -f %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %license LICENSE.txt NOTICE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt NOTICE.txt %changelog * Wed Jun 17 2015 Fedora Release Engineering - 0.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 09 2015 Michal Srb - 0.11.0-4 - AutoReqProv: yes - Build against tomcat-jni - Build only sshd-core * Fri Feb 13 2015 gil cattaneo 0.11.0-3 - introduce license macro * Sat Jun 07 2014 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 05 2014 gil cattaneo - 0.11.0-1 - Update to upstream 0.11.0 (rhbz#1094049) * Wed Nov 27 2013 Juan Hernandez - 0.9.0-3 - Revert to upstream version 0.8.0 due to bug 1021273. Note that the version number can't go backwards, so it stays at 0.9.0. * Mon Sep 30 2013 Juan Hernandez - 0.9.0-2 - Fix bouncycastle requirement * Mon Sep 30 2013 Juan Hernandez - 0.9.0-1 - Update to upstream 0.9.0 * Mon Aug 05 2013 gil cattaneo 0.7.0-5 - rebuilt rhbz#991979 - swith to Xmvn - adapt to new guideline - use pom macros - remove rpmlint warnings * Sat Aug 03 2013 Fedora Release Engineering - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 0.7.0-2 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Thu Jul 26 2012 Juan Hernandez - 0.7.0-1 - Update to upstream 0.7.0 * Wed Jul 18 2012 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 14 2012 Juan Hernandez 0.6.0-2 - Corrected the source URL * Sun Feb 12 2012 Juan Hernandez 0.6.0-1 - Initial packaging