/[packages]/cauldron/ruby/current/SPECS/ruby.spec
ViewVC logotype

Diff of /cauldron/ruby/current/SPECS/ruby.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 291553 by fwang, Mon Sep 10 02:01:09 2012 UTC revision 291557 by fwang, Mon Sep 10 02:15:10 2012 UTC
# Line 2  Line 2 
2  %define rubyapi 1.9.1  %define rubyapi 1.9.1
3  %define rubyver 1.9.3  %define rubyver 1.9.3
4  %define patchversion p194  %define patchversion p194
5  %define rel 2  %define rel 3
6    
7    %define ruby_libdir %{_datadir}/%{name}
8    %define ruby_libarchdir %{_libdir}/%{name}
9    
10  # This is the local lib/arch and should not be used for packaging.  # This is the local lib/arch and should not be used for packaging.
11  %define ruby_sitelibdir %{_datadir}/ruby/site_ruby/  %define ruby_sitelibdir %{_datadir}/ruby/site_ruby
12  %define ruby_sitearchdir %{_libdir}/ruby/site_ruby/%{rubyapi}  %define ruby_sitearchdir %{_libdir}/ruby/site_ruby
13    
14  # This is the general location for libs/archs compatible with all  # This is the general location for libs/archs compatible with all
15  # or most of the Ruby versions available in the Fedora repositories.  # or most of the Ruby versions available in the Fedora repositories.
16  %define ruby_vendorlibdir %{_datadir}/ruby/vendor_ruby  %define ruby_vendorlibdir %{_datadir}/ruby/vendor_ruby
17  %define ruby_vendorarchdir %{_libdir}/ruby/vendor_ruby/%{rubyapi}  %define ruby_vendorarchdir %{_libdir}/ruby/vendor_ruby
18    
19  # The RubyGems library has to stay out of Ruby directory three, since the  # The RubyGems library has to stay out of Ruby directory three, since the
20  # RubyGems should be share by all Ruby implementations.  # RubyGems should be share by all Ruby implementations.
21  %define rubygems_dir %{_datadir}/ruby/gems/%{rubyapi}  %define rubygems_dir %{_datadir}/ruby/gems
22    
23  Summary:        Object Oriented Script Language  Summary:        Object Oriented Script Language
24  Name:           ruby  Name:           ruby
# Line 144  specified in standard Ruby syntax. Line 147  specified in standard Ruby syntax.
147  %build  %build
148  autoconf  autoconf
149  CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'`  CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'`
150  %configure2_5x --enable-shared --disable-rpath --enable-pthread \  %configure2_5x --enable-shared --disable-rpath --enable-pthread --disable-versioned-paths \
151            --with-rubylibprefix='%{ruby_libdir}' \
152            --with-archdir='%{ruby_libarchdir}' \
153          --with-sitedir='%{ruby_sitelibdir}' \          --with-sitedir='%{ruby_sitelibdir}' \
154          --with-sitearchdir='%{ruby_sitearchdir}' \          --with-sitearchdir='%{ruby_sitearchdir}' \
155          --with-vendordir='%{ruby_vendorlibdir}' \          --with-vendordir='%{ruby_vendorlibdir}' \

Legend:
Removed from v.291553  
changed lines
  Added in v.291557

  ViewVC Help
Powered by ViewVC 1.1.30