This document discusses RPM packaging and the RPM build process. It describes the components of an RPM, including the SPEC file and sources/patches. The SPEC file structure is outlined, including the preamble with metadata and the body sections for descriptions, preparing, building, installing, checking, and listing files. Helper tools for packaging common languages like Go, Perl, Python and Ruby are also mentioned.
36. Body sections
• %description: Long description
• %prep: Commands to prepare the environment for the build
• %build: Commands to build the software
7
37. Body sections
• %description: Long description
• %prep: Commands to prepare the environment for the build
• %build: Commands to build the software
• %install: Commands to install the software
7
38. Body sections
• %description: Long description
• %prep: Commands to prepare the environment for the build
• %build: Commands to build the software
• %install: Commands to install the software
• %check: Commands to test the software
7
39. Body sections
• %description: Long description
• %prep: Commands to prepare the environment for the build
• %build: Commands to build the software
• %install: Commands to install the software
• %check: Commands to test the software
• %files: List of files and folders to be included in the package
7
40. Body sections
• %description: Long description
• %prep: Commands to prepare the environment for the build
• %build: Commands to build the software
• %install: Commands to install the software
• %check: Commands to test the software
• %files: List of files and folders to be included in the package
• %changelog: Change history
7