Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Options

SectionParamaterNote 
[config]nameThe RPM package name 
 descriptionThe RPM package description 
 destinationThe install destination directory 
 licenseThe license which will be shown in RPM package 
 dependsThe depending/required RPM packages

NOTE: we must provide all php56u packages from all other dependencies packages, like cacti, icinga, here

Otherwise these packages: it will throw an error, like php-common conflicts with php56u-common

 optionsThis options will be 1-to-1 send to fpm build tool 
 excludeExclude these files/directories from build process 
[files] Copy the files from Install/files directory to destination, see below: 

 

Example: nmsprime-base

Code Block
title/var/www/nmsprime/Install/config.cfg
[config]
name            = "nmsprime-base"
description     = "NMS Prime Base Package"
destination     = "/var/www/nmsprime"
license         = "GPLv3"
depends         = "mariadb mariadb-server httpd php56u php56u-cli php56u-mysqlnd php56u-mcrypt php56u-mbstring php56u-pdo mod_ssl composer git wget"
options         = ""
exclude         = "'**nmsprime/modules' '**nmsprime/public/modules' '**nmsprime/storage/app' # ..

[files]
nmsprime-admin.conf     = /etc/httpd/conf.d/nmsprime-admin.conf
cron-nmsprime           = /etc/cron.d/nmsprime
# ..

...