mocchira / leofs_package

leofs_rpm is a LeoFS' configuration file for RPM and DEB

Home Page:https://github.com/leo-project/leofs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leofs_package

leofs_rpm is the leofs's configuration file for RPM(RedHat)/deb(Ubuntu)

###How to make RPM file

  1. Prepare environment
  • Install Git, rpmbuild, erlang
  1. Make working directories
$ mkdir -p ~/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
  1. Copy spec file to 'SPECS' directory
$ cp rpm/make_rpm.sh ~/rpm/SPECS  
$ cp rpm/leofs.spec ~/rpm/SPECS
  1. Build RPM file
$ cd ~/rpm/SPECS  
$ sh make_rpm.sh VERSION 
Example:  
$ sh make_rpm.sh 0.14.0  
  • RPM file is created in the 'RPMS' directory.

##How to make deb file

  1. Prepare environment
  • Install Git, fakeroot, build-essential
  1. Make working directories
$ mkdir {WORK_DIRECTORY}
  1. Copy script file
$ cp deb/make_deb.sh {WORK_DIRECTORY}
  1. Build deb file
$ cd {WORK_DIRECTORY}
$ sh make_deb.sh {LeoFS's Version}

About

leofs_rpm is a LeoFS' configuration file for RPM and DEB

https://github.com/leo-project/leofs


Languages

Language:Shell 100.0%