README.md 1.1 KB
Newer Older
O
openeuler-ci-bot 已提交
1 2
# perlporter

晨东 已提交
3
#### Description
O
openeuler-ci-bot 已提交
4 5
perl pacaking automation tool

M
myeuler 已提交
6
perlporter is derived from cpanspec tool, It helps to build perl modules to be rpm package automatically, It can be used to resolve the build dependencies of perl modules
O
openeuler-ci-bot 已提交
7

晨东 已提交
8 9
#### Installation
Install below software before using this tool
O
openeuler-ci-bot 已提交
10

晨东 已提交
11 12
1.  yum install cpan
2.  yum install perl
O
openeuler-ci-bot 已提交
13

晨东 已提交
14 15 16 17 18 19 20 21
#### Preparation
Execute the following command to complete the system configuration
1.  sudo cpan
2.  install Archive::Tar
3.  install Archive::Zip
4.  install Text::Autoformat
5.  install Parse::CPAN::Packages
#### Instructions
O
openeuler-ci-bot 已提交
22

晨东 已提交
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
perlporter is a tool to create spec file and create rpm for python modules
For more details, please use perlporter -h

perlporter <package> -s -b -d -o python-<package>.spec

#### Contribution

1.  Fork the repository
2.  Create Feat_xxx branch
3.  Commit your code
4.  Create Pull Request

#### How to create a rpm file,Take perl-XXX as an example

1.  Create spec file:              perlporter --spec XXX
2.  The root path for rpm build:   perlporter --root XXX
3.  Build and Install rpm package: perlporter -B XXX
4.  For more detail:               perlporter -h
O
openeuler-ci-bot 已提交
41 42