Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > The best would probably be do create four rpms. (or three) | > | > ipzone-xforms | > ipzone-qt | > ipzone-common | > ipzone-doc | > | > xforms and qt would basically only contain the binaries. | | And what's the best way to do that? A single rpmdist target in Makefile.am, | as now, that builds 4 rpms using $(PACKAGE)-$(VERSION).tar.gz? I guess that | it would have to unpack the archive and run rpm with four different spec | files. Something like
No.. no... one spec file that creates three rpms. (I want he doc rpm to be created from the lyx-doc module and to not have it as part of the lyx build/install process). _BUT_ this does not really fit the xforms/qt split well. This have to be thought about... | pvdir=$(PACKAGE)-$(VERSION) | | rpmdist: dist | tar xzf $(pvdir).tar.gz; \ | rpm -bs $(pvdir)/lib/lyx-doc.spec; \ | rpm -bs $(pvdir)/lib/lyx-common.spec; \ | ln -s $(srcdir)/lib/images/lyx.xpm . ; \ | rpm -ba $(pvdir)/lib/lyx-qt.spec; \ | rpm -ba $(pvdir)/lib/lyx-xforms.spec; \ | rm -rf $(pvdir) lyx.xpm | | Or would you have 1 target for each rpm, each depending on dist? | | Or can you just modify the existing spec file to make 4 rpms and be done | with it? yes. But I will not change anything for 1.3.0. Or... perhaps we should delay 1.3.0 a bit to put this into place... it would fit the xforms and qt better -- Lgb