|
# template: hammer_plugin
|
|
%global gem_name hammer_cli_foreman
|
|
%global plugin_name foreman
|
|
|
|
%global release 2
|
|
%global prereleasesource pre.develop
|
|
%global prerelease %{?prereleasesource:.}%{?prereleasesource}
|
|
|
|
%global hammer_confdir %{_sysconfdir}/hammer
|
|
|
|
Name: rubygem-%{gem_name}
|
|
Version: 3.8.0
|
|
Release: %{?prerelease:0.}%{release}%{?prerelease}%{?nightly}%{?dist}
|
|
Summary: Foreman commands for Hammer
|
|
Group: Development/Languages
|
|
License: GPLv3+
|
|
URL: https://github.com/theforeman/hammer-cli-foreman
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}%{?prerelease}.gem
|
|
|
|
# start specfile generated dependencies
|
|
Requires: ruby
|
|
Requires: ruby(rubygems)
|
|
Requires: rubygem(hammer_cli) >= 3.7.0
|
|
Requires: rubygem(apipie-bindings) >= 0.6.0
|
|
Requires: rubygem(rest-client) >= 1.8.0
|
|
Requires: rubygem(rest-client) < 3.0.0
|
|
Requires: rubygem(jwt) >= 2.2.1
|
|
BuildRequires: ruby
|
|
BuildRequires: rubygems-devel
|
|
BuildArch: noarch
|
|
# end specfile generated dependencies
|
|
|
|
%description
|
|
Foreman commands for Hammer CLI.
|
|
|
|
|
|
%package doc
|
|
Summary: Documentation for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
Documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{gem_name}-%{version}%{?prerelease}
|
|
|
|
%build
|
|
# Create the gem as gem install only works on a gem file
|
|
gem build ../%{gem_name}-%{version}%{?prerelease}.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}%{hammer_confdir}/cli.modules.d
|
|
install -m 0644 .%{gem_instdir}/config/%{plugin_name}.yml \
|
|
%{buildroot}%{hammer_confdir}/cli.modules.d/%{plugin_name}.yml
|
|
|
|
%files
|
|
%dir %{gem_instdir}
|
|
%license %{gem_instdir}/LICENSE
|
|
%{gem_libdir}
|
|
%{gem_instdir}/locale
|
|
%exclude %{gem_cache}
|
|
%{gem_spec}
|
|
%config %{hammer_confdir}/cli.modules.d/%{plugin_name}.yml
|
|
%exclude %{gem_instdir}/lib/minitest
|
|
|
|
%files doc
|
|
%doc %{gem_docdir}
|
|
%doc %{gem_instdir}/README.md
|
|
%doc %{gem_instdir}/config
|
|
%doc %{gem_instdir}/doc
|
|
%{gem_instdir}/test
|
|
|
|
%changelog
|
|
* Fri May 26 2023 Oleh Fedorenko <ofedoren@redhat.com> - 3.8.0-0.2.pre.develop
|
|
- Remove SCL macros
|
|
|
|
* Tue May 23 2023 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 3.8.0-0.1.pre.develop
|
|
- Bump version to 3.8-develop
|
|
|
|
* Wed Feb 22 2023 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 3.7.0-0.1.pre.develop
|
|
- Bump version to 3.7-develop
|
|
|
|
* Tue Nov 08 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 3.6.0-0.2.pre.develop
|
|
- Bump version to 3.6-develop
|
|
|
|
* Thu Oct 06 2022 Eric D. Helms <ericdhelms@gmail.com> - 3.5.0-0.2.pre.develop
|
|
- Exclude minitest code
|
|
|
|
* Wed Aug 10 2022 Patrick Creech <pcreech@redhat.com> - 3.5.0-0.1.pre.develop
|
|
- Bump version to 3.5-develop
|
|
|
|
* Tue May 10 2022 Odilon Sousa <osousa@redhat.com> - 3.4.0-0.1.pre.develop
|
|
- Bump version to 3.4-develop
|
|
|
|
* Thu Feb 10 2022 Zach Huntington-Meath <zhunting@redhat.com> - 3.3.0-0.1.pre.develop
|
|
- Bump version to 3.3-develop
|
|
|
|
* Fri Nov 12 2021 Odilon Sousa <osousa@redhat.com> - 3.2.0-0.1.pre.develop
|
|
- Bump version to 3.2-develop
|
|
|
|
* Thu Aug 05 2021 Patrick Creech <pcreech@redhat.com> - 3.1.0-0.1.pre.develop
|
|
- Bump version to 3.1-develop
|
|
|
|
* Thu Jul 22 2021 Tomer Brisker <tbrisker@gmail.com> - 3.0.0-0.1.pre.develop
|
|
- Bump version to 3.0-develop
|
|
|
|
* Tue May 04 2021 Zach Huntington-Meath <zhunting@redhat.com> - 2.6.0-0.1.pre.develop
|
|
- Bump version to 2.6-develop
|
|
|
|
* Thu Mar 11 2021 Eric D. Helms <ericdhelms@gmail.com> - 2.5.0-0.2.pre.develop
|
|
- Rebuild against rh-ruby27
|
|
|
|
* Tue Feb 02 2021 Evgeni Golov - 2.5.0-0.1.pre.develop
|
|
- Bump version to 2.5-develop
|
|
|
|
* Mon Nov 02 2020 Patrick Creech <pcreech@redhat.com> - 2.4.0-0.1.pre.develop
|
|
- Bump version to 2.4-develop
|
|
|
|
* Tue Aug 11 2020 Eric D. Helms <ericdhelms@gmail.com> - 2.3.0-0.1.pre.develop
|
|
- Bump version to 2.3-develop
|
|
|
|
* Wed Jun 03 2020 Evgeni Golov - 2.2.0-0.2.pre.develop
|
|
- Regenerate spec file based on recent template
|
|
|
|
* Thu May 14 2020 Shira Maximov <shiramaximov@gmail.com> - 2.2.0-0.1.pre.develop
|
|
- Bumped to 2.2.0
|
|
|
|
* Wed Apr 08 2020 Zach Huntington-Meath <zhunting@redhat.com> - 2.1.0-0.2.pre.develop
|
|
- Bump to release for EL8
|
|
|
|
* Thu Feb 13 2020 Tomer Brisker <tbrisker@gmail.com> - 2.1.0-0.1.pre.develop
|
|
- bump to 2.1-develop
|
|
|
|
* Sun Feb 09 2020 Tomer Brisker <tbrisker@gmail.com> - 2.0.0-0.1.pre.develop
|
|
- bump to 2.0-develop
|
|
|
|
* Mon Nov 18 2019 Evgeni Golov - 0.20-0.2.pre.develop
|
|
- Unify prerelease macro handling
|
|
|
|
* Mon Oct 28 2019 Evgeni Golov - 0.20-0.1.pre.develop
|
|
- Bump to 0.20-develop
|
|
|
|
* Mon Aug 05 2019 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 0.19-0.1.pre.develop
|
|
- Bump to 0.19-develop
|
|
|
|
* Wed Jul 17 2019 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 0.18-0.2.pre.develop
|
|
- Do not install configs as executable files (#27326)
|
|
|
|
* Thu Apr 25 2019 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 0.18-0.1.pre.develop
|
|
- Bump to 0.18-develop
|
|
|
|
* Fri Jan 18 2019 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 0.17-0.1.pre.develop
|
|
- Bump to 0.17-develop
|
|
|
|
* Thu Oct 25 2018 Adam Price <komidore64@gmail.com> - 0.16-0.2.pre.develop
|
|
- add nightly macro
|
|
|
|
* Thu Oct 25 2018 Adam Price <komidore64@gmail.com> - 0.16-0.1.pre.develop
|
|
- bump version to 0.16
|
|
|
|
* Wed Sep 12 2018 Eric D. Helms <ericdhelms@gmail.com> - 0.15-0.2.pre.develop
|
|
- Add prerelease support
|
|
|
|
* Mon Aug 27 2018 Martin Bacovsky <mbacovsk@redhat.com> 0.14.0-1
|
|
- Update to 0.14.0
|
|
|
|
* Thu Aug 16 2018 Martin Bacovsky <mbacovsk@redhat.com> 0.13.2-1
|
|
- Update to 0.13.2
|
|
|
|
* Mon Jul 16 2018 Martin Bacovsky <mbacovsk@redhat.com> 0.13.1-1
|
|
- Update to 0.13.1
|
|
|
|
* Thu May 10 2018 Martin Bacovsky <mbacovsk@redhat.com> 0.13.0-1
|
|
- Update to 0.13.0
|
|
|
|
* Mon Mar 05 2018 Martin Bacovsky <martin.bacovsky@gmail.com> 0.12.1-1
|
|
- Update rubygem-hammer_cli_foreman to 0.12.1 (martin.bacovsky@gmail.com)
|
|
|
|
* Tue Feb 20 2018 Daniel Lobato Garcia <me@daniellobato.me> 0.12.0-1
|
|
- Update rubygem-hammer_cli_foreman to 0.12.0 (martin.bacovsky@gmail.com)
|
|
- Restructure foreman packages to prepare for obal (pcreech@redhat.com)
|
|
|
|
* Fri Jan 05 2018 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> 0.11.0-2
|
|
- More rebuilds for Rails 5.1 (ericdhelms@gmail.com)
|
|
- Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl)
|
|
|
|
* Mon Aug 14 2017 Eric D. Helms <ericdhelms@gmail.com> 0.11.0-1
|
|
- Update hammer_cli_foreman to 0.11.0 (tstrachota@redhat.com)
|
|
|
|
* Fri May 05 2017 Dominic Cleal <dominic@cleal.org> 0.10.2-1
|
|
- Update hammer-cli-foreman to 0.10.2 (tstrachota@redhat.com)
|
|
|
|
* Tue Apr 25 2017 Dominic Cleal <dominic@cleal.org> 0.10.1-1
|
|
- Update hammer_cli_foreman to 0.10.1 (dominic@cleal.org)
|
|
- refs #19358 - require rest-client >= 1.8.0 (dominic@cleal.org)
|
|
- refs #19362 - require apipie-bindings >= 0.2.0 (dominic@cleal.org)
|
|
|
|
* Wed Mar 29 2017 Eric D. Helms <ericdhelms@gmail.com> 0.10.0-1
|
|
- Update hammer_cli_foreman to 0.10.0 (tstrachota@redhat.com)
|
|
- Add LICENSE file, clarify doc/license tags (dominic@cleal.org)
|
|
|
|
* Mon Dec 19 2016 Dominic Cleal <dominic@cleal.org> 0.9.0-1
|
|
- Update hammer_cli_foreman to 0.9.0 (dominic@cleal.org)
|
|
|
|
* Wed Sep 07 2016 Dominic Cleal <dominic@cleal.org> 0.8.0-1
|
|
- Update hammer_cli_foreman to 0.8.0 (dominic@cleal.org)
|
|
|
|
* Fri Jun 17 2016 Dominic Cleal <dominic@cleal.org> 0.7.0-1
|
|
- Update hammer_cli_foreman to 0.7.0 (dominic@cleal.org)
|
|
|
|
* Fri May 27 2016 Dominic Cleal <dominic@cleal.org> 0.6.2-2
|
|
- Use gem_install macro (dominic@cleal.org)
|
|
|
|
* Tue Mar 22 2016 Tomas Strachota <tstrachota@redhat.com> 0.6.2-1
|
|
- Update hammer_cli_foreman to 0.6.2 (tstrachota@redhat.com)
|
|
|
|
* Tue Mar 15 2016 Dominic Cleal <dominic@cleal.org> 0.6.1-1
|
|
- Update hammer_cli_foreman to 0.6.1 (dominic@cleal.org)
|
|
|
|
* Tue Dec 22 2015 Dominic Cleal <dcleal@redhat.com> 0.5.1-2
|
|
- Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com)
|
|
|
|
* Tue Dec 15 2015 Dominic Cleal <dcleal@redhat.com> 0.5.1-1
|
|
- Update hammer_cli_foreman to 0.5.1 (tstrachota@redhat.com)
|
|
|
|
* Tue Dec 15 2015 Tomas Strachota <tstrachota@redhat.com> 0.5.1-1
|
|
- Update hammer_cli_foreman to 0.5.1 (tstrachota@redhat.com)
|
|
|
|
* Wed Oct 07 2015 Dominic Cleal <dcleal@redhat.com> 0.4.0-1
|
|
- Update hammer_cli_foreman to 0.4.0 (dcleal@redhat.com)
|
|
|
|
* Tue Aug 25 2015 Dominic Cleal <dcleal@redhat.com> 0.3.0-2
|
|
- Converted to tfm SCL (dcleal@redhat.com)
|
|
- Increase range of non-SCL obsoletes to cover 1.9 versions (dcleal@redhat.com)
|
|
|
|
* Tue Aug 04 2015 Dominic Cleal <dcleal@redhat.com> 0.3.0-1
|
|
- Update hammer_cli_foreman to 0.3.0 (dcleal@redhat.com)
|
|
- fixes #8979 - convert hammer packages to SCL (dcleal@redhat.com)
|
|
|
|
* Mon Apr 27 2015 Dominic Cleal <dcleal@redhat.com> 0.2.0-1
|
|
- Update hammer_cli_foreman to 0.2.0 (dcleal@redhat.com)
|
|
- refs #8829 - use config/ template from gem (dcleal@redhat.com)
|
|
|
|
* Fri Dec 12 2014 Dominic Cleal <dcleal@redhat.com> 0.1.4-1
|
|
- Update hammer-cli-foreman to 0.1.4 (martin.bacovsky@gmail.com)
|
|
|
|
* Thu Aug 21 2014 Dominic Cleal <dcleal@redhat.com> 0.1.3-1
|
|
- Update rubygem-hammer_cli_foreman to 0.1.3 (martin.bacovsky@gmail.com)
|
|
|
|
* Thu Aug 14 2014 Dominic Cleal <dcleal@redhat.com> 0.1.2-1
|
|
- Update rubygem-hammer_cli_foreman to 0.1.2 (martin.bacovsky@gmail.com)
|
|
|
|
* Tue May 20 2014 Martin Bačovský <martin.bacovsky@gmail.com> 0.1.1-1
|
|
- Rebased hammer_cli_foreman to 0.1.1 (martin.bacovsky@gmail.com)
|
|
- Removed credentials from config file (martin.bacovsky@gmail.com)
|
|
|
|
* Wed Mar 26 2014 Martin Bačovský <martin.bacovsky@gmail.com> 0.1.0-1
|
|
- Bump to 0.1.0 (martin.bacovsky@gmail.com)
|
|
- hammer_cli_foreman - new config location (tstrachota@redhat.com)
|
|
|
|
* Wed Jan 29 2014 Martin Bačovský <mbacovsk@redhat.com> 0.0.18-1
|
|
- Bump to 0.0.18 (mbacovsk@redhat.com)
|
|
|
|
* Thu Jan 23 2014 Martin Bačovský <mbacovsk@redhat.com> 0.0.17-1
|
|
- Bump to 0.0.17 (mbacovsk@redhat.com)
|
|
|
|
* Tue Jan 21 2014 Martin Bačovský <mbacovsk@redhat.com> 0.0.16-1
|
|
- Bump to 0.0.16 (mbacovsk@redhat.com)
|
|
|
|
* Thu Dec 19 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.15-1
|
|
- Bump to 0.0.15 (mbacovsk@redhat.com)
|
|
|
|
* Wed Dec 18 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.13-1
|
|
- Bump to 0.0.13 (mbacovsk@redhat.com)
|
|
|
|
* Thu Dec 05 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.12-1
|
|
- Bump to 0.0.12 (mbacovsk@redhat.com)
|
|
|
|
* Tue Nov 26 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.11-1
|
|
- Bump to 0.0.11 (mbacovsk@redhat.com)
|
|
|
|
* Fri Nov 08 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.10-1
|
|
- bump to 0.0.10 (mbacovsk@redhat.com)
|
|
- updated dependencies
|
|
|
|
* Mon Nov 04 2013 Dominic Cleal <dcleal@redhat.com> 0.0.9-2
|
|
- Mark cli_config.yml as a config file (dcleal@redhat.com)
|
|
- Update default config for Foreman installation and non-root users
|
|
(dcleal@redhat.com)
|
|
|
|
* Tue Oct 29 2013 Tomas Strachota <tstrachota@redhat.com> 0.0.9-1
|
|
- Update to Hammer CLI Foreman 0.0.9
|
|
|
|
* Wed Oct 23 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.8-1
|
|
- Rebase to 0.0.8 (mbacovsk@redhat.com)
|
|
|
|
* Thu Oct 10 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.7-1
|
|
- Bumped to 0.0.7 (mbacovsk@redhat.com)
|
|
- Fixed default config file
|
|
- remove deps on awesome_print and terminal-table
|
|
|
|
* Tue Oct 08 2013 Tomas Strachota <tstrachota@redhat.com> 0.0.6-1
|
|
- Update to the latest version of Hammer CLI Foreman
|
|
|
|
* Thu Sep 26 2013 Sam Kottler <shk@redhat.com> 0.0.5-1
|
|
- Bump the version in the spec (shk@redhat.com)
|
|
- Update to the latest version (shk@redhat.com)
|
|
|
|
* Mon Aug 26 2013 Sam Kottler <shk@redhat.com> 0.0.3-2
|
|
- Use rubygems-devel on fedora instead of custom macros (shk@redhat.com)
|
|
|
|
* Mon Aug 26 2013 Sam Kottler <shk@redhat.com> 0.0.3-1
|
|
- Remove the 0.0.1 gem bin (shk@redhat.com)
|
|
- Bump to version 0.0.3 (shk@redhat.com)
|
|
|
|
* Thu Aug 15 2013 Sam Kottler <shk@redhat.com> 0.0.1-5
|
|
- Add configuration to install (shk@redhat.com)
|
|
|
|
* Thu Aug 15 2013 Sam Kottler <shk@redhat.com> 0.0.1-4
|
|
- Version bump for rebuild
|
|
|
|
* Thu Aug 15 2013 Sam Kottler <shk@redhat.com> 0.0.1-3
|
|
- Bump version
|
|
|
|
* Thu Aug 15 2013 Sam Kottler <shk@redhat.com>
|
|
- Initial import of the gem (shk@redhat.com)
|
|
|
|
* Thu Aug 15 2013 Sam Kottler <shk@redhat.com> - 0.0.1-1
|
|
- Initial package
|