diff --git a/childprocess-0.5.9.gem b/childprocess-0.5.9.gem new file mode 100644 index 0000000000000000000000000000000000000000..229970527229ae3291b1a98c9ec5ac97f489d8cd Binary files /dev/null and b/childprocess-0.5.9.gem differ diff --git a/rubygem-childprocess.spec b/rubygem-childprocess.spec new file mode 100644 index 0000000000000000000000000000000000000000..ddfe090a1dff13f88ca960538964a116e5eded4e --- /dev/null +++ b/rubygem-childprocess.spec @@ -0,0 +1,60 @@ +%global gem_name childprocess +Summary: A simple and reliable gem for controlling external programs +Name: rubygem-%{gem_name} +Version: 0.5.9 +Release: 1 +License: MIT +URL: http://github.com/enkessler/childprocess +Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: rubygems-devel rubygem(rspec) >= 3 +BuildArch: noarch +%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} +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} +sed -i -e '5,6d' spec/spec_helper.rb +rspec spec +popd + +%files +%doc %{gem_instdir}/LICENSE +%{gem_libdir} +%dir %{gem_instdir} +%{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_instdir}/README.md +%{gem_instdir}/spec +%doc %doc %{gem_docdir} + +%changelog +* Tue Aug 18 2020 wanglin - 0.5.9-1 +- package init diff --git a/rubygem-childprocess.yaml b/rubygem-childprocess.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f7962d4d988796a3fce5e6a467a2dfc2436c6666 --- /dev/null +++ b/rubygem-childprocess.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: enkessler/childprocess +tag_prefix: "^v" +separator: "."