Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dl9pf:rts-luh
rubygem-rails-1_2
rubygem-rails-1_2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-rails-1_2.spec of Package rubygem-rails-1_2
# # spec file for package rubygem-rails-1_2 (Version 1.2.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-rails-1_2 Version: 1.2.6 Release: 0 # %define mod_name rails %define mod_branch 1_2 # Group: Development/Languages/Ruby License: X11/MIT # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch Requires: rubygems > 0.9 Provides: rubygem-%{mod_name} = %{version}-%{release} # Obsoletes: rubygem-%{mod_name} < %{version} BuildRequires: rubygem-rake >= 0.7.2 BuildRequires: rubygem-activesupport-1_4 = 1.4.4 BuildRequires: rubygem-activerecord-1_15 = 1.15.6 BuildRequires: rubygem-actionpack-1_13 = 1.13.6 BuildRequires: rubygem-actionmailer-1_3 = 1.3.6 BuildRequires: rubygem-actionwebservice-1_2 = 1.2.6 Requires: rubygem-rake >= 0.7.2 Requires: rubygem-activesupport-1_4 = 1.4.4 Requires: rubygem-activerecord-1_15 = 1.15.6 Requires: rubygem-actionpack-1_13 = 1.13.6 Requires: rubygem-actionmailer-1_3 = 1.3.6 Requires: rubygem-actionwebservice-1_2 = 1.2.6 PreReq: update-alternatives # # http://rubyforge.org/projects/rails/ Url: http://www.rubyonrails.org/ Source: http://rubyforge.org/frs/download.php/18404/rails-1.2.6.gem # Summary: A web-application framework for the MVC pattern %description Rails is a web-application framework for the MVC pattern that includes both a template engine, controller framework, and object-relational mapping package. Everything needed to develop web-apps that can run on CGI, FastCGI, and mod_ruby. Authors: -------- rails development team %prep %build %install gem install --local --build-root=%{buildroot} %{S:0} mv %{buildroot}%{_bindir}/rails{,-%{mod_branch}} %{__ln_s} rails %{buildroot}%{_bindir}/rails # make sure it installs the right version when using rails-1.1 ruby -p -i.bak -e '$_.gsub!(/>= 0/, "= %{version}")' %{buildroot}%{_bindir}/rails-%{mod_branch} diff -urN %{buildroot}%{_bindir}/rails-%{mod_branch}{.bak,} || : rm %{buildroot}%{_bindir}/rails-%{mod_branch}.bak %clean %{__rm} -rf %{buildroot} %post /usr/sbin/update-alternatives --install \ %{_bindir}/rails rails %{_bindir}/rails-%{mod_branch} 12 %preun if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove rails %{_bindir}/rails-%{mod_branch} fi %files %defattr(-,root,root,-) %ghost %config(noreplace) %{_bindir}/rails %{_bindir}/rails-%{mod_branch} %{_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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor