"Fossies" - the Fresh Open Source Software Archive

Member "rpm2html-1.11.2/INSTALL" (5 Oct 2010, 2937 Bytes) of package /linux/privat/rpm2html-1.11.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1   INSTALLING rpm2html
    2   ===================
    3 
    4 rpm2html uses the RPM library, which in turn uses
    5 the libdb library. If one of these seems to be missing
    6 you should install the rpm-devel and db packages. If
    7 available, installing rpm2html should hopefully be
    8 as simple as:
    9 
   10     ./configure
   11     make
   12     su
   13     make install
   14     
   15 edit /usr/local/share/rpm2html.config (see below)
   16 and create the directory to hold the HTML output.
   17 
   18     make test
   19 
   20 To verify that the configuration is Ok,
   21 And you are ready to install it in your crontab
   22   
   23 NOTE : 
   24 ======
   25 
   26 - autoconf take /usr/local as the standard prefix,
   27   it is possible to override the installation to some
   28   place elsewhere.
   29 - while in use, rpm2html need only 2 files in the
   30   system : the binary and the config(s) file passed as
   31   argument(s).
   32 - No special permission are needed it just need write
   33   access to the output directory and be able to read
   34   the RPM directories and files.
   35 - if you get "/bin/sh: aclocal-1.10: command not found" from "make",
   36   run `./autogen.sh`
   37 
   38 The CONFIGURATION FILE:
   39 =======================
   40 
   41   Is a text file, lines beginning with semicolumns
   42 are comments. The first part is a global section
   43 defining some important parameters of rpm2html.
   44 Parameters are defined with the syntax:
   45 
   46 variable=value
   47 
   48 Values shouln't be quoted and end up with the end of line
   49 
   50 Variable   |   Value
   51 ------------------------------------------------------------
   52 maint      | The maintainer of the local mirror, NEEDED !
   53 mail       | The E-mail of the maintainer, NEEDED !
   54 dir        | The directory for for the HTML output, NEEDED !
   55 url        | The URL for the HTML files on the WWW server
   56 host       | The hostname for the server.
   57 header     | An URL followed by a description (Feedback, Search ...).
   58 
   59   After these variables, one section should be filled
   60 for each directory on your system containing RPM files.
   61 It starts with the directory filename between brackets:
   62 
   63 [The name between brackets is the directory, NEEDED !]
   64 
   65   The special directory name [localbase] extract information
   66 from the RPM base of installed software instead of listing a
   67 directory. It allows to dump HTML pages for the installed RPM
   68 base on a machine.
   69 
   70   All the variables defined below until the next
   71 directory or the end of file pertain to this directory.
   72 Here are the possible variables:
   73 
   74 Variable   |   Value
   75 ---------------------------------------------------
   76 name       | A significant name for this mirror, NEEDED !
   77 ftp        | The original FTP/HTTP url, NEEDED !
   78 ftpsrc     | Where the associated sources are stored
   79 color      | Background color for pages
   80 trust      | Unused yet
   81 subdir     | The subdirectory for HTML output
   82 
   83   It is possible to indicate other mirrors by adding some
   84 mirror=value lines withing the section. The first one
   85 will be considered the local one.
   86 
   87   See PRINCIPLES for a more general comments
   88 
   89   
   90  daniel@veillard.com
   91 
   92 $Id: INSTALL,v 1.11 2010/10/05 14:36:54 hany Exp $