[packages/ruby-childprocess] new, version 0.3.6
glen
glen at pld-linux.org
Sun Apr 21 00:13:06 CEST 2013
commit 0ae67ce78d14da6e2f9b3f02b28775b9d80e69a7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 21 01:12:32 2013 +0300
new, version 0.3.6
based on fedora rubygem-childprocess package
c5c0cb2fbe080ce3edf335e287707bdc24ddfff4
ruby-childprocess.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
---
diff --git a/ruby-childprocess.spec b/ruby-childprocess.spec
new file mode 100644
index 0000000..5bc2ea0
--- /dev/null
+++ b/ruby-childprocess.spec
@@ -0,0 +1,54 @@
+# TODO
+# - maybe clean wrong platform files?
+%define gem_name childprocess
+Summary: A simple and reliable gem for controlling external programs
+Name: ruby-%{gem_name}
+Version: 0.3.6
+Release: 1
+License: MIT
+Group: Development/Languages
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+# Source0-md5: 8b8ac0c071e0bb555e2e6ecdb64b6d47
+URL: http://github.com/jarib/childprocess
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: ruby-rspec
+Requires: ruby-ffi < 2
+Requires: ruby-ffi >= 1.0.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%build
+%if %{with tests}
+rspec spec
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%{ruby_vendorlibdir}/childprocess.rb
+%{ruby_vendorlibdir}/childprocess
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-childprocess.git/commitdiff/0ae67ce78d14da6e2f9b3f02b28775b9d80e69a7
More information about the pld-cvs-commit
mailing list