Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > b9c5cb7fdac8909981b146063e0ad8cf > files > 2

apache-sshd-2.1.0-1.mga7.src.rpm

Name:           apache-sshd
Version:        2.1.0
Release:        %mkrel 1
Group:          Development/Java
Summary:        Apache SSHD
License:        ASL 2.0
URL:            http://mina.apache.org/sshd-project

Source0:        https://archive.apache.org/dist/mina/sshd/%{version}/apache-sshd-%{version}-src.tar.gz

# Avoids optional dep on tomcat libs
Patch0:         avoid-tomcat-dep.patch

BuildRequires:  maven-local
BuildRequires:  mvn(junit:junit)
BuildRequires:  mvn(net.i2p.crypto:eddsa)
BuildRequires:  mvn(org.apache:apache:pom:)
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires:  mvn(org.apache.maven:maven-archiver)
BuildRequires:  mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
BuildRequires:  mvn(org.apache.maven.surefire:surefire-junit47)
BuildRequires:  mvn(org.bouncycastle:bcpg-jdk15on)
BuildRequires:  mvn(org.bouncycastle:bcpkix-jdk15on)
BuildRequires:  mvn(org.codehaus.plexus:plexus-archiver)
BuildRequires:  mvn(org.slf4j:slf4j-api)

BuildArch:      noarch

%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
%patch0

# Avoid deps on tomcat and spring framework
%pom_remove_dep -r tomcat:tomcat-apr
rm -rf sshd-core/src/main/java/org/apache/sshd/agent/unix
%pom_remove_dep :spring-framework-bom

# Build the core modules only
%pom_disable_module assembly
%pom_disable_module sshd-putty
%pom_disable_module sshd-mina
%pom_disable_module sshd-netty
%pom_disable_module sshd-ldap
%pom_disable_module sshd-git
%pom_disable_module sshd-contrib
%pom_disable_module sshd-spring-sftp
%pom_disable_module sshd-cli

# Disable plugins we don't need for RPM builds
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :groovy-maven-plugin
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :maven-pmd-plugin
%pom_remove_plugin :animal-sniffer-maven-plugin

%build
# tests require ch.ethz.ganymed:ganymed-ssh2
%mvn_build -f

%install
%mvn_install

%files -f .mfiles
%license LICENSE.txt NOTICE.txt

%files javadoc -f .mfiles-javadoc
%license LICENSE.txt NOTICE.txt



%changelog
* Wed Dec 05 2018 daviddavid <daviddavid> 2.1.0-1.mga7
+ Revision: 1338572
- new version: 2.1.0 (sync with fc29)

* Tue Sep 18 2018 umeabot <umeabot> 0.14.0-4.mga7
+ Revision: 1260575
- Mageia 7 Mass Rebuild

* Tue Sep 18 2018 umeabot <umeabot> 0.14.0-3.mga7
+ Revision: 1260216
- Mageia 7 Mass Rebuild

* Tue Sep 18 2018 umeabot <umeabot> 0.14.0-2.mga7
+ Revision: 1259787
- Mageia 7 Mass Rebuild

* Tue Jun 21 2016 daviddavid <daviddavid> 0.14.0-1.mga6
+ Revision: 1037066
- new version: 0.14.0 (sync with fedora)
+ tv <tv>
- introduce %%license macro
- AutoReqProv: yes
+ umeabot <umeabot>
- Mageia 6 Mass Rebuild

* Fri Dec 26 2014 dmorgan <dmorgan> 0.11.0-3.mga5
+ Revision: 806169
- imported package apache-sshd