From the course: Building, Maintaining, and Distributing RPM Packages

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Write a spec file to distribute regular files

Write a spec file to distribute regular files

- [Instructor] Here in this working directory, I have a few files about distribute to client systems. In this case, there's some brand assets for a hotel chain that a certain set of our client machines should always have installed and up to date. To get started making them package with these files, I'll run RPM dev set up tree to create the directory structure that we'll need. That generated the RPM build directory here in my home directory. We'll also need a spec file for this package and I'll create a template to fill out with RPM dev new spec and the name of my package. Let's take a moment to fill out the necessary information in there. The name is already set from when we created the template. I'll set a version and let's call this one, 1.0.0. I'll leave the release at one followed by the distribution macro, since this will be the first release of this version and I'll write a one line summary of the package here. And…

Contents