forked from pool/python-glfw
- Update to 1.7.1:
* Fixed a bug in set_window_icon and added support for PIL/pillow Image objects * Improved packaging * Added NORMALIZE_GAMMA_RAMPS, use namedtuples for structs and moved library loading to glfw.library * Added glfw.GLFW for the naming convention used by the GLFW C API * Fixed exception re-raising for Python 2 - There are no tests, so remove test conditional OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glfw?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
f82a7a3a48
commit
a24bc94f61
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-glfw
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -17,9 +17,8 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-glfw
|
||||
Version: 1.4.0
|
||||
Version: 1.7.1
|
||||
Release: 0
|
||||
Summary: A ctypes-based wrapper for GLFW3
|
||||
License: MIT
|
||||
@@ -28,12 +27,10 @@ URL: https://github.com/FlorianRhiem/pyGLFW
|
||||
Source: https://files.pythonhosted.org/packages/source/g/glfw/glfw-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libglfw3
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: libglfw3
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: libglfw3
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -62,14 +59,9 @@ except for:
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.txt README.txt
|
||||
%doc CHANGES.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user