Hello community,

here is the log from the commit of package glew for openSUSE:Factory checked in 
at 2012-10-03 07:15:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glew (Old)
 and      /work/SRC/openSUSE:Factory/.glew.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glew", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glew/glew.changes        2012-09-21 
14:39:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.glew.new/glew.changes   2012-10-03 
07:15:55.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Sep 24 22:46:35 UTC 2012 - [email protected]
+
+- update to latest stable 1.9.0
+  - removed 0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2.
+    These files are included in tarball.
+- Changed explicit glu dependency, to recommendation. There is
+  GLEW_NO_GLU option.
+- added glew-devel to baselibs.conf
+- spec cleanup
+
+-------------------------------------------------------------------

Old:
----
  0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2
  glew.tar.bz2

New:
----
  glew-1.9.0.tgz
  glew.rpmlintrc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glew.spec ++++++
--- /var/tmp/diff_new_pack.BFBKW1/_old  2012-10-03 07:15:56.000000000 +0200
+++ /var/tmp/diff_new_pack.BFBKW1/_new  2012-10-03 07:15:56.000000000 +0200
@@ -16,22 +16,24 @@
 #
 
 
+%define so_ver 1_9
+
 Name:           glew
-Version:        1.7.0.git20120216.1819
+Version:        1.9.0
 Release:        0
 Summary:        OpenGL Extension Wrangler Library
 License:        BSD-3-Clause and GPL-2.0 and MIT
 Group:          System/Libraries
 Url:            http://glew.sourceforge.net/
-Source0:        %name.tar.bz2
+Source0:        
http://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
 Source1:        baselibs.conf
-Patch:          0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2
-BuildRequires:  Mesa-devel
+Source2:        %{name}.rpmlintrc
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(glu)
+BuildRequires:  pkgconfig(gl)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xi)
 BuildRequires:  pkgconfig(xmu)
-Requires:       libGLEW1_7 >= %version
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -41,11 +43,11 @@
 supported on the target platform. OpenGL core and extension
 functionality is exposed in a single header file.
 
-%package -n libGLEW1_7
+%package -n libGLEW%{so_ver}
 Summary:        OpenGL Extension Wrangler Library
 Group:          System/Libraries
 
-%description -n libGLEW1_7
+%description -n libGLEW%{so_ver}
 The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
 open-source C/C++ extension loading library. GLEW provides efficient
 run-time mechanisms for determining which OpenGL extensions are
@@ -55,10 +57,13 @@
 %package devel
 Summary:        Development files for glew
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
-Requires:       Mesa-devel
-# glew.h includes GL/glu.h and glew.pc is incomplete --cartman
-Requires:       pkgconfig(glu)
+Requires:       libGLEW%{so_ver} = %{version}
+# X11/Xlib.h X11/Xutil.h
+Requires:       libX11-devel
+# X11/Xmd.h
+Requires:       xorg-x11-proto-devel
+# Don't require GLU, because there is GLEW_NO_GLU option
+Recommends:     pkgconfig(glu)
 
 %description devel
 The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
@@ -68,31 +73,25 @@
 functionality is exposed in a single header file.
 
 %prep
-%setup -q -n %name
-%patch -p1
+%setup -q
 
 %build
 make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=
 
 %install
-export PATH=$PWD:$PATH
 make GLEW_DEST=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_libdir} install.all
 chmod +x %{buildroot}%{_libdir}/*.so.*
-%{__rm} -f %{buildroot}%{_libdir}/*.*a
-
-%clean
-rm -rf %{buildroot}
-
-%post -n libGLEW1_7 -p /sbin/ldconfig
+rm %{buildroot}%{_libdir}/*.a
 
-%postun -n libGLEW1_7 -p /sbin/ldconfig
+%post -n libGLEW%{so_ver} -p /sbin/ldconfig
+%postun -n libGLEW%{so_ver} -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
 %doc doc/*
 %{_bindir}/*info
 
-%files -n libGLEW1_7
+%files -n libGLEW%{so_ver}
 %defattr(-,root,root)
 %{_libdir}/*.so.*
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.BFBKW1/_old  2012-10-03 07:15:56.000000000 +0200
+++ /var/tmp/diff_new_pack.BFBKW1/_new  2012-10-03 07:15:56.000000000 +0200
@@ -1,2 +1,3 @@
 glew
-libGLEW1_7
+glew-devel
+libGLEW1_9

++++++ glew.rpmlintrc ++++++
# because it's called libGLEW*
addFilter("no-dependency-on glew.*/glew-libs/libglew.*")
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to