1,885
edits
Changes
→Week 5 (Sept 29) - Creating SPEC files and RPMs
= Week 5 (Sept 29) - Creating SPEC files and RPMs =
== RPM Packages ==
* Purpose
* What's in an RPM package file
** Metadata
*** What the package provides
*** Dependencies
*** Packager, date, license, summary, description, ...
** Digital signature
** Software
** Data
*** Fonts
*** Icons
*** Sample data
** Documentation
** Configuration files
** Setup scripts
*** Pre-install
*** Post-install
*** Pre-uninstall
*** Post-uninstall
== The RPM Database ==
* Purpose of the database
* Querying the RPM database
** rpm -q
== Creating Packages ==
* Packaging scenarios
* Setting up a Packaging Environment
** Needed packages
*** rpm-build
*** rpmdevtools
*** rpmlint
** Setting up the RPM tree
*** rpmdev-setuptree
* Source RPMS
** Installing
** Examining the contents
** Rebuilding
*** rpmbuild --rebuild *.src.rpm
** Building from the spec file
== Writing a specfile ==
* rpmdev-newspec ''packagename''
* Sections
* Macros
== Creating a Simple Package ==
* NLED
* Writing the specfile
* Testing the specfile
* Using rpmlint
'''TODO:'''
# Take the software you compiled last week and package it. Blog about the experience.
= Week 6 (Oct 6) - RPM Scripts =
== Guest speaker: Andrew Overholt ==