Revision 42033669
Added by Daniel Lobato Garcia almost 6 years ago
packages/katello/rubygem-redhat_access/rubygem-redhat_access.spec | ||
---|---|---|
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 2.1.6
|
||
Release: 1%{?foremandist}%{?dist}
|
||
Release: 2%{?foremandist}%{?dist}
|
||
Summary: Plugin to add Redhat Access to Foreman
|
||
Group: Applications/Systems
|
||
License: GPLv3+
|
||
... | ... | |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
Requires: foreman >= 1.18.0
|
||
Requires: %{?scl_prefix_ruby}ruby(release)
|
||
Requires: %{?scl_prefix_ruby}ruby
|
||
Requires: %{?scl_prefix_ruby}ruby(rubygems)
|
||
Requires: %{?scl_prefix_ruby}ruby
|
||
Requires: %{?scl_prefix_ruby}ruby(rubygems)
|
||
Requires: %{?scl_prefix}rubygem(redhat_access_lib) >= 1.1.0
|
||
Requires: %{?scl_prefix}rubygem(angular-rails-templates) >= 0.0.4
|
||
Requires: %{?scl_prefix}rubygem(katello) >= 3.4.0
|
||
... | ... | |
BuildRequires: %{?scl_prefix}rubygem(redhat_access_lib) >= 1.1.0
|
||
BuildRequires: %{?scl_prefix}rubygem(angular-rails-templates) >= 0.0.4
|
||
BuildRequires: %{?scl_prefix_ruby}ruby(release)
|
||
BuildRequires: %{?scl_prefix_ruby}ruby
|
||
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
||
BuildRequires: %{?scl_prefix_ruby}ruby
|
||
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}rubygem(redhat_access_lib) >= 1.0.1
|
||
BuildArch: noarch
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
... | ... | |
%foreman_bundlerd_file
|
||
%foreman_precompile_plugin -s
|
||
|
||
# This plugin is not able to compile static assets directly
|
||
mkdir -p %{buildroot}/%{gem_instdir}/public/assets
|
||
cp -r $RPM_BUILD_DIR/%{gem_name}-%{version}/vendor/assets/images/* %{buildroot}/%{gem_instdir}/public/assets
|
||
cp -r $RPM_BUILD_DIR/%{gem_name}-%{version}/vendor/assets/fonts/* %{buildroot}/%{gem_instdir}/public/assets
|
||
|
||
%files
|
||
%dir %{gem_instdir}
|
||
%license %{gem_instdir}/LICENSE.txt
|
||
... | ... | |
exit 0
|
||
|
||
%changelog
|
||
* Thu Aug 02 2018 Daniel Lobato <dlobatog@redhat.com> 2.1.6-2
|
||
- Include static assets
|
||
|
||
* Wed Jul 04 2018 Marek Hulan <mhulan@redhat.com> 2.1.6-1
|
||
- Update to 2.1.6
|
||
|
||
* Tue Jun 12 2018 Marek Hulan <mhulan@redhat.com> 2.1.5-1
|
||
- Update to 2.1.5
|
||
|
||
* Tue Apr 03 2018 Marek Hulan <mhulan@redhat.com>
|
||
* Tue Apr 03 2018 Marek Hulan <mhulan@redhat.com>
|
||
- Add rubygem-redhat_access generated by gem2rpm using the foreman_plugin template
|
||
|
Also available in: Unified diff
Include redhat_access plugin static assets in the spec
This plugin is not configured to compile the static assets, hence I'm
adding them to the spec.