14
0

Accepting request 502723 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/502723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opengl-accelerate?expand=0&rev=6
This commit is contained in:
2017-06-12 13:34:02 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:927f4670b893d46e2f6273ae938bf0a1db27ffae3336eba94813ccef6260c410
size 323541

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d37af9f2565febf214e1da2a5fe019561992d34026ce2a5f51972e121b84cdd
size 321665

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 5 11:20:26 UTC 2017 - aloisio@gmx.com
- Update to version 3.1.1a1
- Converted to single-spec
-------------------------------------------------------------------
Mon Jul 14 12:14:04 UTC 2014 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-opengl-accelerate
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -16,23 +16,26 @@
#
Name: python-opengl-accelerate
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define tarname PyOpenGL-accelerate
Version: 3.1.0
Name: python-opengl-accelerate
Version: 3.1.1a1
Release: 0
Summary: Acceleration for python-opengl
License: BSD-3-Clause
Group: Development/Libraries/Python
Url: http://pyopengl.sourceforge.net
Source0: https://pypi.python.org/packages/source/P/%{tarname}/%{tarname}-%{version}.tar.gz
BuildRequires: python-Cython
BuildRequires: python-devel
BuildRequires: python-numpy-devel
BuildRequires: python-opengl == %{version}
Source0: https://files.pythonhosted.org/packages/source/P/%{tarname}/%{tarname}-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module opengl == %{version}}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy
Requires: python-opengl == %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%python_subpackages
%description
This set of C (Cython) extensions provides acceleration of common
@@ -44,18 +47,17 @@ code.
%setup -q -n %{tarname}-%{version}
%build
CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY" python setup.py build
export CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY"
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitearch}
%clean
rm -rf %{buildroot}
%files
%files %{python_files}
%defattr(-,root,root)
%doc README.txt license.txt
%{python_sitearch}/OpenGL_accelerate/
%{python_sitearch}/PyOpenGL_accelerate-%{version}-py*.egg-info
%{python_sitearch}/PyOpenGL_accelerate-%{version}-py%{python_version}.egg-info
%changelog