Skip to content
/ dkrpm Public

Dockerized RPM building process powered by RPMBuilder

License

Notifications You must be signed in to change notification settings

funbox/dkrpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dkrpm

Shell wrapper for RPMBuilder.

DemoRequirementsInstallationEnvironment variablesUsageShellCheck StatusCreditsLicense

Demo

demo

Requirements

Installation

Install dkrpm shell script to the directory. Use DESTDIR parameter to override default path.

sudo make install

Environment variables

Env var Status Default
DOCKER_RPMBUILDER_IMAGE RPMBuilder Docker image essentialkaos/rpmbuilder:centos7
DOCKER_PERFECTO_IMAGE Perfecto Docker image essentialkaos/perfecto:centos7

Usage

Usage: dkrpm command source <option>

Commands:

  p or pack             Create RPM package from spec file
  u or unpack           Unpack source files from SRPM package
  c or check            Validate spec file using Perfecto
  d or debug            Run shell command instead of RPMBuilder
  h or help             Show detailed information about command

See "dkrpm help <command>" for information on a specific command.

Examples:

  dkrpm pack htop.spec -V -1
  dkrpm unpack htop-2.0.2-0.el7.src.rpm
  dkrpm check htop.spec
  dkrpm debug htop.spec

ShellCheck Status

Branch Status
master Build Status
develop Build Status

Credits

Anton Novojilov for RPMBuilder and ESSENTIAL KAOS repository.

License

MIT

Sponsored by FunBox