evil-winrm: Initial import
This commit is contained in:
parent
bedfe62890
commit
6900c4a5d8
16 changed files with 606 additions and 0 deletions
BIN
evil-winrm/evil-winrm-2.4.gem
Normal file
BIN
evil-winrm/evil-winrm-2.4.gem
Normal file
Binary file not shown.
BIN
evil-winrm/gyoku-1.3.1.gem
Normal file
BIN
evil-winrm/gyoku-1.3.1.gem
Normal file
Binary file not shown.
BIN
evil-winrm/logging-2.3.0.gem
Normal file
BIN
evil-winrm/logging-2.3.0.gem
Normal file
Binary file not shown.
BIN
evil-winrm/nori-2.6.0.gem
Normal file
BIN
evil-winrm/nori-2.6.0.gem
Normal file
Binary file not shown.
72
evil-winrm/rubygem-evil-winrm.spec
Normal file
72
evil-winrm/rubygem-evil-winrm.spec
Normal file
|
@ -0,0 +1,72 @@
|
|||
# Generated from evil-winrm-2.4.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name evil-winrm
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 2.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Evil-WinRM
|
||||
License: LGPL-3.0
|
||||
URL: https://github.com/Hackplayers/evil-winrm
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.4
|
||||
BuildArch: noarch
|
||||
Provides: %{gem_name} = %{version}
|
||||
|
||||
|
||||
%description
|
||||
The ultimate WinRM shell for hacking/pentesting.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_bindir}/* \
|
||||
%{buildroot}%{_bindir}/
|
||||
|
||||
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# Run the test suite.
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{_bindir}/evil-winrm
|
||||
%{gem_instdir}/bin
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 2.4-1
|
||||
- Initial package
|
73
evil-winrm/rubygem-gyoku.spec
Normal file
73
evil-winrm/rubygem-gyoku.spec
Normal file
|
@ -0,0 +1,73 @@
|
|||
# Generated from gyoku-1.3.1.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name gyoku
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Translates Ruby Hashes to XML
|
||||
License: MIT
|
||||
URL: https://github.com/savonrb/gyoku
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 1.9.2
|
||||
# BuildRequires: rubygem(rspec)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Gyoku translates Ruby Hashes to XML.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%exclude %{gem_instdir}/.travis.yml
|
||||
%license %{gem_instdir}/MIT-LICENSE
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%exclude %{gem_instdir}/.rspec
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/gyoku.gemspec
|
||||
%{gem_instdir}/spec
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 1.3.1-1
|
||||
- Initial package
|
81
evil-winrm/rubygem-logging.spec
Normal file
81
evil-winrm/rubygem-logging.spec
Normal file
|
@ -0,0 +1,81 @@
|
|||
# Generated from logging-2.3.0.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name logging
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 2.3.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A flexible and extendable logging library for Ruby
|
||||
License: MIT
|
||||
URL: http://rubygems.org/gems/logging
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby
|
||||
# BuildRequires: rubygem(test-unit) >= 3.3
|
||||
# BuildRequires: rubygem(test-unit) < 4
|
||||
# BuildRequires: rubygem(bones-git) >= 1.3
|
||||
# BuildRequires: rubygem(bones-git) < 2
|
||||
# BuildRequires: rubygem(bones) >= 3.8.4
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
**Logging** is a flexible logging library for use in Ruby programs based on
|
||||
the
|
||||
design of Java's log4j library. It features a hierarchical logging system,
|
||||
custom level names, multiple output destinations per log event, custom
|
||||
formatting, and more.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%exclude %{gem_instdir}/.travis.yml
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_libdir}
|
||||
%{gem_instdir}/script
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/History.txt
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/examples
|
||||
%{gem_instdir}/logging.gemspec
|
||||
%{gem_instdir}/test
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 2.3.0-1
|
||||
- Initial package
|
76
evil-winrm/rubygem-nori.spec
Normal file
76
evil-winrm/rubygem-nori.spec
Normal file
|
@ -0,0 +1,76 @@
|
|||
# Generated from nori-2.6.0.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name nori
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 2.6.0
|
||||
Release: 1%{?dist}
|
||||
Summary: XML to Hash translator
|
||||
License: MIT
|
||||
URL: https://github.com/savonrb/nori
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 1.9.2
|
||||
# BuildRequires: rubygem(nokogiri) >= 1.4.0
|
||||
# BuildRequires: rubygem(rspec) >= 2.12
|
||||
# BuildRequires: rubygem(rspec) < 3
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
XML to Hash translator.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%exclude %{gem_instdir}/.travis.yml
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/benchmark
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%exclude %{gem_instdir}/.rspec
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/nori.gemspec
|
||||
%{gem_instdir}/spec
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 2.6.0-1
|
||||
- Initial package
|
77
evil-winrm/rubygem-rubyntlm.spec
Normal file
77
evil-winrm/rubygem-rubyntlm.spec
Normal file
|
@ -0,0 +1,77 @@
|
|||
# Generated from rubyntlm-0.6.3.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name rubyntlm
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.6.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Ruby/NTLM library
|
||||
License: MIT
|
||||
URL: https://github.com/winrb/rubyntlm
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 1.8.7
|
||||
# BuildRequires: rubygem(github_changelog_generator) = 1.14.3
|
||||
# BuildRequires: rubygem(pry)
|
||||
# BuildRequires: rubygem(rspec) >= 2.11
|
||||
# BuildRequires: rubygem(simplecov)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Ruby/NTLM provides message creator and parser for the NTLM authentication.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%exclude %{gem_instdir}/.gitignore
|
||||
%exclude %{gem_instdir}/.travis.yml
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%exclude %{gem_instdir}/.rspec
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/examples
|
||||
%{gem_instdir}/rubyntlm.gemspec
|
||||
%{gem_instdir}/spec
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.6.3-1
|
||||
- Initial package
|
73
evil-winrm/rubygem-stringio.spec
Normal file
73
evil-winrm/rubygem-stringio.spec
Normal file
|
@ -0,0 +1,73 @@
|
|||
# Generated from stringio-3.0.0.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name stringio
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 3.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Pseudo IO on String
|
||||
License: Ruby and BSD-2-Clause
|
||||
URL: https://github.com/ruby/stringio
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel >= 2.6
|
||||
BuildRequires: ruby-devel >= 2.5
|
||||
# Compiler is required for build of gem binary extension.
|
||||
# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires
|
||||
BuildRequires: gcc
|
||||
# BuildRequires: rubygem(rake-compiler)
|
||||
# BuildRequires: rubygem(test-unit)
|
||||
|
||||
%description
|
||||
Pseudo `IO` class from/to `String`.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}
|
||||
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
||||
|
||||
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
||||
rm -rf %{buildroot}%{gem_instdir}/ext/
|
||||
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_extdir_mri}
|
||||
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 3.0.0-1
|
||||
- Initial package
|
76
evil-winrm/rubygem-winrm-fs.spec
Normal file
76
evil-winrm/rubygem-winrm-fs.spec
Normal file
|
@ -0,0 +1,76 @@
|
|||
# Generated from winrm-fs-1.3.5.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name winrm-fs
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.3.5
|
||||
Release: 1%{?dist}
|
||||
Summary: WinRM File System
|
||||
License: Apache-2.0
|
||||
URL: http://github.com/WinRb/winrm-fs
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.4.0
|
||||
# BuildRequires: rubygem(pry)
|
||||
# BuildRequires: rubygem(rspec) >= 3.0
|
||||
# BuildRequires: rubygem(rspec) < 4
|
||||
# BuildRequires: rubygem(rubocop) >= 0.68.0
|
||||
# BuildRequires: rubygem(rubocop) < 0.69
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Ruby library for file system operations via Windows Remote Management.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_bindir}/* \
|
||||
%{buildroot}%{_bindir}/
|
||||
|
||||
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{_bindir}/rwinrmcp
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/bin
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 1.3.5-1
|
||||
- Initial package
|
78
evil-winrm/rubygem-winrm.spec
Normal file
78
evil-winrm/rubygem-winrm.spec
Normal file
|
@ -0,0 +1,78 @@
|
|||
# Generated from winrm-2.3.6.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name winrm
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 2.3.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Ruby library for Windows Remote Management
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/WinRb/WinRM
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.2.0
|
||||
# BuildRequires: rubygem(pry)
|
||||
# BuildRequires: rubygem(rb-readline)
|
||||
# BuildRequires: rubygem(rexml)
|
||||
# BuildRequires: rubygem(rspec) >= 3.2
|
||||
# BuildRequires: rubygem(rspec) < 4
|
||||
# BuildRequires: rubygem(rubocop) >= 0.51.0
|
||||
# BuildRequires: rubygem(rubocop) < 0.52
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Ruby library for Windows Remote Management.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
# Create the gem as gem install only works on a gem file
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
|
||||
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
||||
# by default, so that we can move it into the buildroot in %%install
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_bindir}/* \
|
||||
%{buildroot}%{_bindir}/
|
||||
|
||||
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
# rspec spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{_bindir}/rwinrm
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_instdir}/bin
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Sun May 30 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 2.3.6-1
|
||||
- Initial package
|
BIN
evil-winrm/rubyntlm-0.6.3.gem
Normal file
BIN
evil-winrm/rubyntlm-0.6.3.gem
Normal file
Binary file not shown.
BIN
evil-winrm/stringio-3.0.0.gem
Normal file
BIN
evil-winrm/stringio-3.0.0.gem
Normal file
Binary file not shown.
BIN
evil-winrm/winrm-2.3.6.gem
Normal file
BIN
evil-winrm/winrm-2.3.6.gem
Normal file
Binary file not shown.
BIN
evil-winrm/winrm-fs-1.3.5.gem
Normal file
BIN
evil-winrm/winrm-fs-1.3.5.gem
Normal file
Binary file not shown.
Loading…
Reference in a new issue