3 %bcond_with tests # build without tests
5 %define pkgname celluloid
6 Summary: Actor-based concurrent object framework for Ruby
11 Group: Development/Languages
12 Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
13 # Source0-md5: 8e28d7173292ea55aaa727b0a0da8913
14 URL: https://github.com/celluloid/celluloid
15 BuildRequires: rpm-rubyprov
16 BuildRequires: rpmbuild(macros) >= 1.665
18 BuildRequires: ruby-benchmark_suite
19 BuildRequires: ruby-guard-rspec
20 BuildRequires: ruby-rake
21 BuildRequires: ruby-rspec
23 Requires: ruby-rubygems >= 1.3.6
24 Requires: ruby-timers < 1.2
25 Requires: ruby-timers >= 1.1.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Celluloid enables people to build concurrent programs out of
31 concurrent objects just as easily as they build sequential programs
32 out of sequential objects.
35 %setup -q -n %{pkgname}-%{version}
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
44 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
45 cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{ruby_vendorlibdir}/celluloid.rb
53 %{ruby_vendorlibdir}/celluloid
54 %{ruby_specdir}/celluloid-%{version}.gemspec