Changes between Initial Version and Version 1 of PackagingPolicy/Ruby


Ignore:
Timestamp:
2010/11/21 21:44:53 (13 years ago)
Author:
daisuke
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PackagingPolicy/Ruby

    v1 v1  
     1= Ruby 関連パッケージポリシー = 
     2 
     3Ruby 関連(ライブラリ)のパッケージングポリシーを定めます。 
     4 
     5== 配置 == 
     6 
     7原則としてRPMパッケージでいれるrubyライブラリは、マクロ定義されている %rlibdir または %rarchdir 
     8に配置するものとします。 
     9 
     10/usr/local/lib/site_ruby はパッケージ外でインストールされるライブラリのための場所となります。 
     11 
     12== 各種マクロ == 
     13 
     14 * %ruby     /usr/bin/ruby 
     15 * %__ruby   /usr/bin/ruby 
     16 * %rbindir  %(%{ruby} -r rbconfig -e 'print Config::CONFIG["bindir"]') 
     17   * /usr/bin 
     18 * %rlibdir  %(%{ruby} -r rbconfig -e 'print Config::CONFIG["rubylibdir"]') 
     19   * /usr/lib/ruby/1.8 
     20 * %rarchdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["archdir"]') 
     21   * /usr/lib/ruby/1.8/i686-linux 
     22   * /usr/lib64/ruby/1.8/x86_64-linux 
     23   * /usr/lib/ruby/1.8/powerpc-linux 
     24 * %rslibdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["sitelibdir"]') 
     25   * /usr/local/lib/site_ruby/1.8 
     26 * %rsarchdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["sitearchdir"]') 
     27   * /usr/local/lib/site_ruby/1.8/i686-linux 
     28   * /usr/local/lib64/site_ruby/1.8/x86_64-linux 
     29   * /usr/local/lib/site_ruby/1.8/powerpc-linux 
     30