NAME

hrpmreb

DESCRIPTION

A very powerful rpm rebuilder using perl-RPM4

SYNOPSYS

hrpmreb -m macros rpm.src.rpm

OPTIONS

-m|--macros macrosfile

Read a rpm macros file and add it to rpm configuration.

To read several macros files, use -m macro1 -m macro2 ...

-D|--define "macro value"

Add a new macro to rpm configuration:

example: -D "_sourcedir /tmp"

This option can be used several time.

-b|--batch

Rebuild rpms found in %bindir instead of the one given on command line

-v|--verbose LEVEL

Set rpm verbosity level to LEVEL.

LEVEL can be an integer value (0 to 8) or a string value like "ERR", "DEBUG" or "INFO".

--noupload

Don't upload rpm after build.

This option has the same effect than defining %upload to 0.

--nochkbin

Don't check if binary already exist

This option has the same effect that defining %checkbinary to 0.

--noinstdep

Don't install dependancies needed to build the rpm

This option has the same effect than defining %installdep to 0.

--keepalllog

Don't delete log if build was successful.

This option has the same effect than defining %keepalllog to 1.

--nobuild

Skip build (and upload) stage, usefull for testing

--nosort

Do not sort srpms by builddate.

This option has the same effect than defining %sortbybuilddate to 0.

--livestat

Enable livestat functionnalities, see %livestat, --stat.

--stat

Give the statistics of current hrpmreb running on the current computer if they has been started with livestat functionnality.

MACROS

%myself

The program itself ($0)

%checkbinary

If set, check if binary does not exists in %bindir

%srcdir

A list of path separated by ':' where src.rpm should be found

%bindir

A list of path separated by ':' where binary rpm should be found

%installdep

If set, try to install dependancies (see %installrpmcmd)

%installdepcmd

The command to run to install dependancies (urpmi ...)

%upload

If set, run the %uploadcmd command

%uploadcmd

The upload command to run to upload binary rpms

%logdir

Where logfile should be put

%keepalllog

Don't delete log even on build success

%nice

Renice the build process

%createrpmsdir

If set, it will try to create rpms build directory

%sortbybuilddate

If define, sort srpms by builddate before build

%livestat

if set, hrpmreb use IPC to store his status, then you'll be able to use hrpmreb --stat to immediatelly get status of the current build.

AUTHOR

Olivier Thauvin <nanardon@zarb.org>