2017 © Pedro Peláez
 

library php-rpm-packager

RPM packager for PHP applications.

image

wapmorgan/php-rpm-packager

RPM packager for PHP applications.

  • Tuesday, May 22, 2018
  • by wapmorgan
  • Repository
  • 1 Watchers
  • 6 Stars
  • 841 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 9 % Grown

The README.md

RPM packager (PHP)

Composer package Build Status Scrutinizer Code Quality, (*1)

A simple rpm packager for PHP applications., (*2)

Get composer:, (*3)

curl -sS http://getcomposer.org/installer | php

Install dependencies and autoloader, (*4)

php composer.phar install

Use it:, (*5)

<?php

require_once __DIR__ . '/vendor/autoload.php';

$spec = new \wapmorgan\rpm\Spec();
$spec
    ->setPackageName("my-package-name")
    ->setVersion("0.1.1")
    ->setDescription("My software description")
    ->setSummary('simple summary')
    ->setRelease('1')
    ->setUrl('http://...');
;

$packager = new \wapmorgan\rpm\Packager();

$packager->setOutputPath("/path/to/out");
$packager->setSpec($spec);

$packager->mount("/path/to/source-conf", "/etc/my-sw");
$packager->mount("/path/to/exec", "/usr/bin/my-sw");
$packager->mount("/path/to/docs", "/usr/share/docs");

//Creates folders using mount points
$packager->run();

//Get the rpmbuild command
echo $packager->build();

Create the Package, (*6)

$(php pack.php)

The Versions

22/05 2018

dev-master

9999999-dev

RPM packager for PHP applications.

  Sources   Download

GPL-3.0

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building

24/01 2017

v0.1.6

0.1.6.0

RPM packager for PHP applications.

  Sources   Download

GPL-3.0

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building

26/05 2015

v0.1.5

0.1.5.0

RPM packager for PHP applications.

  Sources   Download

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building

26/05 2015

v0.1.4

0.1.4.0

RPM packager for PHP applications.

  Sources   Download

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building

25/05 2015

v0.1.3

0.1.3.0

RPM packager for PHP applications.

  Sources   Download

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building

25/05 2015

v0.1.2

0.1.2.0

RPM packager for PHP applications.

  Sources   Download

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building

25/05 2015

v0.1.1

0.1.1.0

RPM packager for PHP applications.

  Sources   Download

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building

25/05 2015

v0.1.0

0.1.0.0

RPM packager for PHP applications.

  Sources   Download

The Requires

  • ext-phar *

 

The Development Requires

packager rpm package building