From: Daniel Veillard (veillard@rufus.w3.org)
Date: Sun Feb 22 1998 - 20:10:13 EST
> check it out: http://diligent.telephonet.com/redhat/
Ok, it works !
> so i got it working by fuddling with the spec file (i'll attach it
> below so you can see), then transfered the rpm to diligent, installed
> it, and all is well except for a couple of small problems i'll detail
> below. would it be too much trouble for you to email me when the
> updated source is available? then i'll package it, upload it to
> redhat contrib, announce it, etc.
Ok, I have just created a mailing-list on rufus for rpm2html,
all the informations on subscribing, and archive are referenced from
the main page
http://rufus.w3.org/linux/rpm2html/
> problems:
>
> i presumed that when i configured it with "./configure --prefix=/usr"
> (since redhat convention is to reserve /usr/local for non-packaged
> software), rpm2html would look to /usr/share/rpm2html.config for its
> default config file. instead, i have to explicitly call it as
> "rpm2html /usr/share/rpm2html.config". is there something i should
> have done that i didn't in setting it up?
No, I guess it's the normal way to call it. You can use more than one
config file in one run (e.g. if you want to handle more than one database,
e.g. a public one for packages exported, and a local one for informations
related to the current machine setup).
> secondly, i get the warning "bad option 'cpiobin' at /usr/lib/rpmrc:5"
> when rpm2html runs. doesn't seem to affect anything.
Humm, that's the librpm which send the warning. Strange seems to imply
that your RPM binary and your RPM devloopment libraries are not in sync.
> here's the spec:
>
>
> Summary: a generator of Web pages for RPM packages
> Name: rpm2html
> Packager: jeff.covey@pobox.com
> Version: 0.60
> Release: 1
> Url: http://rufus.w3.org/linux/rpm2html/
> Source: ftp://rufus.w3.org/pub/rpm2html/rpm2html-0.60.tar.gz
> Copyright: GPL
> Group: Utilities/System
>
> %description
>
> rpm2html automatically generates Web pages describing a set of RPM packages.
> The goal of rpm2html is also to identify the dependancies between various
> packages, and to find the packages providing the ressources needed to
> install another package. Every package is analyzed to retrieve its
> dependancies and the ressources it offers. These relationship are expressed
> using hyperlinks in the the generated pages. Finding the package providing
> the ressource you need is just a matter of a few clicks!
>
> %prep
>
> %setup
> # until this gets fixed in the source
> perl -pi -e 's{LIBS= -lrpm -ldb}{LIBS= -lrpm -ldb -lintl}g' Makefile.in
>
> ./configure --prefix=/usr
>
> %build
> make
>
> %install
> make install
>
> %post
> echo "Don't forget to edit /usr/share/rpm2html.config"
>
> %files
> /usr/bin/rpm2html
> %config /usr/share/rpm2html.config
> %doc CHANGES README PRINCIPLES TODO INSTALL
Ok, I got another one from a friend, as well as a man page. I will try
yours if I can't get the other one working.
Daniel
-- Daniel.Veillard@w3.org | W3C MIT/LCS NE43-344 | Today's Bookmarks : Tel : +1 617 253 5884 | 545 Technology Square | Linux, WWW, Java, Fax : +1 617 258 5999 | Cambridge, MA 02139 USA | badminton, Kaffe, http://www.w3.org/People/W3Cpeople.html#Veillard | HTTP-NG and Amaya.
This archive was generated by hypermail 2b29 : Thu May 10 2001 - 18:40:07 EDT