2 # - what to do with net subdir?
3 Summary: Net::SSH - a pure-Ruby implementation of the SSH2 client protocol
4 Summary(pl.UTF-8): Net::SSH - implementacja protokołu klienckiego SSH2 w czystym Rubym
9 Source0: http://rubyforge.org/frs/download.php/63138/net-ssh-%{version}.tgz
10 # Source0-md5: bef3bc238f0ba1988c9ca12698cc4e35
11 Group: Development/Languages
12 URL: http://rubyforge.org/projects/net-ssh/
13 BuildRequires: rpmbuild(macros) >= 1.484
14 BuildRequires: ruby >= 1:1.8.6
15 BuildRequires: ruby-modules
16 %{?ruby_mod_ver_requires_eq}
17 Obsoletes: ruby-Net-SSH
18 Provides: ruby-Net-SSH
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 # nothing to be placed there. we're not noarch only because of ruby packaging
23 %define _enable_debug_packages 0
26 Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.
28 %description -l pl.UTF-8
29 Net::SSH to implementacja protokołu klienckiego SSH2 w czystym Rubym.
32 Summary: Documentation files for net-ssh library
33 Summary(pl.UTF-8): Pliki dokumentacji do biblioteki net-ssh
35 Requires: ruby >= 1:1.8.7-4
38 Documentation files for net-ssh library.
40 %description rdoc -l pl.UTF-8
41 Pliki dokumentacji do biblioteki net-ssh.
44 %setup -q -n net-ssh-%{version}
52 rm -f ri/Net/cdesc-Net.yaml
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{ruby_rdocdir}}
58 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
59 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
60 cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc CHANGELOG.rdoc README.rdoc THANKS.rdoc
69 %dir %{ruby_rubylibdir}/net
70 %{ruby_rubylibdir}/net/._ssh.rb
71 %{ruby_rubylibdir}/net/ssh.rb
72 %{ruby_rubylibdir}/net/ssh
75 %defattr(644,root,root,755)
76 %{ruby_rdocdir}/%{name}-%{version}
78 %dir %{ruby_ridir}/Net