# Template for Rubygem's spec file # It should work with f18, f19, rhel6 and rhel6 with SCL %{?scl:%scl_package rubygem-%{gem_name}} %{!?scl:%global pkg_name %{name}} %global gem_name angular-rails-templates Name: %{?scl_prefix}rubygem-%{gem_name} Version: 1.1.0 Release: 2%{?dist} Epoch: 1 Summary: Use your angular templates with rails' asset pipeline Group: Development/Languages License: MIT URL: https://github.com/pitr/angular-rails-templates Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Patch0: enable-fips.patch BuildArch: noarch Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}} Requires: %{?scl_prefix_ruby}ruby(rubygems) Requires: %{?scl_prefix}rubygem(railties) >= 4.2 Requires: %{?scl_prefix}rubygem(railties) < 7 Requires: %{?scl_prefix}rubygem(sprockets) >= 3.0 Requires: %{?scl_prefix}rubygem(sprockets) < 5 Requires: %{?scl_prefix}rubygem(tilt) Requires: %{?scl_prefix_ruby}ruby(release) BuildRequires: %{?scl_prefix_ruby}ruby(rubygems) BuildRequires: %{?scl_prefix_ruby}rubygems-devel BuildRequires: %{?scl_prefix_ruby}ruby(release) %description Adds your HTML templates into Angular's $templateCache using Rails asset pipeline. It removes the need for AJAX calls to retrieve the templates (or for you to manually set them into the DOM). %package doc BuildArch: noarch Requires: %{name} = %{epoch}:%{version}-%{release} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc} Summary: Documentation for %{name} %description doc This package contains documentation for %{pkg_name} %prep %setup -n %{pkg_name}-%{version} -q -c -T %{?scl:scl enable %{scl} - < - 1:1.1.0-2 - Rebuild for Ruby 2.7 * Wed Apr 08 2020 Michael Moll - 1:1.1.0-1 - Update to 1.1.0 * Fri Jan 17 2020 Zach Huntington-Meath - 1:1.0.2-5 - Update spec to remove the ror scl * Mon Oct 01 2018 Ivan Necas - 1.0.2-4 - Add patch to enable running in FIPS mode * Fri Sep 07 2018 Eric D. Helms - 1:1.0.2-3 - Rebuild for Rails 5.2 and Ruby 2.5 * Tue Jan 09 2018 Eric D. Helms 1.0.2-2 - Bump releases for base foreman plugins packages (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) * Fri Aug 18 2017 Eric D. Helms 1.0.2-1 - Update rubygem-angular-rails-templates to 1.0.2 (kvedulv@kvedulv.de) - Set proper download URLs for rubygems (komidore64@gmail.com) - Switch to using gem_install macro (ericdhelms@gmail.com) * Thu Apr 21 2016 Dominic Cleal 0.1.2-5 - Rebuild tfm against sclo-ror42 (dominic@cleal.org) * Thu Dec 24 2015 Dominic Cleal 0.1.2-4 - Update dependencies to ror SCL (dcleal@redhat.com) - Replace tfm-rubygem-sprockets with ror41-rubygem-sprockets (dcleal@redhat.com) - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) * Wed Aug 26 2015 Dominic Cleal 0.1.2-3 - Fix checks against scl name, optimise rhel/empty SCL conditional (dcleal@redhat.com) - Converted to tfm SCL (dcleal@redhat.com) - Fix typo in -doc requires on main package (dcleal@redhat.com) * Thu Feb 12 2015 Dominic Cleal 0.1.2-2 - Fix dep to include epoch between -doc and main package (dcleal@redhat.com) * Thu Feb 12 2015 Eric D. Helms 0.1.2-1 - Update rubygem-angular-rails-templates to 0.1.2 (ericdhelms@gmail.com) * Mon Feb 09 2015 Eric D. Helms 0.1.3-1 - Update 'rubygem-angular-rails-templates' to 0.1.3 (ericdhelms@gmail.com) * Thu Oct 02 2014 Dominic Cleal 0.0.4-7 - new package built with tito (ehelms@redhat.com)