Comedilib RPM spec file for Fedora Core 1

Hello,

I have succesfully compiled Comedilib for Fedora Core 1 I'll try to
summarize my experience in the following.  Comedilib release 0.7.21
compiles right away on Fedora Core 1, with the exception of HTML and
man pages generation from comedilib.sgml using Docbook.

It appears that the default configuration of Docbook in Fedora Core 1
is different w.r.t. the one used by the developers.  BTW I already
submitted a bunch of fixes to the SGML documents I had to apply on
RedHat 7.3 in the past.  This time I did not fully solve all the
problems, but reached a good compromise.  An obvious difference is
that OMITTAG is set to NO in Fedora and apparently otherwise for
developers: this results in errors with docbook2html and docbook2man.

Even after processing comedilib.sgml with sgmlnorm some problems
remain:

jade:...:3:10:E: element "ARTHEADER" undefined
jade:...:681:6:E: end tag for element "PARA" which is not open
jade:...:780:35:E: end tag for element "PARA" which is not open
jade:...:870:198:E: end tag for element "LINK" which is not open
jade:...:1313:6:E: end tag for element "PARA" which is not open
jade:...:2229:6:E: end tag for element "PARA" which is not open
jade:...:2585:9:E: end tag for "SECTION" which is not finished
jade:...:10363:101:E: end tag for element "GLOSSSEEALSO" which is not open

I kludged the Makefile's to get a successful completion even with
these errors.  There are a few other troubles with the doc/html and
doc/man Makefiles:

- they process the SGML with docbook2html and docbook2man also when
  doing "make install";
  I did not fix this.

- contrary to other Makefile's, they do not use the DESTDIR define
  to allow installation into an user-defined directory tree;
  I provide a kludge for this in the SPEC file.

- they don't install when "make install-strip" is invoked.
  I did not fix this.

In the hope that this mailing list handles MIME, I include the
nosrc.rpm (you have to combine it with a .tar.bz2 of the proper
Comedilib release).
Regards,
-- 
Alberto

Received on 2004-03-27Z10:45:29