Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rubygem-foreman_probing_core package #2772

Merged
merged 1 commit into from Feb 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions comps/comps-foreman-plugins-rhel7.xml
Expand Up @@ -87,6 +87,7 @@
<packagereq type="default">tfm-rubygem-foreman_omaha</packagereq>
<packagereq type="default">tfm-rubygem-foreman_one</packagereq>
<packagereq type="default">tfm-rubygem-foreman_openscap</packagereq>
<packagereq type="default">tfm-rubygem-foreman_probing_core</packagereq>
<packagereq type="default">tfm-rubygem-foreman_remote_execution</packagereq>
<packagereq type="default">tfm-rubygem-foreman_remote_execution_core</packagereq>
<packagereq type="default">tfm-rubygem-foreman_rescue</packagereq>
Expand Down Expand Up @@ -126,7 +127,9 @@
<packagereq type="default">tfm-rubygem-prawn</packagereq>
<packagereq type="default">tfm-rubygem-puppetdb_foreman</packagereq>
<packagereq type="default">tfm-rubygem-rainbow</packagereq>
<packagereq type="default">tfm-rubygem-rprogram</packagereq>
<packagereq type="default">tfm-rubygem-rqrcode</packagereq>
<packagereq type="default">tfm-rubygem-ruby-nmap</packagereq>
<packagereq type="default">tfm-rubygem-safe_yaml</packagereq>
<packagereq type="default">tfm-rubygem-smart_proxy_dynflow_core</packagereq>
<packagereq type="default">tfm-rubygem-systemu</packagereq>
Expand Down Expand Up @@ -207,6 +210,7 @@
<packagereq type="default">tfm-rubygem-foreman_omaha-doc</packagereq>
<packagereq type="default">tfm-rubygem-foreman_one-doc</packagereq>
<packagereq type="default">tfm-rubygem-foreman_openscap-doc</packagereq>
<packagereq type="default">tfm-rubygem-foreman_probing_core-doc</packagereq>
<packagereq type="default">tfm-rubygem-foreman_remote_execution_core-doc</packagereq>
<packagereq type="default">tfm-rubygem-foreman_remote_execution-doc</packagereq>
<packagereq type="default">tfm-rubygem-foreman_rescue-doc</packagereq>
Expand Down Expand Up @@ -247,7 +251,9 @@
<packagereq type="default">tfm-rubygem-prawn-doc</packagereq>
<packagereq type="default">tfm-rubygem-puppetdb_foreman-doc</packagereq>
<packagereq type="default">tfm-rubygem-rainbow-doc</packagereq>
<packagereq type="default">tfm-rubygem-rprogram-doc</packagereq>
<packagereq type="default">tfm-rubygem-rqrcode-doc</packagereq>
<packagereq type="default">tfm-rubygem-ruby-nmap-doc</packagereq>
<packagereq type="default">tfm-rubygem-safe_yaml-doc</packagereq>
<packagereq type="default">tfm-rubygem-smart_proxy_dynflow_core-doc</packagereq>
<packagereq type="default">tfm-rubygem-systemu-doc</packagereq>
Expand Down
3 changes: 3 additions & 0 deletions package_manifest.yaml
Expand Up @@ -578,6 +578,7 @@ plugin_scl_packages:
rubygem-foreman_omaha: {}
rubygem-foreman_one: {}
rubygem-foreman_openscap: {}
rubygem-foreman_probing_core: {}
rubygem-foreman_remote_execution: {}
rubygem-foreman_remote_execution_core: {}
rubygem-foreman_rescue: {}
Expand Down Expand Up @@ -617,7 +618,9 @@ plugin_scl_packages:
rubygem-prawn: {}
rubygem-puppetdb_foreman: {}
rubygem-rainbow: {}
rubygem-rprogram: {}
rubygem-rqrcode: {}
rubygem-ruby-nmap: {}
rubygem-safe_yaml: {}
rubygem-smart_proxy_dynflow_core: {}
rubygem-systemu: {}
Expand Down
@@ -0,0 +1,92 @@
# Generated from foreman_probing_core-0.0.1.gem by gem2rpm -*- rpm-spec -*-
# template: scl
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}

%global gem_name foreman_probing_core

Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 0.0.1
Release: 1%{?dist}
Summary: Foreman plugin for detecting network devices, core part
Group: Development/Languages
License: GPLv3
URL: https://github.com/adamruzicka/foreman_probing
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

# start generated dependencies
Requires: %{?scl_prefix_ruby}ruby(release)
Requires: %{?scl_prefix_ruby}ruby
Requires: %{?scl_prefix_ruby}ruby(rubygems)
Requires: %{?scl_prefix}rubygem(foreman-tasks-core) >= 0.1
Requires: %{?scl_prefix}rubygem(foreman-tasks-core) < 1
Requires: %{?scl_prefix}rubygem(ruby-nmap) >= 0.9
Requires: %{?scl_prefix}rubygem(ruby-nmap) < 1
BuildRequires: %{?scl_prefix_ruby}ruby(release)
BuildRequires: %{?scl_prefix_ruby}ruby
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
# end generated dependencies

Requires: nmap
# Required for smart-proxy-probing
Provides: rubygem(%{gem_name}) = %{version}

%description
Foreman plugin for detecting network devices, core part.


%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
BuildArch: noarch

%description doc
Documentation for %{pkg_name}.

%prep
%{?scl:scl enable %{scl} - << \EOF}
gem unpack %{SOURCE0}
%{?scl:EOF}

%setup -q -D -T -n %{gem_name}-%{version}

%{?scl:scl enable %{scl} - << \EOF}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%{?scl:EOF}

%build
# Create the gem as gem install only works on a gem file
%{?scl:scl enable %{scl} - << \EOF}
gem build %{gem_name}.gemspec
%{?scl:EOF}

# %%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
%{?scl:scl enable %{scl} - << \EOF}
%gem_install
%{?scl:EOF}

%install
mkdir -p %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/


%files
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}

%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md

%changelog
* Thu Jul 19 2018 Dirk Goetz <dirk.goetz@netways.de> 0.0.1-1
- Add rubygem-foreman_probing_core generated by gem2rpm using the scl template

1 change: 1 addition & 0 deletions packages/plugins/rubygem-rprogram/rprogram-0.3.2.gem
96 changes: 96 additions & 0 deletions packages/plugins/rubygem-rprogram/rubygem-rprogram.spec
@@ -0,0 +1,96 @@
# Generated from rprogram-0.3.2.gem by gem2rpm -*- rpm-spec -*-
# template: scl
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}

%global gem_name rprogram

Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 0.3.2
Release: 1%{?dist}
Summary: A library for creating wrappers around command-line programs
Group: Development/Languages
License: MIT
URL: https://github.com/postmodern/rprogram#readme
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

# start generated dependencies
Requires: %{?scl_prefix_ruby}ruby(release)
Requires: %{?scl_prefix_ruby}ruby >= 1.8.7
Requires: %{?scl_prefix_ruby}ruby(rubygems)
BuildRequires: %{?scl_prefix_ruby}ruby(release)
BuildRequires: %{?scl_prefix_ruby}ruby >= 1.8.7
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
# end generated dependencies

%description
RProgram is a library for creating wrappers around command-line programs.
RProgram provides a Rubyful interface to programs and all their options or
non-options. RProgram can also search for programs installed on a system.
files without having to use YAML or define classes named like the file.


%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
BuildArch: noarch

%description doc
Documentation for %{pkg_name}.

%prep
%{?scl:scl enable %{scl} - << \EOF}
gem unpack %{SOURCE0}
%{?scl:EOF}

%setup -q -D -T -n %{gem_name}-%{version}

%{?scl:scl enable %{scl} - << \EOF}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%{?scl:EOF}

%build
# Create the gem as gem install only works on a gem file
%{?scl:scl enable %{scl} - << \EOF}
gem build %{gem_name}.gemspec
%{?scl:EOF}

# %%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
%{?scl:scl enable %{scl} - << \EOF}
%gem_install
%{?scl:EOF}

%install
mkdir -p %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/

%files
%dir %{gem_instdir}
%exclude %{gem_instdir}/.gemtest
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/.yardopts
%license %{gem_instdir}/LICENSE.txt
%{gem_instdir}/gemspec.yml
%{gem_libdir}
%exclude %{gem_instdir}/rprogram.gemspec
%exclude %{gem_cache}
%{gem_spec}

%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/.document
%exclude %{gem_instdir}/.rspec
%doc %{gem_instdir}/ChangeLog.md
%doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%{gem_instdir}/spec

%changelog
* Thu Jul 19 2018 Dirk Goetz <dirk.goetz@netways.de> 0.3.2-1
- Add rubygem-rprogram generated by gem2rpm using the scl template

1 change: 1 addition & 0 deletions packages/plugins/rubygem-ruby-nmap/ruby-nmap-0.9.3.gem
98 changes: 98 additions & 0 deletions packages/plugins/rubygem-ruby-nmap/rubygem-ruby-nmap.spec
@@ -0,0 +1,98 @@
# Generated from ruby-nmap-0.9.3.gem by gem2rpm -*- rpm-spec -*-
# template: scl
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}

%global gem_name ruby-nmap

Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 0.9.3
Release: 1%{?dist}
Summary: A Ruby interface to Nmap
Group: Development/Languages
License: MIT
URL: https://github.com/sophsec/ruby-nmap#readme
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

# start generated dependencies
Requires: %{?scl_prefix_ruby}ruby(release)
Requires: %{?scl_prefix_ruby}ruby >= 2.0.0
Requires: %{?scl_prefix_ruby}ruby(rubygems) >= 2.0.0
Requires: %{?scl_prefix_ror}rubygem(nokogiri) >= 1.3
Requires: %{?scl_prefix_ror}rubygem(nokogiri) < 2
Requires: %{?scl_prefix}rubygem(rprogram) >= 0.3
Requires: %{?scl_prefix}rubygem(rprogram) < 1
BuildRequires: %{?scl_prefix_ruby}ruby(release)
BuildRequires: %{?scl_prefix_ruby}ruby >= 2.0.0
BuildRequires: %{?scl_prefix_ruby}rubygems-devel >= 2.0.0
BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
# end generated dependencies

%description
A Ruby interface to Nmap, the exploration tool and security / port scanner.


%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
BuildArch: noarch

%description doc
Documentation for %{pkg_name}.

%prep
%{?scl:scl enable %{scl} - << \EOF}
gem unpack %{SOURCE0}
%{?scl:EOF}

%setup -q -D -T -n %{gem_name}-%{version}

%{?scl:scl enable %{scl} - << \EOF}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%{?scl:EOF}

%build
# Create the gem as gem install only works on a gem file
%{?scl:scl enable %{scl} - << \EOF}
gem build %{gem_name}.gemspec
%{?scl:EOF}

# %%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
%{?scl:scl enable %{scl} - << \EOF}
%gem_install
%{?scl:EOF}

%install
mkdir -p %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/

%files
%dir %{gem_instdir}
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/.travis.yml
%exclude %{gem_instdir}/.yardopts
%license %{gem_instdir}/LICENSE.txt
%{gem_instdir}/gemspec.yml
%{gem_libdir}
%exclude %{gem_instdir}/ruby-nmap.gemspec
%exclude %{gem_cache}
%{gem_spec}

%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/.document
%exclude %{gem_instdir}/.rspec
%doc %{gem_instdir}/ChangeLog.md
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%{gem_instdir}/spec

%changelog
* Thu Jul 19 2018 Dirk Goetz <dirk.goetz@netways.de> 0.9.3-1
- Add rubygem-ruby-nmap generated by gem2rpm using the scl template

3 changes: 3 additions & 0 deletions rel-eng/tito.props
Expand Up @@ -353,6 +353,7 @@ whitelist = rubygem-angular-rails-templates
rubygem-foreman_omaha
rubygem-foreman_one
rubygem-foreman_openscap
rubygem-foreman_probing_core
rubygem-foreman_remote_execution
rubygem-foreman_remote_execution_core
rubygem-foreman_rescue
Expand Down Expand Up @@ -394,7 +395,9 @@ whitelist = rubygem-angular-rails-templates
rubygem-prawn
rubygem-puppetdb_foreman
rubygem-rainbow
rubygem-rprogram
rubygem-rqrcode
rubygem-ruby-nmap
rubygem-safe_yaml
rubygem-smart_proxy_dynflow_core
rubygem-systemu
Expand Down