devel/foobillard foobillard.spec,1.3,1.4

Nils Philippsen nphilipp at redhat.com
Fri Feb 18 14:48:02 UTC 2005


On Wed, 2005-02-16 at 10:56 +0100, Ralf Corsepius wrote:
> On Tue, 2005-02-15 at 09:07 +0200, Ville Skyttä wrote:
> > On Mon, 2005-02-14 at 18:03 -0500, Gérard Milmeister wrote:
> >  
> > > @@ -13,9 +13,7 @@
> > >  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
> > >  BuildRequires:  SDL-devel ImageMagick XFree86-devel alsa-lib-devel
> > >  BuildRequires:  freetype-devel libpng-devel perl zlib-devel
> > > -# Yes, that's right. libGLU.so is owned by xorg-x11-devel, but it is just
> > > -# a symlink to libGLU.so.1.3, which belongs to libGLU
> > > -BuildRequires:  libGLU
> > > +BuildRequires:  xorg-x11-devel
> > >  
> > >  %description
> > >  FooBillard is an attempt to create a free OpenGL-billard for Linux. 
> > > @@ -60,6 +58,9 @@
> > >  
> > > 
> > >  %changelog
> > > +* Mon Feb 14 2005 Gerard Milmeister <gemi at bluewin.ch> - 0:3.0-a.1
> > > +- Added BuildRequires: xorg-x11-devel
> > 
> > XFree86-devel was already there, and still is...
> 
> FWIW: I think you want
> BuildRequires: libGL.so.1 libGLU.so.1 XFree86-devel
> 
> That's what I am using in all of my GL/GLU based packages.

That's wrong:

nils at gibraltar:~> rpm -q --whatprovides libGL.so.1
xorg-x11-Mesa-libGL-6.8.1-12.FC3.21

it doesn't draw in the required -devel package. I don't think that you
should buildrequire a lib by its soname (it might change, the libs' name
might change and would get drawnn in through pkg-config, ...).

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011




More information about the fedora-extras-commits mailing list