Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
OpenNebula
>
rubygem-thin
> rubygem-thin.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rubygem-thin.spec of Package rubygem-thin
# # spec file for package rubygem-thin (Version 1.2.7) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-thin Version: 1.2.7 Release: 0 %define mod_name thin # Group: Development/Languages/Ruby License: GPLv2+ or Ruby # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch %rubygems_requires Requires: ruby >= 1.8.5 BuildRequires: ruby-devel >= 1.8.5 BuildRequires: rubygem-rack >= 1.0.0 Requires: rubygem-rack >= 1.0.0 BuildRequires: rubygem-eventmachine >= 0.12.6 Requires: rubygem-eventmachine >= 0.12.6 BuildRequires: rubygem-daemons >= 1.0.9 Requires: rubygem-daemons >= 1.0.9 # Url: http://code.macournoyer.com/thin/ Source: %{mod_name}-%{version}.gem # Summary: A thin and fast web server %description Thin is a very simple web server written in Ruby. It's single-threaded, which means it can only serve one request at a time. This simplicity affords increased speed and decreased memory usage for singled-threaded framework like Rails. Thin is a Ruby web server that glues together 3 of the best Ruby libraries in web history: - the Mongrel parser, the root of Mongrel speed and security - Event Machine, a network I/O library with extremely high scalability, performance and stability - Rack, a minimal interface between webservers and Ruby frameworks Which makes it, with all humility, the most secure, stable, fast and extensible Ruby web server. Authors: -------- Marc-Andre Cournoyer <macournoyer@gmail.com> %prep %build %install %gem_install %{S:0} %gem_cleanup # fix /usr/local/bin/ruby usage sed -i 's,/usr/local/bin/ruby,/usr/bin/ruby,' \ %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/spec/rails_app/public/dispatch.* %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/thin %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog