[packages/ruby-celluloid] new, version 0.14.1
glen
glen at pld-linux.org
Sun Jul 14 13:13:18 CEST 2013
commit 2677b4f5621bf3ab45bee02d1ea4ca9f2f085373
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jul 14 14:12:59 2013 +0300
new, version 0.14.1
created with gem2rpm
ruby-celluloid.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
---
diff --git a/ruby-celluloid.spec b/ruby-celluloid.spec
new file mode 100644
index 0000000..ad0f395
--- /dev/null
+++ b/ruby-celluloid.spec
@@ -0,0 +1,47 @@
+#
+# Conditional build:
+%bcond_with tests # build without tests
+
+%define pkgname celluloid
+Summary: Actor-based concurrent object framework for Ruby
+Name: ruby-%{pkgname}
+Version: 0.14.1
+Release: 1
+License: MIT
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 0d31912e5b1a1d9fd233e9783e451bc9
+URL: https://github.com/celluloid/celluloid
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires: ruby-benchmark_suite
+BuildRequires: ruby-guard-rspec
+BuildRequires: ruby-rake
+BuildRequires: ruby-rspec
+%endif
+Requires: ruby-rubygems >= 1.3.6
+Requires: ruby-timers >= 1.0.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Celluloid enables people to build concurrent programs out of
+concurrent objects just as easily as they build sequential programs
+out of sequential objects.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%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)
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-celluloid.git/commitdiff/2677b4f5621bf3ab45bee02d1ea4ca9f2f085373
More information about the pld-cvs-commit
mailing list