/*
* rpm2html.c : Application to generate an HTML view of an ensemble
* of RPM packages.
*
* $Id: rpm2html.c,v 1.2 1997/11/11 21:18:53 veillard Exp $
*
* $Log: rpm2html.c,v $
* Revision 1.2 1997/11/11 21:18:53 veillard
* Improved a lot, removed bugs related to sorting, Daniel.
*
* Revision 1.1 1997/11/11 11:10:10 veillard
* State after one night of work, Daniel
*
*
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "rpmdata.h"
#include "html.h"
int main(int argc, char *argv[]) {
int i;
if (argc < 2) {
fprintf(stderr, "usage : %s rpm1 rpm2 ...\n", argv[0]);
exit(0);
}
for (i = 1; i < argc ; i++) {
rpmOpen(argv[i]);
}
dumpAllRpmHtml();
rpmDistribSort();
dumpRpmDistribs();
rpmGroupSort();
dumpRpmGroups();
rpmVendorSort();
dumpRpmVendors();
rpmDateSort();
dumpRpmByDate();
return(0);
}
Webmaster