[trilead-putty-extension/f19] Initial import

Michal Srb msrb at fedoraproject.org
Mon Jun 3 07:56:11 UTC 2013


commit 6f55306483f7b2c96376290aeb125b801b443d91
Author: Michal Srb <msrb at redhat.com>
Date:   Mon Jun 3 09:53:10 2013 +0200

    Initial import

 .gitignore                   |    2 +
 sources                      |    2 +
 trilead-putty-extension.spec |   62 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8602808 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/LICENSE.txt
+/trilead-putty-extension-1.2.tar.gz
diff --git a/sources b/sources
index e69de29..6260f4b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+db93d355935ac15a22b55cb4e08850fa  LICENSE.txt
+a2850e8b7186bafd5134e273728bca81  trilead-putty-extension-1.2.tar.gz
diff --git a/trilead-putty-extension.spec b/trilead-putty-extension.spec
new file mode 100644
index 0000000..fa52b69
--- /dev/null
+++ b/trilead-putty-extension.spec
@@ -0,0 +1,62 @@
+Name:           trilead-putty-extension
+Version:        1.2
+Release:        1%{?dist}
+Summary:        Extension to trilead-ssh2 for handling PuTTY keys
+
+License:        MIT
+URL:            https://github.com/kohsuke/%{name}
+Source0:        https://github.com/kohsuke/%{name}/archive/%{name}-%{version}.tar.gz
+# License text copied from header of one of the .java files
+# Upstream doesn't care much about license texts in repository
+# same upstream, different project: https://github.com/jenkinsci/remoting/pull/14
+Source1:        LICENSE.txt
+
+BuildRequires:  maven-local
+BuildRequires:  mvn(commons-io:commons-io)
+BuildRequires:  mvn(junit:junit)
+BuildRequires:  mvn(org.kohsuke:pom)
+BuildRequires:  mvn(org.tmatesoft.svnkit:trilead-ssh2)
+
+BuildArch:      noarch
+
+%description
+This is a small library that allows you to programatically convert
+the PuTTY key file (.ppk) to the OpenSSH format.
+
+%package        javadoc
+Summary:        Javadoc for %{name}
+
+%description    javadoc
+This package contains API javadoc documentation for %{name}
+
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+# Fix trilead-ssh2 groupId
+%pom_xpath_replace "pom:dependency[pom:artifactId[text()='trilead-ssh2']]/pom:groupId" \
+  "<groupId>org.tmatesoft.svnkit</groupId>"
+
+cp %{SOURCE1} LICENSE
+
+# Disable debugging
+%mvn_config "resolverSettings/debug" "false"
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%doc LICENSE
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE
+
+
+%changelog
+* Tue May 28 2013 Michal Srb <msrb at redhat.com> - 1.2-1
+- Initial package
+


More information about the scm-commits mailing list