hrpmreb

Langue: en

Version: 2005-12-19 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

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"


-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


%myself

The program itself ($0)

%checkbinary


%checkbinary

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

%srcdir


%srcdir

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

%bindir


%bindir

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

%installdep


%installdep

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

%installdepcmd


%installdepcmd

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

%upload


%upload

If set, run the %uploadcmd command

%uploadcmd


%uploadcmd

The upload command to run to upload binary rpms

%logdir


%logdir

Where logfile should be put

%keepalllog


%keepalllog

Don't delete log even on build success

%nice


%nice

Renice the build process

%createrpmsdir


%createrpmsdir

If set, it will try to create rpms build directory

%sortbybuilddate


%sortbybuilddate

If define, sort srpms by builddate before build

%livestat


%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>