SPECS: gle.spec - updated amfix patch - link libgle with GL libs, ...

qboosh qboosh at pld-linux.org
Tue Jul 18 12:03:50 CEST 2006


Author: qboosh                       Date: Tue Jul 18 10:03:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated amfix patch - link libgle with GL libs, don't use optional glut libs
  (just rely on glut linked properly)
- dropped (indirect now) xorg deps, -devel R: OpenGL-GLU-devel
- release 3

---- Files affected:
SPECS:
   gle.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/gle.spec
diff -u SPECS/gle.spec:1.27 SPECS/gle.spec:1.28
--- SPECS/gle.spec:1.27	Sun Apr  2 11:59:00 2006
+++ SPECS/gle.spec	Tue Jul 18 12:03:45 2006
@@ -3,21 +3,18 @@
 Summary(pl):	Funkcje C do rysowania skomplikowanych przestrzeni
 Name:		gle
 Version:	3.1.0
-Release:	2
+Release:	3
 License:	IBM or GPL
 Group:		X11/Libraries
 Source0:	http://dl.sourceforge.net/gle/%{name}-%{version}.tar.gz
 # Source0-md5:	da5b45c6906343d4a3672c3de35513ad
 Patch0:		%{name}-amfix.patch
 URL:		http://www.linas.org/gle/
-BuildRequires:	OpenGL-devel
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	OpenGL-glut-devel >= 3.7
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	glut-devel >= 3.7-8
 BuildRequires:	libtool >= 1:1.4.2-9
-BuildRequires:	xorg-lib-libXi-devel
-BuildRequires:	xorg-lib-libXmu-devel
-Requires:	OpenGL
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define 	_noautoreqdep	libGL.so.1 libGLU.so.1
@@ -50,7 +47,7 @@
 License:	IBM or GPL (code), Artistic or GPL (examples and docs)
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	OpenGL-devel
+Requires:	OpenGL-GLU-devel
 
 %description devel
 Include files and documentation you can use to develop gle
@@ -73,12 +70,13 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 
@@ -86,7 +84,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -105,20 +103,20 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README COPYING src/COPYING.src
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libgle.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %doc doc/html/*.{html,gif}
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/GL/*
+%attr(755,root,root) %{_libdir}/libgle.so
+%{_libdir}/libgle.la
+%{_includedir}/GL/gle.h
 %{_mandir}/man3/*
 %{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libgle.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -126,6 +124,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/07/18 10:03:45  qboosh
+- updated amfix patch - link libgle with GL libs, don't use optional glut libs
+  (just rely on glut linked properly)
+- dropped (indirect now) xorg deps, -devel R: OpenGL-GLU-devel
+- release 3
+
 Revision 1.27  2006/04/02 09:59:00  megabajt
 - modular xorg deps
 - removed unpackaged files
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gle.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list