Group :: Desenvolvimento/Python
RPM: python-module-OpenGL
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define pre c1
Name: python-module-OpenGL
Version: 3.0.0
Release: alt3
Summary: A Python module for interfacing with the OpenGL library
Summary(ru_RU.KOI8-R): òÁÓÛÉÒÅÎÉÅ ÑÚÙËÁ Python ÄÌÑ ÒÁÂÏÔÙ Ó ÂÉÂÌÉÏÔÅËÏÊ OpenGL
Group: Development/Python
License: see license.txt
Url: http://pyopengl.sourceforge.net
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/pyopengl/PyOpenGL-%version%pre.tar.gz
Patch: PyOpenGL-swig.patch
Patch1: %name.patch
BuildArch: noarch
%setup_python_module OpenGL
%add_python_req_skip WGL__init__
BuildPreReq: rpm-build-compat >= 1.2
BuildPreReq: python-module-setuptools python-devel
%description
OpenGL bindings for Python including support for GL extensions,
GLU, WGL, GLUT, GLE, and Tk
%package demo
Summary: PyOpenGL demo files
Group: Development/Python
Requires: %name = %version-%release
%add_python_req_skip items win32ui
%description demo
Demo for PyOpenGL
%package doc
Summary: PyOpenGL documentation
Group: Development/Python
Requires: %name = %version-%release
%description doc
PyOpenGL documentation
%prep
%setup -q -n PyOpenGL-%version%pre
#%patch1
%build
%python_build
%install
%python_install
# tests have extra dependencies
rm -rf %buildroot%python_sitelibdir/%modulename/tests/
%files
%python_sitelibdir/%modulename/
#%exclude %python_sitelibdir/%modulename/Demo
#%exclude %python_sitelibdir/%modulename/doc
#%files demo
#%python_sitelibdir/%modulename/Demo
#%files doc
#%python_sitelibdir/%modulename/doc
%changelog
…
Todas as alterações você pod ver aqui
Name: python-module-OpenGL
Version: 3.0.0
Release: alt3
Summary: A Python module for interfacing with the OpenGL library
Summary(ru_RU.KOI8-R): òÁÓÛÉÒÅÎÉÅ ÑÚÙËÁ Python ÄÌÑ ÒÁÂÏÔÙ Ó ÂÉÂÌÉÏÔÅËÏÊ OpenGL
Group: Development/Python
License: see license.txt
Url: http://pyopengl.sourceforge.net
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/pyopengl/PyOpenGL-%version%pre.tar.gz
Patch: PyOpenGL-swig.patch
Patch1: %name.patch
BuildArch: noarch
%setup_python_module OpenGL
%add_python_req_skip WGL__init__
BuildPreReq: rpm-build-compat >= 1.2
BuildPreReq: python-module-setuptools python-devel
%description
OpenGL bindings for Python including support for GL extensions,
GLU, WGL, GLUT, GLE, and Tk
%package demo
Summary: PyOpenGL demo files
Group: Development/Python
Requires: %name = %version-%release
%add_python_req_skip items win32ui
%description demo
Demo for PyOpenGL
%package doc
Summary: PyOpenGL documentation
Group: Development/Python
Requires: %name = %version-%release
%description doc
PyOpenGL documentation
%prep
%setup -q -n PyOpenGL-%version%pre
#%patch1
%build
%python_build
%install
%python_install
# tests have extra dependencies
rm -rf %buildroot%python_sitelibdir/%modulename/tests/
%files
%python_sitelibdir/%modulename/
#%exclude %python_sitelibdir/%modulename/Demo
#%exclude %python_sitelibdir/%modulename/doc
#%files demo
#%python_sitelibdir/%modulename/Demo
#%files doc
#%python_sitelibdir/%modulename/doc
%changelog
…
Todas as alterações você pod ver aqui