[rubygem-open4/f12/master] Initial import

Michal Fojtik mfojtik at fedoraproject.org
Sun Oct 17 14:37:50 UTC 2010


commit ca6e5d02e2c49fa1ec7070835016762c1ae060de
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Sun Oct 17 16:37:44 2010 +0200

    Initial import

 .gitignore         |    1 +
 rubygem-open4.spec |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..553d624 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/open4-1.0.1.gem
diff --git a/rubygem-open4.spec b/rubygem-open4.spec
new file mode 100644
index 0000000..fe6910c
--- /dev/null
+++ b/rubygem-open4.spec
@@ -0,0 +1,65 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname open4
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: Manage child processes and their IO handles easily
+Name: rubygem-%{gemname}
+Version: 1.0.1
+Release: 1%{?dist}
+Group: Development/Languages
+License: GPLv2+ or Ruby
+URL: http://github.com/ahoward/open4/tree/master
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: rubygems
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%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}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{geminstdir}/lib
+%doc %{geminstdir}/README
+%doc %{geminstdir}/README.erb
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%defattr(-, root, root, -)
+%{geminstdir}/Rakefile
+%{geminstdir}/samples
+%{geminstdir}/white_box
+%{geminstdir}/%{gemname}.gemspec
+%{gemdir}/doc/%{gemname}-%{version}
+
+
+%changelog
+* Wed Oct 13 2010 Michal Fojtik <mfojtik at redhat.com> - 1.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..10c4328 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d5d18fc9fc9384ceb53383605ada8211  open4-1.0.1.gem


More information about the scm-commits mailing list