Sync from SUSE:SLFO:Main rubygem-net-sftp revision 68f867a1e14dfe55759cadb657985599

This commit is contained in:
Adrian Schröter 2025-02-06 18:27:46 +01:00
commit 8bdef46915
5 changed files with 230 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

69
gem2rpm.yml Normal file
View File

@ -0,0 +1,69 @@
---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
:post_install: |-
find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.github' -o -name '.gitignore' \) | xargs rm -rf
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#

BIN
net-sftp-4.0.0.gem (Stored with Git LFS) Normal file

Binary file not shown.

77
rubygem-net-sftp.changes Normal file
View File

@ -0,0 +1,77 @@
-------------------------------------------------------------------
Tue Nov 1 14:32:51 UTC 2022 - Dan Čermák <dcermak@suse.com>
- New upstream release 4.0.0
see installed CHANGES.txt
-------------------------------------------------------------------
Thu May 7 21:07:19 UTC 2020 - Stephan Kulow <coolo@suse.com>
- updated to version 3.0.0
see installed CHANGES.txt
=== 3.0.0
* Pass protocol version via Net::SFTP.start [#107]
* Net-ssh 6.0 support [#106]
-------------------------------------------------------------------
Thu Oct 16 06:19:29 UTC 2014 - coolo@suse.com
- adapt to new rubygem packaging
-------------------------------------------------------------------
Wed May 8 06:39:38 UTC 2013 - coolo@suse.com
- updated to version 2.1.2
* Fix fragmentation download failure [accardi]
-------------------------------------------------------------------
Tue Mar 5 09:05:03 UTC 2013 - coolo@suse.com
- updated to version 2.1.1
* Added public cert. All gem releases are now signed. See INSTALL in readme.
* Remove self-require, it causes a warning in Ruby 1.9.2. [jbarnette]
* Allow for upload to use the filename of the local file by default [czarneckid]
* Properly handle receiving less data than requested. [thedarkone]
* Added option to create directory on directory upload [Pablo Merino]
* Remove a warnings in tests [kachick]
-------------------------------------------------------------------
Thu Mar 8 08:47:11 UTC 2012 - saschpe@suse.de
- Update to version 2.0.5:
* Fixed missing StringIO exception in download!
- Fixed license, according to README.rdoc, it's MIT
-------------------------------------------------------------------
Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de
- use rubygems_requires macro
-------------------------------------------------------------------
Mon Dec 21 16:35:12 UTC 2009 - prusnak@suse.cz
- update to 2.0.4
-------------------------------------------------------------------
Thu Mar 26 02:56:25 CET 2009 - mrueckert@suse.de
- update to 2.0.2
-------------------------------------------------------------------
Mon Jan 26 17:03:00 CET 2009 - mrueckert@suse.de
- update to 2.0.1
-------------------------------------------------------------------
Wed Jun 21 01:15:02 CEST 2006 - mrueckert@suse.de
- use rubygems_with_buildroot_patch instead of the versioned
buildrequires
-------------------------------------------------------------------
Mon Jun 19 22:32:35 CEST 2006 - mrueckert@suse.de
- Initial package version 1.1.0

58
rubygem-net-sftp.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package rubygem-net-sftp
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define mod_name net-sftp
%define mod_full_name %{mod_name}-%{version}
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-net-sftp
Version: 4.0.0
Release: 0
Summary: A pure Ruby implementation of the SFTP client protocol
License: MIT
Group: Development/Languages/Ruby
URL: https://github.com/net-ssh/net-sftp
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
%description
A pure Ruby implementation of the SFTP client protocol.
%prep
%build
%install
%gem_install \
--doc-files="CHANGES.txt LICENSE.txt README.rdoc" \
-f
# MANUAL
find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.github' -o -name '.gitignore' \) | xargs rm -rf
# /MANUAL
%gem_packages
%changelog