-
Notifications
You must be signed in to change notification settings - Fork 0
/
rubygem-net-ssh-gateway.spec
62 lines (49 loc) · 1.69 KB
/
rubygem-net-ssh-gateway.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Generated from net-ssh-gateway-1.1.0.gem by gem2rpm -*- rpm-spec -*-
%define rbname net-ssh-gateway
%define version 1.1.0
%define release 2
Summary: A simple library to assist in establishing tunneled Net::SSH connections
Name: rubygem-%{rbname}
Version: %{version}
Release: %{release}
Group: Development/Ruby
License: Distributable
URL: http://net-ssh.rubyforge.org/gateway
Source0: %{rbname}-%{version}.gem
# Make sure the spec template is included in the SRPM
#Source1: rubygem-%{rbname}.spec.in
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: ruby
Requires: rubygems >= 1.8.10
Requires: rubygem-net-ssh >= 1.99.1
BuildRequires: ruby
BuildRequires: rubygems >= 1.8.10
BuildArch: noarch
Provides: rubygem(net-ssh-gateway) = %{version}
%define gemdir /usr/lib/ruby/gems/1.8
%define gembuilddir %{buildroot}%{gemdir}
%description
A simple library to assist in establishing tunneled Net::SSH connections
%prep
%setup -T -c
%build
%install
%{__rm} -rf %{buildroot}
mkdir -p %{gembuilddir}
gem install --local --install-dir %{gembuilddir} --force %{SOURCE0}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root)
%doc %{gemdir}/gems/net-ssh-gateway-1.1.0/CHANGELOG.rdoc
%doc %{gemdir}/gems/net-ssh-gateway-1.1.0/lib/net/ssh/gateway.rb
%{gemdir}/gems/net-ssh-gateway-1.1.0/Manifest
%{gemdir}/gems/net-ssh-gateway-1.1.0/Rakefile
%doc %{gemdir}/gems/net-ssh-gateway-1.1.0/README.rdoc
%{gemdir}/gems/net-ssh-gateway-1.1.0/setup.rb
%{gemdir}/gems/net-ssh-gateway-1.1.0/test/gateway_test.rb
%{gemdir}/gems/net-ssh-gateway-1.1.0/net-ssh-gateway.gemspec
%doc %{gemdir}/doc/net-ssh-gateway-1.1.0
%{gemdir}/cache/net-ssh-gateway-1.1.0.gem
%{gemdir}/specifications/net-ssh-gateway-1.1.0.gemspec
%changelog