rpms/PyOpenGL/devel PyOpenGL-3.0.0a6-shebang.patch, NONE, 1.1 PyOpenGL.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Mon Apr 2 05:25:30 UTC 2007
Author: jwrdegoede
Update of /cvs/extras/rpms/PyOpenGL/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31093/devel
Modified Files:
.cvsignore sources
Added Files:
PyOpenGL-3.0.0a6-shebang.patch PyOpenGL.spec
Log Message:
auto-import PyOpenGL-3.0.0-0.2.a6.fc7 on branch devel from PyOpenGL-3.0.0-0.2.a6.fc7.src.rpm
PyOpenGL-3.0.0a6-shebang.patch:
--- NEW FILE PyOpenGL-3.0.0a6-shebang.patch ---
--- PyOpenGL-3.0.0a6/OpenGL/Tk/__init__.py~ 2007-03-29 20:02:42.000000000 +0200
+++ PyOpenGL-3.0.0a6/OpenGL/Tk/__init__.py 2007-03-29 20:02:42.000000000 +0200
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
# This is statement is required by the build system to query build info
if __name__ == '__build__':
raise Exception
--- NEW FILE PyOpenGL.spec ---
%define prever a6
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: PyOpenGL
Version: 3.0.0
Release: 0.2.%{prever}%{?dist}
Summary: Python bindings for OpenGL
License: BSD
Group: System Environment/Libraries
URL: http://pyopengl.sourceforge.net/
Source0: http://downloads.sourceforge.net/pyopengl/%{name}-%{version}%{prever}.tar.gz
Patch0: PyOpenGL-3.0.0a6-shebang.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel python-setuptools
BuildArch: noarch
Requires: python-numeric python-setuptools
# in some other repositories this is named python-opengl
Provides: python-opengl = %{version}-%{release}
Obsoletes: python-opengl < %{version}-%{release}
%description
PyOpenGL is the cross platform Python binding to OpenGL and related APIs. It
includes support for OpenGL v1.1, GLU, GLUT v3.7, GLE 3 and WGL 4. It also
includes support for dozens of extensions (where supported in the underlying
implementation).
PyOpenGL is interoperable with a large number of external GUI libraries
for Python including (Tkinter, wxPython, FxPy, PyGame, and Qt).
%package Tk
Summary: %{name} OpenGL Tk widget
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}, tkinter
%description Tk
%{name} Togl (Tk OpenGL widget) 1.6 support.
%package doc
Summary: Documentation files for %{name}
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
%description doc
Documentation files for %{name}.
%prep
%setup -q -n %{name}-%{version}%{prever}
%patch0 -p1 -z .shebang
%build
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install -O1 --skip-build --root="$RPM_BUILD_ROOT" \
--prefix="%{_prefix}" --single-version-externally-managed
# don't package the tests files
rm -r $RPM_BUILD_ROOT%{python_sitelib}/OpenGL/tests
# for %%doc
rm documentation/pydoc/builddocs.py documentation/buildepydoc.py
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc license.txt
%{python_sitelib}/*OpenGL*
%exclude %{python_sitelib}/OpenGL/Tk
%files Tk
%defattr(-,root,root,-)
%{python_sitelib}/OpenGL/Tk
%files doc
%defattr(-,root,root,-)
%doc documentation/*
%changelog
* Thu Mar 29 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 3.0.0-0.2.a6
- Remove tests from the package (bz 234121)
- Add -Tk subpackage (bz 234121)
- Remove shebang from files with shebang instead of chmod +x (bz 234121)
- Better description
* Sat Mar 24 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 3.0.0-0.1.a6
- Initial Fedora Extras package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/PyOpenGL/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 2 Apr 2007 01:10:55 -0000 1.1
+++ .cvsignore 2 Apr 2007 05:24:57 -0000 1.2
@@ -0,0 +1 @@
+PyOpenGL-3.0.0a6.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/PyOpenGL/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 2 Apr 2007 01:10:55 -0000 1.1
+++ sources 2 Apr 2007 05:24:57 -0000 1.2
@@ -0,0 +1 @@
+9cc61f382c8a97d5697608de18caaddb PyOpenGL-3.0.0a6.tar.gz
More information about the scm-commits
mailing list