Hi, I would like to request an adjustment to the extras wiki for
packaging guidelines. Specifically I found it time consuming to find the
key information on how to actually set up my machine to start developing
packages. Here is a draft:
http://fedoraproject.org/wiki/Packaging/Guidelines
=====
+[[Anchor(PackageDevelopmentEnvironment)]]
+=== Configuring a Fedora system for developing packages ===
+When beginning package development, there are some tools like
'''rpmdevtools''' and '''rpmlint''' that will assist in:
+ * installing the minimal compilation and build programs
+ * setting up a standardized package build environment for a developer user
+ * testing your built packages
+'''rpmdevtools''' and '''rpmlint''' can be installed from the Fedora
Extras repository with yum:
+{{{
+ yum install rpmdevtools rpmlint
+}}}
+Additional information is available from [:rpmdevtools: RPM Development
Tools], and the draft [:Docs/Drafts/BuildingPackagesGuide: Building
Packages in Fedora].
Any comments ? (I included a diff if it's OK to go.)
DaveT.
--- Guidelines.txt.2006-12-06 2006-12-09 19:18:21.000000000 +1100
+++ Guidelines.txt 2006-12-09 21:29:52.000000000 +1100
@@ -84,6 +84,18 @@
If you are unsure whether or not your files meet these requirements, ask on fedora-extras-list, and we will examine them for you.
+[[Anchor(PackageDevelopmentEnvironment)]]
+=== Configuring a Fedora system for developing packages ===
+When beginning package development, there are some tools like '''rpmdevtools''' and '''rpmlint''' that will assist in:
+ * installing the minimal compilation and build programs
+ * setting up a standardized package build environment for a developer user
+ * testing your built packages
+'''rpmdevtools''' and '''rpmlint''' can be installed from the Fedora Extras repository with yum:
+{{{
+ yum install rpmdevtools rpmlint
+}}}
+Additional information is available from [:rpmdevtools: RPM Development Tools], and the draft [:Docs/Drafts/BuildingPackagesGuide: Building Packages in Fedora].
+
[[Anchor(PackageFromScratch)]]
== Writing a package from scratch ==
When writing a package from scratch, you should base your spec file on the Fedora spec file template (see ["rpmdevtools"]). Please put your preferences about spec file formatting and organization aside, and try to conform to this template as much as possible. This is not because we believe this is the only right way to write a spec file, but because it often makes it easier for QA to spot mistakes and quickly understand what you are trying to do.
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list