Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
OpenNebula
>
rubygem-rack
> rubygem-rack.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rubygem-rack.spec of Package rubygem-rack
# # spec file for package rubygem-rack # # Copyright (c) 2011 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-rack Version: 1.2.1 Release: 1 %define mod_name rack # FIXME: temporarily ship 1.1.0 aswell so we can still use rails < 3 %define old_version 1.1.0 # Group: Development/Languages/Ruby License: MIT # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch %rubygems_requires # FIXME: temporarily ship 1.1.0 aswell so we can still use rails < 3 Provides: %{name} = %{old_version}-%{release} # Url: http://rack.rubyforge.org Source: %{mod_name}-%{version}.gem # FIXME: temporarily ship 1.1.0 aswell so we can still use rails < 3 Source1: %{mod_name}-%{old_version}.gem # Summary: Minimal interface between webservers supporting Ruby and Ruby frameworks %description Rack provides minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. Also see http://rack.rubyforge.org. %prep %build %install %gem_install %{S:1} %gem_install %{S:0} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/rackup %{_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}/ # FIXME: temporarily ship 1.1.0 aswell so we can still use rails < 3 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{old_version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{old_version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{old_version}.gemspec %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{old_version}/ %changelog