]>
Commit | Line | Data |
---|---|---|
29249a5c ER |
1 | %define pkgname net-ssh-multi |
2 | Summary: Control multiple Net::SSH connections via a single interface | |
3 | Name: ruby-%{pkgname} | |
4 | Version: 1.2.0 | |
274052f6 | 5 | Release: 2 |
29249a5c ER |
6 | License: Distributable |
7 | Group: Development/Languages | |
8 | Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem | |
9 | # Source0-md5: 1c8dbed63e805bf6a663cde2c76d4b45 | |
10 | URL: https://github.com/net-ssh/net-scp | |
11 | Requires: ruby-mocha | |
12 | Requires: ruby-net-ssh >= 2.6.5 | |
13 | Requires: ruby-net-ssh-gateway >= 1.2.0 | |
14 | Requires: ruby-test-unit | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Control multiple Net::SSH connections via a single interface. | |
20 | ||
21 | %prep | |
22 | %setup -q -n %{pkgname}-%{version} | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir} | |
27 | cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir} | |
28 | ||
29 | %clean | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | %files | |
33 | %defattr(644,root,root,755) | |
34 | %doc README.rdoc CHANGES.txt LICENSE.txt | |
35 | %{ruby_vendorlibdir}/net/ssh/multi.rb | |
36 | %{ruby_vendorlibdir}/net/ssh/multi |