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
From the course: Building, Maintaining, and Distributing RPM Packages
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Creating a binary package1m 41s
-
Write a spec file to distribute regular files7m 58s
-
Build a binary package to distribute regular files2m 51s
-
Write a spec file to compile and distribute executables5m 39s
-
Build a binary package to distribute executables1m 44s
-
Building for different architectures2m 8s
-
-
-
-
-