Group :: Desenvolvimento/Ruby
RPM: gem-foreman-templates
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define gemname foreman_templates
Name: gem-foreman-templates
Version: 9.3.0
Release: alt1.1
Summary: Template-syncing engine for Foreman
License: GPL-3.0
Group: Development/Ruby
Url: https://github.com/theforeman/foreman_templates
Vcs: https://github.com/theforeman/foreman_templates.git
Packager: Pavel Skrylev <majioa at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
Source1: public.tar
Patch: foreman-3.5.0.patch
BuildRequires(pre): rpm-build-ruby
BuildRequires: gem(diffy) >= 0
BuildRequires: gem(git) >= 0
BuildRequires: gem(rake) >= 0
%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%ruby_alias_names foreman_templates,foreman-templates
Requires: gem(diffy) >= 0
Requires: gem(git) >= 0
Provides: gem(foreman_templates) = 9.3.0
%description
Engine to synchronise provisioning templates from GitHub
%package -n gem-foreman-templates-doc
Version: 9.3.0
Release: alt1.1
Summary: Template-syncing engine for Foreman documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета foreman_templates
Group: Development/Documentation
BuildArch: noarch
Requires: gem(foreman_templates) = 9.3.0
%description -n gem-foreman-templates-doc
Template-syncing engine for Foreman documentation files.
Engine to synchronise provisioning templates from GitHub
%description -n gem-foreman-templates-doc -l ru_RU.UTF-8
Файлы сведений для самоцвета foreman_templates.
%package -n gem-foreman-templates-devel
Version: 9.3.0
Release: alt1.1
Summary: Template-syncing engine for Foreman development package
Summary(ru_RU.UTF-8): Файлы для разработки самоцвета foreman_templates
Group: Development/Ruby
BuildArch: noarch
Requires: gem(foreman_templates) = 9.3.0
Requires: gem(rake) >= 0
%description -n gem-foreman-templates-devel
Template-syncing engine for Foreman development package.
Engine to synchronise provisioning templates from GitHub
%description -n gem-foreman-templates-devel -l ru_RU.UTF-8
Файлы для разработки самоцвета foreman_templates.
%prep
%setup
%setup -a 1
%autopatch
%build
%ruby_build
%install
%ruby_install
install -d %buildroot%_datadir/foreman
cp -rp public %buildroot%_datadir/foreman
%check
%ruby_test
%files
%doc README.md
%ruby_gemspec
%ruby_gemlibdir
%_datadir/foreman/public
%files -n gem-foreman-templates-doc
%doc README.md
%ruby_gemdocdir
%files -n gem-foreman-templates-devel
%doc README.md
%changelog
…
Todas as alterações você pod ver aqui
Name: gem-foreman-templates
Version: 9.3.0
Release: alt1.1
Summary: Template-syncing engine for Foreman
License: GPL-3.0
Group: Development/Ruby
Url: https://github.com/theforeman/foreman_templates
Vcs: https://github.com/theforeman/foreman_templates.git
Packager: Pavel Skrylev <majioa at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
Source1: public.tar
Patch: foreman-3.5.0.patch
BuildRequires(pre): rpm-build-ruby
BuildRequires: gem(diffy) >= 0
BuildRequires: gem(git) >= 0
BuildRequires: gem(rake) >= 0
%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%ruby_alias_names foreman_templates,foreman-templates
Requires: gem(diffy) >= 0
Requires: gem(git) >= 0
Provides: gem(foreman_templates) = 9.3.0
%description
Engine to synchronise provisioning templates from GitHub
%package -n gem-foreman-templates-doc
Version: 9.3.0
Release: alt1.1
Summary: Template-syncing engine for Foreman documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета foreman_templates
Group: Development/Documentation
BuildArch: noarch
Requires: gem(foreman_templates) = 9.3.0
%description -n gem-foreman-templates-doc
Template-syncing engine for Foreman documentation files.
Engine to synchronise provisioning templates from GitHub
%description -n gem-foreman-templates-doc -l ru_RU.UTF-8
Файлы сведений для самоцвета foreman_templates.
%package -n gem-foreman-templates-devel
Version: 9.3.0
Release: alt1.1
Summary: Template-syncing engine for Foreman development package
Summary(ru_RU.UTF-8): Файлы для разработки самоцвета foreman_templates
Group: Development/Ruby
BuildArch: noarch
Requires: gem(foreman_templates) = 9.3.0
Requires: gem(rake) >= 0
%description -n gem-foreman-templates-devel
Template-syncing engine for Foreman development package.
Engine to synchronise provisioning templates from GitHub
%description -n gem-foreman-templates-devel -l ru_RU.UTF-8
Файлы для разработки самоцвета foreman_templates.
%prep
%setup
%setup -a 1
%autopatch
%build
%ruby_build
%install
%ruby_install
install -d %buildroot%_datadir/foreman
cp -rp public %buildroot%_datadir/foreman
%check
%ruby_test
%files
%doc README.md
%ruby_gemspec
%ruby_gemlibdir
%_datadir/foreman/public
%files -n gem-foreman-templates-doc
%doc README.md
%ruby_gemdocdir
%files -n gem-foreman-templates-devel
%doc README.md
%changelog
…
Todas as alterações você pod ver aqui