foreman-packaging/rpms/epel-6/rubygem-hammer_cli_foreman/rubygem-hammer_cli_foreman.spec @ 816593ad
d790f98e | specs-from-koji (Jenkins) | %global gemname hammer_cli_foreman
|
|
%if 0%{?rhel}
|
|||
%global gem_dir /usr/lib/ruby/gems/1.8
|
|||
%endif
|
|||
%global geminstdir %{gem_dir}/gems/%{gemname}-%{version}
|
|||
Summary: Universal command-line interface for Foreman
|
|||
Name: rubygem-%{gemname}
|
|||
816593ad | specs-from-koji (Jenkins) | Version: 0.0.15
|
|
734b3e68 | specs-from-koji (Jenkins) | Release: 1%{?dist}
|
|
d790f98e | specs-from-koji (Jenkins) | Group: Development/Languages
|
|
License: GPLv3
|
|||
URL: http://github.com/theforeman/hammer-cli-foreman
|
|||
Source0: %{gemname}-%{version}.gem
|
|||
8fa5d2ad | specs-from-koji (Jenkins) | Source1: cli_config.yml
|
|
d790f98e | specs-from-koji (Jenkins) | ||
%if 0%{?rhel} == 6 || 0%{?fedora} < 19
|
|||
Requires: ruby(abi)
|
|||
%endif
|
|||
881e47bc | specs-from-koji (Jenkins) | ||
# on ruby 1.8.x
|
|||
%if 0%{?rhel} == 6 || 0%{?fedora} < 17
|
|||
Requires: rubygem(mime-types) < 2.0.0
|
|||
%endif
|
|||
d790f98e | specs-from-koji (Jenkins) | Requires: ruby(rubygems)
|
|
816593ad | specs-from-koji (Jenkins) | Requires: rubygem(hammer_cli) >= 0.0.14
|
|
Requires: rubygem(foreman_api) >= 0.1.9
|
|||
d790f98e | specs-from-koji (Jenkins) | BuildRequires: ruby(rubygems)
|
|
ec54121e | specs-from-koji (Jenkins) | %if 0%{?fedora}
|
|
BuildRequires: rubygems-devel
|
|||
%endif
|
|||
d790f98e | specs-from-koji (Jenkins) | BuildRequires: ruby
|
|
BuildArch: noarch
|
|||
Provides: rubygem(%{gemname}) = %{version}
|
|||
%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
|
|||
33cce92f | specs-from-koji (Jenkins) | mkdir -p %{buildroot}%{_sysconfdir}/foreman
|
|
install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/foreman/cli_config.yml
|
|||
d790f98e | specs-from-koji (Jenkins) | mkdir -p %{buildroot}%{gem_dir}
|
|
cp -pa .%{gem_dir}/* \
|
|||
%{buildroot}%{gem_dir}/
|
|||
%files
|
|||
%dir %{geminstdir}
|
|||
%{geminstdir}/lib
|
|||
33cce92f | specs-from-koji (Jenkins) | %{_sysconfdir}/foreman
|
|
%config(noreplace) %{_sysconfdir}/foreman/cli_config.yml
|
|||
d790f98e | specs-from-koji (Jenkins) | %exclude %{gem_dir}/cache/%{gemname}-%{version}.gem
|
|
%{gem_dir}/specifications/%{gemname}-%{version}.gemspec
|
|||
%files doc
|
|||
%doc %{gem_dir}/doc/%{gemname}-%{version}
|
|||
881e47bc | specs-from-koji (Jenkins) | %doc %{geminstdir}/README.md
|
|
%doc %{geminstdir}/doc/host_create.md
|
|||
%doc %{geminstdir}/test
|
|||
d790f98e | specs-from-koji (Jenkins) | ||
%changelog
|
|||
816593ad | specs-from-koji (Jenkins) | * Thu Dec 19 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.15-1
|
|
- Bump to 0.0.15 (mbacovsk@redhat.com)
|
|||
8545f84b | specs-from-koji (Jenkins) | * Wed Dec 18 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.13-1
|
|
- Bump to 0.0.13 (mbacovsk@redhat.com)
|
|||
70017438 | specs-from-koji (Jenkins) | * Thu Dec 05 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.12-1
|
|
- Bump to 0.0.12 (mbacovsk@redhat.com)
|
|||
881e47bc | specs-from-koji (Jenkins) | * Tue Nov 26 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.11-1
|
|
- Bump to 0.0.11 (mbacovsk@redhat.com)
|
|||
734b3e68 | specs-from-koji (Jenkins) | * Fri Nov 08 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.10-1
|
|
- bump to 0.0.10 (mbacovsk@redhat.com)
|
|||
- updated dependencies
|
|||
33cce92f | specs-from-koji (Jenkins) | * 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)
|
|||
4a2937dd | specs-from-koji (Jenkins) | * Tue Oct 29 2013 Tomas Strachota <tstrachota@redhat.com> 0.0.9-1
|
|
- Update to Hammer CLI Foreman 0.0.9
|
|||
11279c93 | specs-from-koji (Jenkins) | * Wed Oct 23 2013 Martin Bačovský <mbacovsk@redhat.com> 0.0.8-1
|
|
- Rebase to 0.0.8 (mbacovsk@redhat.com)
|
|||
5a7ef710 | specs-from-koji (Jenkins) | * 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
|
|||
881e47bc | specs-from-koji (Jenkins) | - remove deps on awesome_print and terminal-table
|
|
5a7ef710 | specs-from-koji (Jenkins) | ||
* Tue Oct 08 2013 Tomas Strachota <tstrachota@redhat.com> 0.0.6-1
|
|||
- Update to the latest version of Hammer CLI Foreman
|
|||
a8efd880 | specs-from-koji (Jenkins) | * 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)
|
|||
ec54121e | specs-from-koji (Jenkins) | * 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)
|
|||
8fa5d2ad | specs-from-koji (Jenkins) | * 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
|
|||
d790f98e | specs-from-koji (Jenkins) | * 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
|