Skip to content

c4t3l/rpm-guide

 
 

Repository files navigation

RPM Packaging Guide

A hands-on guide to RPM packaging for Fedora/RHEL systems.

Prerequisites

  • Basic Linux command-line knowledge
  • Ability to search documentation
  • Fedora-based system (or RHEL/CentOS)

Structure

Each directory contains a self-contained example focusing on a specific aspect of RPM packaging:

  • 00-start - Setup and basic terminology
  • 01-basics - Your first RPM spec file
  • 02-dependencies - Handling BuildRequires and Requires
  • 03-patching-from-pr - Applying patches from upstream PRs
  • 04-patching-custom - Creating custom patches
  • 05-subpackages - Splitting into -devel, -examples, -doc
  • 06-unbundling - Using system libraries instead of bundled
  • 07-rust - Packaging Rust applications with system crates

Usage

Work through directories in order. Each contains:

  • README.md with explanation
  • Example spec files
  • Source files (where applicable)
  • Expected outputs or solutions

Future Topics

See XX-todo/ for ideas on additional sections to add.

Contributing

Feel free to suggest improvements or additional topics.

Attribution

AIA HAb SeNc Hin R claude-4.5-sonnet v1.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 68.3%
  • Shell 31.7%