SPECS: gtkglarea.spec - don't link library with libGLU - Group fix...

qboosh qboosh at pld-linux.org
Thu Nov 23 21:02:07 CET 2006


Author: qboosh                       Date: Thu Nov 23 20:02:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't link library with libGLU
- Group fixes, release 5

---- Files affected:
SPECS:
   gtkglarea.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: SPECS/gtkglarea.spec
diff -u SPECS/gtkglarea.spec:1.44 SPECS/gtkglarea.spec:1.45
--- SPECS/gtkglarea.spec:1.44	Fri Sep 29 00:45:47 2006
+++ SPECS/gtkglarea.spec	Thu Nov 23 21:02:01 2006
@@ -7,16 +7,16 @@
 Summary(wa):	GtkGLArea est on ahesse pol toolkit grafike GTK+
 Name:		gtkglarea
 Version:	1.99.0
-Release:	4
+Release:	5
 License:	LGPL
 Group:		X11/Libraries
 Source0:	ftp://ftp.gnome.org/pub/GNOME/sources/gtkglarea/1.99/%{name}-%{version}.tar.bz2
 # Source0-md5:	cd69f77240ae8038f95a2e5e0b7e5f25
-BuildRequires:	OpenGL-devel
+# libGLU for examples only
+BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	automake
-BuildRequires:	gtk+2-devel => 2.1.3-3
+BuildRequires:	gtk+2-devel => 1:2.1.3-3
 BuildRequires:	pkgconfig
-Requires:	OpenGL
 Obsoletes:	libgtkglarea5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,10 +56,10 @@
 Summary(ru):	GtkGLArea - ĆÁĘĚŮ ÄĚŃ ŇÁÚŇÁÂĎÔËÉ ĐŇĎÇŇÁÍÍ
 Summary(uk):	GtkGLArea - ĆÁĘĚÉ ÄĚŃ ŇĎÚŇĎÂËÉ ĐŇĎÇŇÁÍ
 Summary(wa):	GtkGLArea est on ahesse po GTK+ - fitchîs *.h čt statikčs lîvreyes
-Group:		X11/Libraries
+Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	OpenGL-devel
-Requires:	gtk+2-devel => 2.1.2
+Requires:	gtk+2-devel >= 1:2.1.2
 Obsoletes:	libgtkglarea5-devel
 
 %description devel
@@ -86,7 +86,7 @@
 Summary:	GtkGLArea static libraries
 Summary(pl):	Statyczne biblioteki GtkGLArea
 Summary(pt_BR):	Bibliotecas estáticas para desenvolvimento de aplicaçőes que usem a biblioteca GtkGLArea
-Group:		X11/Libraries
+Group:		X11/Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
@@ -105,6 +105,12 @@
 %build
 cp /usr/share/automake/config.sub .
 %configure
+
+# lib doesn't use libGLU
+%{__make} -C gtkgl \
+	GL_LIBS="-lGL"
+
+# but examples do
 %{__make}
 
 %install
@@ -142,6 +148,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2006/11/23 20:02:01  qboosh
+- don't link library with libGLU
+- Group fixes, release 5
+
 Revision 1.44  2006/09/28 22:45:47  glen
 - strict internal deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gtkglarea.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list