]> git.pld-linux.org Git - packages/ruby-popen4.git/commitdiff
new, version 0.1.2 auto/th/ruby-popen4-0.1.2-1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 5 May 2013 15:26:58 +0000 (18:26 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 5 May 2013 15:26:58 +0000 (18:26 +0300)
created with gem2rpm

ruby-popen4.spec [new file with mode: 0644]

diff --git a/ruby-popen4.spec b/ruby-popen4.spec
new file mode 100644 (file)
index 0000000..529cf12
--- /dev/null
@@ -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
This page took 0.120482 seconds and 4 git commands to generate.