1 %define gem_name systemu
2 Summary: Universal capture of stdout and stderr and handling of child process pid
7 Group: Development/Libraries
8 URL: https://github.com/ahoward/systemu
9 Source0: http://production.cf.rubygems.org/gems/%{gem_name}-%{version}.gem
10 # Source0-md5: 7ac461f71ebf29b68f286fe34730c2f2
11 BuildRequires: rpm-rubyprov
12 BuildRequires: rpmbuild(macros) >= 1.656
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Universal capture of stdout and stderr and handling of child process
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
26 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
29 rm -rf $RPM_BUILD_ROOT
32 %defattr(644,root,root,755)
34 %{ruby_vendorlibdir}/systemu.rb