README.md 835 字节
Newer Older
O
openeuler-ci-bot 已提交
1 2
# rubyporter

B
BruceGW 已提交
3
#### Description
O
openeuler-ci-bot 已提交
4 5
A rpm packager bot for ruby modules from rubygems.org

B
BruceGW 已提交
6 7
It is a tool to create spec file and create rpm for ruby modules.
#### Installation
O
openeuler-ci-bot 已提交
8

B
BruceGW 已提交
9
python3 setup.py install
O
openeuler-ci-bot 已提交
10

B
BruceGW 已提交
11 12
#### Preparation
Install below sofware before using this tool
O
openeuler-ci-bot 已提交
13

B
BruceGW 已提交
14 15 16 17 18
*  gcc 
*  gdb 
*  libstdc++-devel 
*  ruby-devel
*  rubygems-devel
O
openeuler-ci-bot 已提交
19

B
BruceGW 已提交
20 21 22 23 24 25 26
### Instructions
1. Create spec file, *rubyporter -s xxx*, add *-o xxx* to save to a file
```
e.g.  rubyporter -s puma (generate and display in the screen)
     
      rubyporter -s puma -o rubygem-puma.spec (generate and save to a file)
```
O
openeuler-ci-bot 已提交
27 28


B
BruceGW 已提交
29
2. Build rpm package, *rubyporter -b xxx*
O
openeuler-ci-bot 已提交
30

B
BruceGW 已提交
31
3. Build and Install rpm package, *rubyporter -B xxx*
O
openeuler-ci-bot 已提交
32

B
BruceGW 已提交
33
4. For more details, please use *rubyporter -h*
O
openeuler-ci-bot 已提交
34

B
BruceGW 已提交
35 36 37 38 39
#### Contribution
1.  Fork the repository
2.  Create Feat_xxx branch
3.  Commit your code
4.  Create Pull Request
O
openeuler-ci-bot 已提交
40