Hi, Some spec file examples are available at http://opensource.shivakumar.info The details are as in the below mail.
regards Shiv On 8/8/07, S h i v <shivakumar.gn at gmail.com> wrote: > Hi Group, > > I have put online some example spec files to bring out some useful > points while authoring the spec files. There are 3 spec files, all of > them written for the example (geany text editor) used in the tutorial > document > > 1. SFEgeany-monolithic.spec > * A single spec file that is complete in itself > * Creates SFEgeany package > 2. SFEgeany-includes.spec > * Uses include files for common definitions. Structurally better designed > * Creates SFEgeany package > > 3. SFEgeany-multipkg.spec > * Introduces %package macro for defining multiple packages > * Makes use of additional %files for packaging the right files > into different packages > * Creates 3 packages > o SFEgeany (base package) > o SFEgeany-doc (documentation package for geany) > o SFEgeany-l10n (package for additional language support for geany) > > 4. The tarball available for download contains spec files, relevant > patch, .pkgtoolrc, include files and a specdoc.sh shell script that > uses spectool. > > Please go through these or still better try these out to get to know it > better. > > cheers > Shiv >
