[packages/ruby-sshkit] new, version 1.9.0

glen glen at pld-linux.org
Mon Mar 14 11:34:47 CET 2016


commit f3587102f0e627ac596b1acd83b8d815e2d6844b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Mar 14 12:34:23 2016 +0200

    new, version 1.9.0
    
    created with gem2rpm

 ruby-sshkit.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/ruby-sshkit.spec b/ruby-sshkit.spec
new file mode 100644
index 0000000..bb161db
--- /dev/null
+++ b/ruby-sshkit.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	sshkit
+Summary:	SSHKit makes it easy to write structured, testable SSH commands in Ruby
+Name:		ruby-%{pkgname}
+Version:	1.9.0
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	4eb808cf5a4ac954328fdc1965f5e232
+URL:		http://github.com/capistrano/sshkit
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-minitest >= 5.0.0
+BuildRequires:	ruby-minitest-reporters
+BuildRequires:	ruby-mocha
+BuildRequires:	ruby-rake
+BuildRequires:	ruby-rubocop
+BuildRequires:	ruby-unindent
+%endif
+Requires:	ruby-net-scp >= 1.1.2
+Requires:	ruby-net-ssh >= 2.8.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A comprehensive toolkit for remotely running commands in a structured
+manner on groups of servers.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
+%dir %{ruby_vendorlibdir}/core_ext
+%{ruby_vendorlibdir}/core_ext/array.rb
+%{ruby_vendorlibdir}/core_ext/hash.rb
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-sshkit.git/commitdiff/f3587102f0e627ac596b1acd83b8d815e2d6844b



More information about the pld-cvs-commit mailing list