forked from pool/trilead-ssh2
This commit is contained in:
parent
707fd39c0c
commit
7dfcc22275
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 16 08:15:30 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Fix the license tag and clean up the spec file a bit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 24 15:15:41 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
Wed Oct 24 15:15:41 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package trilead-ssh2
|
# spec file for package trilead-ssh2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,13 +22,13 @@ Name: trilead-ssh2
|
|||||||
Version: %{buildver}.%{patchlvl}
|
Version: %{buildver}.%{patchlvl}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SSH-2 protocol implementation in pure Java
|
Summary: SSH-2 protocol implementation in pure Java
|
||||||
License: BSD AND MIT
|
License: BSD-3-Clause AND MIT
|
||||||
|
Group: Development/Libraries/Java
|
||||||
URL: https://github.com/jenkinsci/trilead-ssh2
|
URL: https://github.com/jenkinsci/trilead-ssh2
|
||||||
Source0: https://github.com/jenkinsci/%{name}/archive/%{name}-build%{buildver}-jenkins-%{patchlvl}.tar.gz
|
Source0: https://github.com/jenkinsci/%{name}/archive/%{name}-build%{buildver}-jenkins-%{patchlvl}.tar.gz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -41,6 +41,7 @@ crypto functionality is included.
|
|||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
API documentation for %{name}.
|
API documentation for %{name}.
|
||||||
@ -58,29 +59,21 @@ javadoc -d build/docs -source 6 $(find src -name \*.java | xargs)
|
|||||||
%install
|
%install
|
||||||
# jars
|
# jars
|
||||||
install -d -m 0755 %{buildroot}%{_javadir}
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
install -m 644 build/%{name}-%{version}.jar %{buildroot}%{_javadir}/
|
install -m 644 build/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
(cd %{buildroot}%{_javadir} && ln -s %{name}-%{version}.jar %{name}.jar)
|
|
||||||
|
|
||||||
# pom
|
# pom
|
||||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||||
%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar -a "org.tmatesoft.svnkit:trilead-ssh2","com.trilead:trilead-ssh2"
|
%add_maven_depmap %{name}.pom %{name}.jar -a "org.tmatesoft.svnkit:trilead-ssh2","com.trilead:trilead-ssh2"
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -aL build/docs/* %{buildroot}%{_javadocdir}/%{name}
|
cp -aL build/docs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files
|
%files -f .mfiles
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc HISTORY.txt README.txt
|
%doc HISTORY.txt README.txt
|
||||||
%{_javadir}/*
|
|
||||||
%{_mavenpomdir}/*
|
|
||||||
%if %{defined _maven_repository}
|
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
%else
|
|
||||||
%{_datadir}/maven-metadata/%{name}.xml*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user