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

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?

Generally clueless!
-- 
Angus

Reply via email to