[packages/ruby-popen4] new, version 0.1.2
glen
glen at pld-linux.org
Sun May 5 17:27:23 CEST 2013
commit d983d3dfe1a62aa78dd7652850b2972d59889216
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun May 5 18:26:58 2013 +0300
new, version 0.1.2
created with gem2rpm
ruby-popen4.spec | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
---
diff --git a/ruby-popen4.spec b/ruby-popen4.spec
new file mode 100644
index 0000000..529cf12
--- /dev/null
+++ b/ruby-popen4.spec
@@ -0,0 +1,38 @@
+%define pkgname popen4
+Summary: Open4 cross-platform
+Name: ruby-%{pkgname}
+Version: 0.1.2
+Release: 1
+License: GPL v2+ or Ruby
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: b09ff3770ac69ae7a218b82be1e038cb
+URL: http://github.com/shairontoledo/popen4
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+Requires: ruby-open4 >= 0.4.0
+Requires: ruby-platform < 1.0.0
+Requires: ruby-platform >= 0.4.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+POpen4 provides the Rubyist a single API across platforms for
+executing a command in a child process with handles on stdout, stderr,
+stdin streams as well as access to the process ID and exit status.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rdoc CHANGES LICENSE
+%{ruby_vendorlibdir}/%{pkgname}.rb
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-popen4.git/commitdiff/d983d3dfe1a62aa78dd7652850b2972d59889216
More information about the pld-cvs-commit
mailing list