[packages/ruby-timers] new, version 1.0.2
glen
glen at pld-linux.org
Sun Jul 14 12:39:57 CEST 2013
commit 9e6177ad99d451a008887a4e66fca2338d13e097
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jul 14 13:39:33 2013 +0300
new, version 1.0.2
created with gem2rpm
ruby-timers.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
---
diff --git a/ruby-timers.spec b/ruby-timers.spec
new file mode 100644
index 0000000..c492048
--- /dev/null
+++ b/ruby-timers.spec
@@ -0,0 +1,42 @@
+#
+# Conditional build:
+%bcond_with tests # build without tests
+
+%define pkgname timers
+Summary: Pure Ruby one-shot and periodic timers
+Name: ruby-%{pkgname}
+Version: 1.0.2
+Release: 1
+License: GPL v2+ or Ruby
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 967f11ab1c43982863fc0dba50b428f1
+URL: https://github.com/tarcieri/timers
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires: ruby-rake
+BuildRequires: ruby-rspec
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Schedule procs to run after a certain time, or at periodic intervals,
+using any API that accepts a timeout.
+
+%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-timers.git/commitdiff/9e6177ad99d451a008887a4e66fca2338d13e097
More information about the pld-cvs-commit
mailing list