]> git.pld-linux.org Git - packages/ruby-celluloid.git/commitdiff
new, version 0.14.1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 14 Jul 2013 11:12:59 +0000 (14:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 14 Jul 2013 11:12:59 +0000 (14:12 +0300)
created with gem2rpm

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

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