SPECS: ruby-fastthread.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Sun Dec 17 21:41:51 CET 2006
Author: aredridel Date: Sun Dec 17 20:41:51 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-fastthread.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-fastthread.spec
diff -u /dev/null SPECS/ruby-fastthread.spec:1.1
--- /dev/null Sun Dec 17 21:41:51 2006
+++ SPECS/ruby-fastthread.spec Sun Dec 17 21:41:46 2006
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary: Fast replacement for Ruby's default thread library
+Name: ruby-fastthread
+Version: 0.5.2
+Release: 1
+License: Ruby
+Group: Development/Libraries
+Source0: http://mongrel.rubyforge.org/releases/gems/fastthread-%{version}.gem
+# Source0-md5: e3e25c2ea1ba92a03f5edeee869e85b9
+URL: http://mongrel.rubyforge.org/
+BuildRequires: rpmbuild(macros) >= 1.277
+BuildRequires: ruby-devel
+BuildRequires: ruby-modules
+BuildRequires: setup.rb = 3.3.1
+Requires: ruby-fastthread
+%{?ruby_mod_ver_requires_eq}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Fast replacement for Ruby's default thread library
+
+%prep
+%setup -q -c -T
+tar xf %{SOURCE0} -O data.tar.gz | tar xzv-
+cp %{_datadir}/setup.rb .
+
+%build
+cd ext/fastthread
+ls *.c > MANIFEST
+cd ../..
+ruby setup.rb config --rbdir=%{ruby_rubylibdir} --sodir=%{ruby_archdir}
+ruby setup.rb setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
+
+ruby setup.rb install --prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{ruby_archdir}/*.so
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/12/17 20:41:46 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list