Naming policy """"""""""""" Package-format: %{name}-%{version}-%{release}.%{disttag}.%{repotag} eg. Name format: Usually the name is lowercase, unless there's a good reason not to. Examples that are not lowercased are perl-packages and packages that extend existing Red Hat packages. eg. SDL_ttf perl-HTML-TableExtract In some cases finding a proper name is not easy and it may be helpful to look how other distributions are naming these packages. Some packages fall into specific namespaces and are prepended with that namespace. These packages include perl-packages, python-packages, php-packages, kernel-module packages and add-on packages. eg. fonts-ttf-latex kernel-module-alsa perl-HTML-TableExtract php-rrdtool python-numeric Add-on packages are packages that extend an existing packages and cannot be used seperately. eg. mplayer-skins squidguard-blacklists xmms-xosd Utilities packages are packages that are part of libraries or kernel-modules and contain extra tools that make use of these libraries or kernel-modules, usually these are sub packages. eg. madwifi-utils (subpackage of kernel-module-madwifi) slmodem-utils (subpackage of kernel-module-slmodem) Version format: Use the real version if possible. Strip off all "word" characters so that it fits into the following pcre: \d+(\.\d+)+ eg. 0.2 0.05 1.105 Release format: The release tags normally starts at 1 and is a single integer. Unless it is a pre-release (like alpha, beta, pre, rc or cvs releases). In these cases it starts with 0 followed with the pre-release tag. eg. 0.cvs20040329 0.rc4 0.pre3 In case where an existing Red Hat package is superceded by a newer version, the release should be prepended with a 0. eg. logwatch-4.3.1-2.1 (in fc1) logwatch-5.1-0.1.rhfc1.dag logwatch-5.1-0.3.rhfc1.dag logwatch-5.1-3 (in fc2) Disttag format: The disttag is a special tag that allows us to control the upgrade path. For this reason it is prepended by an integer-part followed by a recognizable distribution-part. As long as newer releases are higher, the prepended integer is not increased. eg. 0.el2 0.rh7 0.rh8 0.rh9 1.el3 1.fc1 1.fc2 1.fc3 2.el4 2.fc4 Font packages """"""""""""" Kernel module packages """""""""""""""""""""" SEE ALSO: Debian http://www.debian.org/doc/debian-policy/ Fedora.us http://www.fedora.us/wiki/PackageNamingGuidelines Gentoo http://www.gentoo.org/doc/en/policy.xml Mandrake http://www.linux-mandrake.com/en/howtos/mdk-rpm/advanced.html#LIB-POLICY Other http://elysium-project.sf.net/policy/chap03.phtml http://lsbbook.gforge.freestandards.org/package.html