15
0
forked from pool/python-opengl

- Update to 3.1.3b1:

* no obvious changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opengl?expand=0&rev=20
This commit is contained in:
Tomáš Chvátal
2018-10-25 12:45:57 +00:00
committed by Git OBS Bridge
parent bce5c15b66
commit 4531ca7794
4 changed files with 14 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-opengl
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,19 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define tarname PyOpenGL
Name: python-opengl
Version: 3.1.1a1
Version: 3.1.3b1
Release: 0
Summary: OpenGL bindings for Python
License: BSD-3-Clause
Group: Development/Libraries/Python
Url: http://pyopengl.sourceforge.net
URL: http://pyopengl.sourceforge.net
Source0: https://files.pythonhosted.org/packages/source/P/%{tarname}/%{tarname}-%{version}.tar.gz
Source1: %{name}.changes
BuildRequires: %{python_module Pillow}
@@ -41,7 +41,6 @@ BuildRequires: xorg-x11
Requires: python-numpy
Requires: tk >= 8.1
Recommends: python-opengl-accelerate
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -66,8 +65,7 @@ export CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY"
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}/OpenGL/
%files %{python_files}
%defattr(-,root,root)
%doc license.txt
%license license.txt
%{python_sitelib}/OpenGL/
%{python_sitelib}/PyOpenGL-%{version}-py%{python_version}.egg-info