checkinstall on CentOS 5.5

rpm package を楽につくるための software 。 command 叩いて適当に summary 埋めるとできるというものぐさにはたまらない tool 。

ただ EPEL にも RPMforge にも package がないので自前で install する。

  1. > cd
  2. > mkdir -p work/install/checkinstall
  3. > cd work/install/checkinstall
  4. > wget http://www.asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.2.tar.gz
  5. > tar xzvf checkinstall-1.6.2.tar.gz
  6. > cd checkinstall-1.6.2
  7. > make
  8. # make install
    • とりあえず install
  9. # checkinstall
    • 自分自身の rpm package を作る
  10. > cd ../
  11. > cp /usr/src/redhat/RPMS/x86_64/checkinstall-1.6.2-1.x86_64.rpm .
  12. # rpm -ivh checkinstall-1.6.2-1.x86_64.rpm
    • ちゃんと install

これで各 software で make したあとに checkinstall すると幸せになれる。ただまぁおれの場合 summary とか名前の付け方とかはテケトー。文化をしらんのだよな。