From: Timothy L. <ti...@wo...> - 2000-12-27 07:53:35
|
I've including a copy of the latest SRPM spec file for anyone interested. Joe Piolunek wrote: > Re your SRPM - can you make it relocatable? > Yes, the resultant RPM file is relocatable. During installation of the RPM, the user can use the --prefix flag to adjust the location of the files, eg: rpm -U --prefix /usr/local hpoj-0.7-2.rpm David Paschal wrote: > One problem I see with this layout is that the $PREFIX/share/pixmaps/hpoj > directory is missing, which contains pixmaps required by xojpanel. > Oops... I did miss those.... Probably because my PSC500 can't be used with xojpanel, so I never noticed... <laugh> OK, that's fixed. David Paschale wrote: > > Note that I've relocated ieee12844.o and ieee12844pp.o to > > /lib/modules/boot. This way, they will be picked up by depmod at boot. > > I'm tempted to insert the *alias* entries into conf.modules for the user > > during installation, what's your opinion? > What are the alias entries? > The RPM now inserts these two entries into conf.modules (or modules.conf if it exists): alias net-pf-24 ieee12844 alias mlclink-mlcpp0 ieee12844 These entries correlates to the *ptal-printd.conf* file that comes with the RPM. I have left out the alias for parport_lowlevel, since hpoj is intended to be cross-platform. The user must add that entry manually, depending on the machine architecture. During uninstall, those exact two entries will be removed from modules.conf. Timothy |