Fedora Classroom sessions return with a session on RPM packaging targeted at beginners.
About the session
RPMs are the smallest building blocks of the Fedora Linux system. This session will walk through the basics of building an RPM from source code. You will learn how to set up your Fedora system to build RPMs, how to write a spec file that adheres to the Fedora Packaging Guidelines, and how to use it to generate RPMs for distribution. The session will also provide a brief overview of the complete Fedora packaging pipeline.
While no prior knowledge of building RPMs or building software from its source code is required, some software development experience will be useful. The hope is to help users learn the skills required to build and maintain RPM packages, and to encourage them to contribute to Fedora by joining the package collection maintainers.
When and where
The classroom session will be organised on the BlueJeans video platform at 1200 UTC on June 17, 2021 and is expected to last an hour:
- BlueJeans event URL: https://redhat.bluejeans.com/473822117/3398
- Fedora calendar entry (Click to see the event in your local time zone and add it to your calendar application).
Topics covered in the session
- The basics of a spec file.
- Source and binary RPMs and how they are built from the spec using rpmbuild.
- A brief introduction to mock and fedpkg.
- The life cycle of a Fedora package.
- How you can join the Fedora package collection maintainers.
Prerequisites
- A Fedora installation (Workstation or any lab/spin)
- The following software should be installed and configured:
- git
sudo dnf install git
- fedora-packager
sudo dnf install fedora-packager
- mock (configured as per these instructions)
- git
Useful reading
- RPM packages explained
- How RPM packages are made: the spec file
- How RPM packages are made: the source RPM
About the instructor
Ankur Sinha has been maintaining packages in Fedora for more than a decade and is currently both a sponsor to the package maintainers group, and a proven packager. Ankur primarily focuses on maintaining neuroscience related software for the NeuroFedora Special Interest Group and contributes to other parts of the community wherever possible.
Fedora Classroom is a project aimed at spreading knowledge on Fedora related topics. If you would like to propose a session, feel free to open a ticket here with the tag classroom. If you are interested in taking a proposed session, please let us know and once you take it, you will be awarded the Sensei Badge too as a token of appreciation. Recordings from the previous sessions can be found here.
FMA
Will this be recorded?
thanks
Ankur Sinha "FranciscoD"
Hello,
Yes, that’s the intention.
Cheers,
Tamar
Hey,
I wasn’t able to join the meeting, got – “Sorry, no meetings out here!”.
Is there a need to register? Where can I find the recording?
Thanks!
Ankur Sinha "FranciscoD"
The meeting hasn’t begun yet, it’ll start in 5 minutes. The link should then be active.
BDN
The link still isn’t working for me.
William Wright
How can I block an unwelcome correspondent with a single ( or very few) key strokes ? Setting up MANY filters seems to be very inefficient.
I’ve been into Linux for about 25 years and treasure Red hat and IBM.
Will Wright
simmon
“FranciscoD” Thanks…
start page -fixed Web – Translation Memorial
Translation……….continues.
There are so many translations… Time goes by so fast. by simmon
Ankur Sinha "FranciscoD"
Folks, please use this link to join the session: https://redhat.bluejeans.com/473822117/3398
David E Stockwell
Meeting ID or Sharing Code??
Xtify
Will there be a recording of this lesson if you’re unable to attend? Thank you
Satheesaran Sundaramoorthi
Looking forward for the recording link
Max
Did this event get canceled for today? would you please post the new time/date. Thanks a bunch!
Max
Never mind I’ve just noticed the url was changed. Looking forward to the recording link indeed 🙂
Vincent T. Thompson
I like this post because we can get some useful information from your blog. This blog is very good. Street View Online
Luis Pedro Correia
Hi Ankur Sinha,
where’s the recording link?
Regards
Ankur Sinha "FranciscoD"
The recordings will be uploaded soon, hopefully early next week. We need to process the raw recording a bit before it can go up on the YouTube channel. Please keep an eye on this post and social media, where we’ll announce the recordings when they’re up.
More info here https://pagure.io/fedora-join/Fedora-Join/issue/249
Onyeibo
I missed this. Where is the video?
Suraj Rajendra Patil
Looking forward for the recording link
Joe Pesco
Hi!
This is my first opportunity to review my notes from the RPM Packaging classroom hosted by FranciscoD! I learned ’bout fedpkg from an on building the Linux kernel some time ago in Fedora Magazine, but I’ve never used the mock package before!!! Thanks for the great learning experience.
hammerhead corvette
Would be nice to get a Flatpak packaging classroom in the future !
TheFog
Goodmorning everyone,
Not yet known when registration will be available?
I’m interested.
Thank you
JohnsonG
Three weeks later, where is the video?