* Stardate: 2001-11-11 19:17
* Incoming subspace signal from "Marcel Pol <[EMAIL PROTECTED]>" :
> > Group: Configuration/Other
> > Copyright: GPL
> There is no group like that, only in the Menu.
> It should also be set to License.
You're right.
> > %prep
> > [ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != / ] \
> > && rm -rf ${RPM_BUILD_ROOT}/
> It looks beautiful, but what is the value of it over a simple "rm -rf
> $RPM_BUILD_ROOT" in %clean?
> > ./configure --prefix=%{prefix} \
> > --host=$HOSTTYPE-pc-$OSTYPE
> > NOOPT_CXXFLAGS="$RPM_OPT_FLAGS -fno-exceptions -fno-check-new"
> make
> Well, this is a bit over my head :)
> My idea is, if it compiles, ship it.
My idea is, if it compiles with optimizations for i586, ship it.
A simple %configure will not do the optimization stuff.
> > %install
> > make bindir=${RPM_BUILD_ROOT}%{prefix}/X11R6/bin \
> > mandir=${RPM_BUILD_ROOT}%{_mandir} \
> > datadir=${RPM_BUILD_ROOT}%{_datadir} \
> > docdir=${RPM_BUILD_ROOT}%{_docdir} \
> > install
> This should do the same I believe:
> Allthough it might be good to put the executable in /usr/X11R6/bin.
> %install
> mkdir -p $RPM_BUILD_ROOT
> make install-strip DESTDIR=$RPM_BUILD_ROOT
I believe stripping is done automagically by the rpm build process.
bbkeys is in /usr/bin, bsetbg in /usr/X11R6/bin. I think this WM-configuration stuff
should be in /usr/X11R6/bin.
So:
make bindir=${RPM_BUILD_ROOT}%{prefix}/X11R6/bin install
should do the trick, I guess.
--
Best regards, M@X.
* Climate Control Psychedelic Soundscapes - http://go.to/cchq/
* Linux Shell Scripts & RPM Software Packages - http://go.to/conmen/