g-wrap rpm spec file patches

linas@linas.org linas@linas.org
Fri, 29 Dec 2000 11:45:32 -0600 (CST)


It's been rumoured that Derek Atkins said:
> 
> This patch will necessarily cause g-wrap to fail on a standard RH 6.2
> platform.  Standard RH 6.2 uses guile 1.3, so requiring 1.3.4 will
> necessarily fail.

Unless rob fixes it, g-wrap-1.1.4 won't run without guile 1.3.4
(it uses various SMOB things defined only in 1.3.4) thats why the
pre-req.   Maybe I should ask rob 'do you want to fix this, or is 
1.3.4 a permanent requirement?'

> Also, you _DO_ want /usr/bin/g-wrap in the devel package, because you
> need it in order to build the language bindings (unless the name has
> changed in the 1.x series?).

This confused me too. It seems that he name has been changed.  
I no longer have  a /usr/bin/g-wrap

which g-wrap
g-wrap: Command not found.

but I can still build gnucash ....

--linas

> 
> -derek
> 
> <linas@linas.org> writes:
> 
> > > > are changes to the rpm spec file.  
> > 
> > Here are 3 more, to be applied on top of the previous patch:
> > 
> > I also suggest renaming spec.in to g-wrap.spec.in which might
> > help avoid some mnor rpm build confusion.
> > 
> > 
> > --- g-wrap.spec.in	Wed Dec 27 21:10:38 2000
> > +++ /tmp/g-wrap.spec.in	Fri Dec 29 00:31:00 2000
> >  
> > @@ -14,6 +14,7 @@
> >  URL: coming-soon
> >  Packager: Linas Vepstas <linas@linas.org>
> >  BuildRoot: /var/tmp/%{name}-%{version}
> > +Requires: guile >= 1.3.4
> >  
> >  %description
> >  g-wrap is a tool for creating Scheme interfaces to C libraries.  At
> > @@ -73,7 +74,6 @@
> >  
> >  %files devel
> >  %defattr(-,root,root)
> > -/usr/bin/g-wrap
> >  /usr/bin/g-wrap-config
> >  /usr/include/g-wrap-runtime-guile.h
> >  /usr/lib/libg-wrap-runtime-guile.a
> > @@ -81,7 +81,7 @@
> >  /usr/share/aclocal/g-wrap.m4
> >  /usr/share/guile/g-wrapped/libgw-runtime.la
> >  /usr/share/guile/g-wrapped/libgw-runtime.a
> > -%doc /usr/info/g-wrap.info
> > +%doc /usr/info/g-wrap.info.gz
> >  
> >  %changelog
> >  * Wed Dec 27 2000 Linas Vepstas <linas@linas.org>
> 
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
>