%global gem_name childprocess Summary: A simple and reliable gem for controlling external programs Name: rubygem-%{gem_name} Version: 0.3.9 Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://github.com/jarib/childprocess Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) Requires: ruby(rubygems) Requires: ruby Requires: rubygem(ffi) => 1.0.6 Requires: rubygem(ffi) < 2 BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(rspec) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description This gem aims at being a simple and reliable solution for controlling external programs running in the background on any Ruby / OS combination. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %setup -q -c -T %gem_install -n %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ rm -f %{buildroot}%{gem_instdir}/.document %{buildroot}%{gem_instdir}/.gitignore rm -f %{buildroot}%{gem_instdir}/.rspec %{buildroot}%{gem_instdir}/Rakefile rm -f %{buildroot}%{gem_instdir}/.travis.yml rm -f %{buildroot}%{gem_instdir}/childprocess.gemspec rm -f %{buildroot}%{gem_instdir}/Gemfile chmod 644 %{buildroot}%{gem_libdir}/childprocess/jruby/process.rb chmod 644 %{buildroot}%{gem_libdir}/childprocess/windows/process.rb chmod 644 %{buildroot}%{gem_instdir}/spec/*.rb %check pushd .%{gem_instdir} rspec spec popd %files %dir %{gem_instdir} %doc %{gem_instdir}/LICENSE %doc %{gem_instdir}/README.md %{gem_libdir} %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/spec %changelog * Tue Sep 23 2013 Mo Morsi - 0.3.9-1 - Update to childprocess 0.3.9 * Sun Aug 04 2013 Fedora Release Engineering - 0.3.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 20 2013 Vít Ondruch - 0.3.6-3 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Thu Feb 14 2013 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 13 2012 Mo Morsi - 0.3.6-1 - Update to childprocess 0.3.6 * Sat Jul 21 2012 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Feb 03 2012 Vít Ondruch - 0.2.0-3 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Aug 03 2011 Chris Lalancette - 0.2.0-1 - Initial package