Project

General

Profile

Download (3.07 KB) Statistics
| Branch: | Tag: | Revision:
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}

%global gem_name foreman-tasks-core

Summary: Code used both at Forman and Foreman proxy regarding tasks
Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 0.3.5
Release: 1%{?foremandist}%{?dist}
Group: Development/Languages
License: GPLv3
URL: https://github.com/theforeman/foreman-tasks
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

Requires: %{?scl_prefix_ruby}ruby(release)
BuildRequires: %{?scl_prefix_ruby}ruby(release)

Requires: %{?scl_prefix_ruby}ruby(rubygems)
Requires: %{?scl_prefix_ruby}ruby
Requires: %{?scl_prefix}rubygem(dynflow) >= 1.2.0
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
BuildRequires: %{?scl_prefix_ruby}ruby
BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}

%description
Common code used both at Forman and Foreman proxy regarding tasks

%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
BuildArch: noarch

%description doc
Documentation for %{pkg_name}

%prep
%setup -n %{pkg_name}-%{version} -q -c -T
mkdir -p .%{gem_dir}
%{?scl:scl enable %{scl} - <<EOF}
%gem_install -n %{SOURCE0}
%{?scl:EOF}

%build

%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/

%files
%dir %{gem_instdir}
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%doc %{gem_instdir}/LICENSE

%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/LICENSE

%changelog
* Fri Apr 09 2021 Adam Ruzicka <aruzicka@redhat.com> 0.3.5-1
- Update to 0.3.5

* Tue Apr 06 2021 Eric D. Helms <ericdhelms@gmail.com> - 0.3.4-2
- Rebuild plugins for Ruby 2.7

* Tue Mar 03 2020 Adam Ruzicka <aruzicka@redhat.com> 0.3.4-1
- Update to 0.3.4

* Mon Oct 07 2019 Adam Ruzicka <aruzicka@redhat.com> 0.3.3-1
- Update to 0.3.3

* Mon Apr 15 2019 Adam Ruzicka <aruzicka@redhat.com> 0.3.2-1
- Update to 0.3.2

* Fri Feb 08 2019 Ivan Nečas <inecas@redhat.com> 0.3.0-1
- Update to 0.3.0

* Mon Sep 10 2018 Eric D. Helms <ericdhelms@gmail.com> - 0.2.5-2
- Rebuild for Rails 5.2 and Ruby 2.5

* Wed May 16 2018 Ivan Nečas <inecas@redhat.com> 0.2.5-1
- Update to 0.2.5

* Tue Jan 16 2018 Eric D. Helms <ericdhelms@gmail.com> 0.2.4-1
- Update foreman-tasks-core to 0.2.4 (inecas@redhat.com)

* Wed Jan 10 2018 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> 0.2.0-2
- Bump Foreman plugins release (ericdhelms@gmail.com)
- Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl)
- Annex foreman-tasks-core 0.2.0 (ericdhelms@gmail.com)

* Mon Aug 14 2017 Eric D. Helms <ericdhelms@gmail.com> 0.2.0-1
- Update foreman-tasks-core to 0.2.0 (inecas@redhat.com)

* Wed Jul 12 2017 Eric D. Helms <ericdhelms@gmail.com> 0.1.4-1
- Update foreman-tasks-core to 0.1.4 (inecas@redhat.com)

* Wed Jun 28 2017 Eric D. Helms <ericdhelms@gmail.com> 0.1.3-1
- Update foreman-tasks-core to 0.1.3 (inecas@redhat.com)

* Mon Apr 10 2017 Dominic Cleal <dominic@cleal.org> 0.1.2-1
- Update foreman-tasks-core to 0.1.2 (aruzicka@redhat.com)

* Tue Sep 13 2016 Dominic Cleal <dominic@cleal.org> 0.1.1-1
- new package built with tito

(2-2/2)