diff --git a/PyOpenGL-accelerate-3.1.0.tar.gz b/PyOpenGL-accelerate-3.1.0.tar.gz deleted file mode 100644 index 32f2e0c..0000000 --- a/PyOpenGL-accelerate-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:927f4670b893d46e2f6273ae938bf0a1db27ffae3336eba94813ccef6260c410 -size 323541 diff --git a/PyOpenGL-accelerate-3.1.1a1.tar.gz b/PyOpenGL-accelerate-3.1.1a1.tar.gz new file mode 100644 index 0000000..a7e9256 --- /dev/null +++ b/PyOpenGL-accelerate-3.1.1a1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d37af9f2565febf214e1da2a5fe019561992d34026ce2a5f51972e121b84cdd +size 321665 diff --git a/python-opengl-accelerate.changes b/python-opengl-accelerate.changes index ba35949..fc917ce 100644 --- a/python-opengl-accelerate.changes +++ b/python-opengl-accelerate.changes @@ -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 diff --git a/python-opengl-accelerate.spec b/python-opengl-accelerate.spec index 74f8d0f..752b475 100644 --- a/python-opengl-accelerate.spec +++ b/python-opengl-accelerate.spec @@ -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