foreman-packaging/rubygem-hammer_cli_foreman/rubygem-hammer_cli_foreman.spec @ 27bf90bb
27bf90bb | Dominic Cleal | %global gem_name hammer_cli_foreman
|
|
193f1c7f | Dominic Cleal | %global confdir hammer
|
|
Summary: Universal command-line interface for Foreman
|
|||
27bf90bb | Dominic Cleal | Name: rubygem-%{gem_name}
|
|
193f1c7f | Dominic Cleal | Version: 0.1.1
|
|
Release: 1%{?dist}
|
|||
Group: Development/Languages
|
|||
License: GPLv3
|
|||
URL: http://github.com/theforeman/hammer-cli-foreman
|
|||
27bf90bb | Dominic Cleal | Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
193f1c7f | Dominic Cleal | Source1: foreman.yml
|
|
27bf90bb | Dominic Cleal | %if 0%{?rhel} == 6
|
|
193f1c7f | Dominic Cleal | Requires: ruby(abi)
|
|
27bf90bb | Dominic Cleal | %else
|
|
Requires: ruby(release)
|
|||
193f1c7f | Dominic Cleal | %endif
|
|
Requires: ruby(rubygems)
|
|||
Requires: rubygem(hammer_cli) >= 0.1.1
|
|||
f7ac3b63 | Dominic Cleal | Requires: rubygem(apipie-bindings) >= 0.0.8
|
|
Requires: rubygem(rest-client) >= 1.6.5
|
|||
193f1c7f | Dominic Cleal | BuildRequires: ruby(rubygems)
|
|
BuildRequires: rubygems-devel
|
|||
BuildRequires: ruby
|
|||
BuildArch: noarch
|
|||
27bf90bb | Dominic Cleal | Provides: rubygem(%{gem_name}) = %{version}
|
|
193f1c7f | Dominic Cleal | ||
%description
|
|||
Hammer cli provides universal extendable CLI interface for ruby apps
|
|||
%package doc
|
|||
Summary: Documentation for %{name}
|
|||
Group: Documentation
|
|||
Requires: %{name} = %{version}-%{release}
|
|||
BuildArch: noarch
|
|||
%description doc
|
|||
Documentation for %{name}
|
|||
%prep
|
|||
%setup -q -c -T
|
|||
mkdir -p .%{gem_dir}
|
|||
gem install --local --install-dir .%{gem_dir} \
|
|||
--force %{SOURCE0}
|
|||
%install
|
|||
mkdir -p %{buildroot}%{_sysconfdir}/%{confdir}/cli.modules.d
|
|||
install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{confdir}/cli.modules.d/foreman.yml
|
|||
mkdir -p %{buildroot}%{gem_dir}
|
|||
cp -pa .%{gem_dir}/* \
|
|||
%{buildroot}%{gem_dir}/
|
|||
%files
|
|||
27bf90bb | Dominic Cleal | %dir %{gem_instdir}
|
|
%{gem_instdir}/lib
|
|||
%{gem_instdir}/locale
|
|||
193f1c7f | Dominic Cleal | %config(noreplace) %{_sysconfdir}/%{confdir}/cli.modules.d/foreman.yml
|
|
27bf90bb | Dominic Cleal | %exclude %{gem_dir}/cache/%{gem_name}-%{version}.gem
|
|
%{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
|
|||
193f1c7f | Dominic Cleal | ||
%files doc
|
|||
27bf90bb | Dominic Cleal | %doc %{gem_dir}/doc/%{gem_name}-%{version}
|
|
%doc %{gem_instdir}/README.md
|
|||
%doc %{gem_instdir}/doc
|
|||
%doc %{gem_instdir}/test
|
|||
193f1c7f | Dominic Cleal | ||
%changelog
|
|||
* 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
|