This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
developingpld [2013-12-24 20:30] glen [Required knowledge] |
developingpld [2013-12-24 20:37] glen [Spec files] |
||
---|---|---|---|
Line 37: | Line 37: | ||
==== Spec files ==== | ==== Spec files ==== | ||
- | A ''spec'' file contains metadata and building instruction required to create at least one RPM package. It is a text file suitable for processing with the ''builder'' script which in turn handles the whole building process from fetching all the necessary sources from PLD's infrastructure (or directly from the Internet) to packaging the results into installable RPM files (the latter being done by the ''rpmbuild'' utility). | + | |
+ | A ''spec'' file contains metadata and building instruction required to create at least one RPM package. It is a text file suitable for processing with the [[developingpld:builderscript|builder]] script which in turn handles the whole building process from fetching all the necessary sources from PLD's infrastructure (or directly from the Internet) to packaging the results into installable RPM files (the latter being done by the ''rpmbuild'' utility). | ||
You can also [[http://www.rpm.org/max-rpm/ch-rpm-inside.html|read more on spec files]]. | You can also [[http://www.rpm.org/max-rpm/ch-rpm-inside.html|read more on spec files]]. | ||
- | All the ''spec'' files reside inside //SPECS// module of our [[:Repositories| CVS server]]. The module also contains some special files, the most crucial being the ''builder'' script. | + | All the ''spec'' files reside inside their respective package dir of our [[repositories#git_repositories| GIT server]]. [[package>rpm-build-tools]] package, containing ''builder'' script, also contains some special files, the most crucial being the ''builder'' script. |
- | + | ||
- | + | ||
==== The builder script ==== | ==== The builder script ==== | ||
The ''builder'' script is responsible for the whole package assembly process. It fetches all the needed sources, checks for required dependencies, unpacks the sources, compiles them and finally packages the result into installable RPM files. | The ''builder'' script is responsible for the whole package assembly process. It fetches all the needed sources, checks for required dependencies, unpacks the sources, compiles them and finally packages the result into installable RPM files. |