Skip to main content

rpmbuild prepares RPM packages (see the tag) from scenarios also knowsknown as spec-files. spec-files providesprovide information to rpmbuild about necessary steps which should be executed to produce RPM packages.

In general, RPM preparing routine consists of the following steps:

  1. Creating of building environment:

    mkdir ~/rpmbuild
    mkdir ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
    # Directories summary:
    #
    # BUILD     in this directory source code will be buildingbuilt
    # BUILDROOT in this directory software will be installed before packing in the package
    # RPM RPMS      this directory contains completed (binary) RPM packages
    # SOURCES   where you should put the sources for the application
    # SPECS     where you should place the spec file(s)
    # SRPMS     this directory contains completed source RPM packages
    
  2. Putting source files tointo the ~/rpmbuild/SOURCES directory.

  3. Putting spec-files tointo the ~/rpmbuild/SPECS directory.

  4. Running rpmbuild <options>options /path/to/spec/file.

Good andSee also the rpmbuild(8) man page and detailed instructioninstructions in the Fedora RPM GuideFedora RPM Guide.

rpmbuild prepares RPM packages from scenarios also knows as spec-files. spec-files provides information to rpmbuild about necessary steps which should be executed to produce RPM packages.

In general RPM preparing routine consists of the following steps:

  1. Creating of building environment:

    mkdir ~/rpmbuild
    mkdir ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
    # Directories summary:
    #
    # BUILD     in this directory source code will be building
    # BUILDROOT in this directory software will be installed before packing in the package
    # RPM       this directory contains completed RPM packages
    # SRPMS     this directory contains completed source RPM packages
    
  2. Putting source files to ~/rpmbuild/SOURCES directory.

  3. Putting spec-files to ~/rpmbuild/SPECS directory.

  4. Running rpmbuild <options> /path/to/spec/file.

Good and detailed instruction in Fedora RPM Guide.

rpmbuild prepares RPM packages (see the tag) from scenarios also known as spec-files. spec-files provide information to rpmbuild about necessary steps which should be executed to produce RPM packages.

In general, RPM preparing routine consists of the following steps:

  1. Creating of building environment:

    mkdir ~/rpmbuild
    mkdir ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
    # Directories summary:
    #
    # BUILD     in this directory source code will be built
    # BUILDROOT in this directory software will be installed before packing in the package
    # RPMS      this directory contains completed (binary) RPM packages
    # SOURCES   where you should put the sources for the application
    # SPECS     where you should place the spec file(s)
    # SRPMS     this directory contains completed source RPM packages
    
  2. Putting source files into the ~/rpmbuild/SOURCES directory.

  3. Putting spec-files into the ~/rpmbuild/SPECS directory.

  4. Running rpmbuild options /path/to/spec/file.

See also the rpmbuild(8) man page and detailed instructions in the Fedora RPM Guide.

rpmbuild prepares RPM packages from scenarios also knows as spec-files. spec-files provides information to rpmbuild about necessary steps which should be executed to produce RPM packages.

In general RPM preparing routine consists of the following steps:

  1. Creating of building environment:

    mkdir ~/rpmbuild
    mkdir ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
    # Directories summary:
    #
    # BUILD     in this directory source code will be building
    # BUILDROOT in this directory software will be installed before packing in the package
    # RPM       this directory contains completed RPM packages
    # SRPMS     this directory contains completed source RPM packages
    
  2. Putting source files to ~/rpmbuild/SOURCES directory.

  3. Putting spec-files to ~/rpmbuild/SPECS directory.

  4. Running rpmbuild <options> /path/to/spec/file.

Good and detailed instruction in Fedora RPM Guide.

rpmbuild prepares RPM packages from scenarios also knows as spec-files. spec-files provides information to rpmbuild about necessary steps which should be executed to produce RPM packages.

In general RPM preparing routine consists of the following steps:

  1. Creating of building environment:

    mkdir ~/rpmbuild
    mkdir ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
    # Directories summary:
    #
    # BUILD     in this directory source code will be building
    # BUILDROOT in this directory software will be installed before packing in the package
    # RPM       this directory contains completed RPM packages
    # SRPMS     this directory contains completed source RPM packages
    
  2. Putting source files to ~/rpmbuild/SOURCES directory.

  3. Putting spec-files to ~/rpmbuild/SPECS directory.

  4. Running rpmbuild <options> /path/to/spec/file.

Good and detailed instruction in Fedora RPM Guide.

Link