You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rubygem-open4/rubygem-open4.spec

86 lines
2.1 KiB

%global gem_name open4
%global rubyabi 1.9.1
14 years ago
Summary: Manage child processes and their IO handles easily
Name: rubygem-%{gem_name}
Version: 1.3.0
Release: 2%{?dist}
14 years ago
Group: Development/Languages
License: BSD or Ruby
14 years ago
URL: http://github.com/ahoward/open4/tree/master
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
14 years ago
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
BuildRequires: rubygems-devel
BuildRequires: rubygem(minitest)
14 years ago
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
14 years ago
%description
Open child process with handles on pid, stdin, stdout, and stderr.
Manage child processes and their IO handles easily.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires:%{name} = %{version}-%{release}
%description doc
Documentation for %{name}
%prep
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
gem install --local --install-dir %{buildroot}%{gem_dir} \
14 years ago
--force --rdoc %{SOURCE0}
%check
pushd %{buildroot}%{gem_instdir}
testrb -Ilib -Itest/support test/*
popd
14 years ago
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{gem_instdir}
%{gem_libdir}
%doc %{gem_instdir}/LICENSE
%doc %{gem_instdir}/README
%doc %{gem_instdir}/README.erb
%{gem_cache}
%{gem_spec}
14 years ago
%files doc
%defattr(-, root, root, -)
%{gem_instdir}/rakefile
%{gem_instdir}/samples
%{gem_instdir}/test
%{gem_instdir}/white_box
%{gem_instdir}/%{gem_name}.gemspec
%{gem_docdir}
14 years ago
%changelog
* Tue Feb 07 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.0-2
- Fixed the license after clarification with the author.
* Tue Jan 24 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.0-1
- Rebuilt for Ruby 1.9.3.
- Updated to 1.3.0 version.
- Introduced %%check section for running tests.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
14 years ago
* Wed Oct 13 2010 Michal Fojtik <mfojtik@redhat.com> - 1.0.1-1
- Initial package