[rubygem-net-sftp] Initial import

Michal Fojtik mfojtik at fedoraproject.org
Sun Oct 17 14:17:41 UTC 2010


commit 916143fd8039e862ac3c18134aed3b90588b8a2e
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Sun Oct 17 16:17:35 2010 +0200

    Initial import

 .gitignore            |    1 +
 rubygem-net-sftp.spec |   74 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6fbf39c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/net-sftp-2.0.5.gem
diff --git a/rubygem-net-sftp.spec b/rubygem-net-sftp.spec
new file mode 100644
index 0000000..6f9376f
--- /dev/null
+++ b/rubygem-net-sftp.spec
@@ -0,0 +1,74 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname net-sftp
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: A pure Ruby implementation of the SFTP client protocol
+Name: rubygem-%{gemname}
+Version: 2.0.5
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT or LGPLv2
+URL: http://net-ssh.rubyforge.org/sftp
+Source0: http://rubygems.org/downloads/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: rubygems
+Requires: rubygem(net-ssh)
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+A pure Ruby implementation of the SFTP client protocol
+
+%package        doc
+Summary:        Documentation for %{name}
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+
+%description	doc
+This package contains documentation for %{name}.
+
+%prep
+
+%build
+
+# NOTE: There are some tests, but they require 'echoe' and a lot of patching.
+# I've contacted upstream to fix this.
+%check
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{geminstdir}/lib
+%doc %{geminstdir}/CHANGELOG.rdoc
+%doc %{geminstdir}/Manifest
+%doc %{geminstdir}/README.rdoc
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%defattr(-, root, root, -)
+%{geminstdir}/test
+%{geminstdir}/Rakefile
+%{geminstdir}/net-sftp.gemspec
+%{gemdir}/doc/%{gemname}-%{version}
+# License: LGPL version 2.1
+%{geminstdir}/setup.rb
+
+%changelog
+* Thu Oct 14 2010 Michal Fojtik <mfojtik at redhat.com> - 2.0.5-2
+- Fixed license
+- Fixes source0 URL
+
+* Wed Oct 13 2010 Michal Fojtik <mfojtik at redhat.com> - 2.0.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..c6f9997 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+108bbbbda6fae6cd7fd288bff4a00602  net-sftp-2.0.5.gem


More information about the scm-commits mailing list