# Generated from linux_admin-0.9.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name linux_admin Name: rubygem-%{gem_name} Version: 0.9.1 Release: 1%{?dist} Summary: LinuxAdmin is a module to simplify management of linux systems Group: Development/Languages License: MIT URL: http://github.com/ManageIQ/linux_admin Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) Requires: ruby(rubygems) Requires: rubygem(activesupport) > 3.2 Requires: rubygem(inifile) => 2.0.2 Requires: rubygem(inifile) < 2.1 Requires: rubygem(more_core_extensions) => 1.1 Requires: rubygem(more_core_extensions) < 2 Requires: rubygem(awesome_spawn) => 1.2 Requires: rubygem(awesome_spawn) < 2 Requires: rubygem(nokogiri) BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rspec) => 2.13 # BuildRequires: rubygem(rspec) < 3 # BuildRequires: rubygem(coveralls) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description LinuxAdmin is a module to simplify management of linux systems. It should be a single place to manage various system level configurations, registration, updates, etc. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build # Create the gem as gem install only works on a gem file gem build %{gem_name}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ # Run the test suite %check pushd .%{gem_instdir} popd %files %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %doc %{gem_instdir}/LICENSE.txt %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %doc %{gem_instdir}/spec %changelog * Thu Aug 21 2014 Mo Morsi - 0.9.1-1 - Update to latest Fedora guidelines * Mon Nov 11 2013 Mo Morsi - 0.5.7-1 - Update to 0.5.7 * Mon Nov 11 2013 Mo Morsi - 0.5.1-2 - Update to make package Fedora complient * Thu Oct 10 2013 Brandon Dunne - 0.5.1-1 - Building v0.5.1 * Thu Oct 03 2013 Brandon Dunne - 0.4.1-1 - Building v0.4.1 * Thu Sep 19 2013 Brandon Dunne - 0.3.0-1 - Building v0.3.0 * Thu Sep 19 2013 Brandon Dunne - 0.2.3-1 - Building v0.2.3 * Fri Sep 06 2013 Joe Rafaniello - 0.2.2-1 - Building v0.2.2 * Fri Aug 23 2013 Joe Rafaniello - 0.2.1-1 - Building v0.2.1 * Thu Jul 11 2013 Brandon Dunne - 0.1.2-1 - Building v0.1.2 * Tue Jul 09 2013 Brandon Dunne - 0.1.1-1 - Building v0.1.1 * Wed Jun 19 2013 Brandon Dunne - 0.1.0-1 - Initial package