From d962b4057bd6c5042e148813fec2cc85dceb67cc6639a4b8209089960d572d9a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 8 Jun 2009 12:04:07 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opengl?expand=0&rev=4 --- python-opengl.changes | 6 ++++ python-opengl.spec | 66 +++++++++++++++++++++++++++---------------- 2 files changed, 47 insertions(+), 25 deletions(-) diff --git a/python-opengl.changes b/python-opengl.changes index a936e55..d4905bf 100644 --- a/python-opengl.changes +++ b/python-opengl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 4 12:09:40 CEST 2009 - ro@suse.de + +- buildrequires: replace python-numeric by python-numpy + for >= 11.2 + ------------------------------------------------------------------- Fri Jan 26 19:40:54 CET 2007 - jmatejek@suse.cz diff --git a/python-opengl.spec b/python-opengl.spec index 69460c0..a770266 100644 --- a/python-opengl.spec +++ b/python-opengl.spec @@ -1,34 +1,47 @@ # # spec file for package python-opengl (Version 2.0.1.09) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: python-opengl -BuildRequires: freeglut-devel gle libdrm-devel python-devel python-imaging python-numeric swig tk-devel xorg-x11 +BuildRequires: freeglut-devel gle libdrm-devel python-devel python-imaging swig tk-devel xorg-x11 +%if %suse_version > 1110 +BuildRequires: python-numpy +%else +BuildRequires: python-numeric +%endif %define tarname PyOpenGL Summary: OpenGL bindings for Python Version: 2.0.1.09 -Release: 50 +Release: 274 Source0: %{tarname}-%{version}.tar.bz2 Patch0: %{name}-nodisplay.patch Patch1: %{name}-%{version}-pep353.patch Patch2: %{name}-swigdetect.patch Patch3: %{name}-%{version}-ssize.patch Patch4: %{name}-%{version}-gccwarnings.patch -License: BSD License and BSD-like +License: BSD 3-Clause Group: Development/Libraries/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} %{py_requires} Requires: tk >= 8.1 -URL: http://pyopengl.sourceforge.net +Url: http://pyopengl.sourceforge.net %description OpenGL bindings for Python including support for GL extensions, GLU, @@ -67,46 +80,49 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %doc %{_docdir}/%{name} -%changelog -n python-opengl -* Fri Jan 26 2007 - jmatejek@suse.cz +%changelog +* Mon May 04 2009 ro@suse.de +- buildrequires: replace python-numeric by python-numpy + for >= 11.2 +* Fri Jan 26 2007 jmatejek@suse.cz - removed strict-aliasing warnings - removed invalid operations -* Tue Nov 21 2006 - prusnak@suse.cz +* Tue Nov 21 2006 prusnak@suse.cz - changes according to PEP353 (pep353.diff) -* Mon Sep 11 2006 - jmatejek@suse.cz +* Mon Sep 11 2006 jmatejek@suse.cz - replaced a mistyped unicode nonbreakspace with a regular space, thus fixing build with python2.5 -* Tue Feb 28 2006 - jmatejek@suse.cz +* Tue Feb 28 2006 jmatejek@suse.cz - updated to reflect python changes due to #149809 -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Jan 23 2006 - jmatejek@suse.cz +* Mon Jan 23 2006 jmatejek@suse.cz - added build dependency on tk-devel - fixed build not to require X server -* Mon Jun 20 2005 - ltinkl@suse.cz +* Mon Jun 20 2005 ltinkl@suse.cz - added freeglut* packages to fix dependencies (#80605), plus optional (but recommended) dependency on python-imaging (pil) -* Tue Nov 23 2004 - mcihar@suse.cz +* Tue Nov 23 2004 mcihar@suse.cz - update to 2.0.1.09 - simplified filelist generating -* Wed Aug 04 2004 - mcihar@suse.cz +* Wed Aug 04 2004 mcihar@suse.cz - update to 2.0.1.08 -* Wed Apr 21 2004 - mcihar@suse.cz +* Wed Apr 21 2004 mcihar@suse.cz - fix gcc warning - fixed python requires - use sed instead of patch for lib64 -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - build as user -* Mon Jun 16 2003 - mcihar@suse.cz +* Mon Jun 16 2003 mcihar@suse.cz - added some magic to generate correct filelist -* Mon Jun 09 2003 - mcihar@suse.cz +* Mon Jun 09 2003 mcihar@suse.cz - documentation isn't executable -* Thu Jun 05 2003 - mcihar@suse.cz +* Thu Jun 05 2003 mcihar@suse.cz - rather move documentation than symlink, as otherwise upgrade doesn't work correctly -* Tue May 27 2003 - mcihar@suse.cz +* Tue May 27 2003 mcihar@suse.cz - install documentation only once -* Fri Jan 10 2003 - mcihar@suse.cz +* Fri Jan 10 2003 mcihar@suse.cz - fixed build for lib64 arches -* Mon Jan 06 2003 - mcihar@suse.cz +* Mon Jan 06 2003 mcihar@suse.cz - initial package version