Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leo-project/leofs_package
leofs_rpm is a LeoFS' configuration file for RPM and DEB
https://github.com/leo-project/leofs_package
centos leofs package ubuntu
Last synced: 3 months ago
JSON representation
leofs_rpm is a LeoFS' configuration file for RPM and DEB
- Host: GitHub
- URL: https://github.com/leo-project/leofs_package
- Owner: leo-project
- Created: 2012-07-31T07:29:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2019-03-03T01:24:47.000Z (almost 6 years ago)
- Last Synced: 2024-04-23T14:10:03.863Z (10 months ago)
- Topics: centos, leofs, package, ubuntu
- Language: Ruby
- Homepage: https://github.com/leo-project/leofs
- Size: 37.1 KB
- Stars: 4
- Watchers: 11
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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, erlang2. Make working directories
```bash
$ mkdir -p ~/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
```3. Copy spec file to 'SPECS' directory
```bash
$ cp rpm/make_rpm.sh ~/rpm/SPECS
$ cp rpm/leofs.spec ~/rpm/SPECS
$ cp common/check_version.sh ~/rpm/SPECS
```4. Build RPM file
```bash
$ 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-essential2. Make working directories
```bash
$ mkdir {WORK_DIRECTORY}
```3. Copy script file
```bash
$ cp deb/make_deb.sh {WORK_DIRECTORY}
$ cp common/check_version.sh {WORK_DIRECTORY}
```4. Build deb file
```bash
$ cd {WORK_DIRECTORY}
$ sh make_deb.sh {LeoFS's Version} {use systemd}
```
where "use systemd" can be either "yes" for building a package for systemd-compatible distro
such as Ubuntu 16.04 or "no" for making a package that doesn't support (and depends on) systemd.