packages: python-PyOpenGL/python-PyOpenGL.spec - up to 3.0.1a2 - examples u...
lisu
lisu at pld-linux.org
Wed Aug 5 09:33:43 CEST 2009
Author: lisu Date: Wed Aug 5 07:33:43 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 3.0.1a2
- examples updated to 3.0.1a1
- use %%{_ver}%%{_subver} in Version
- python version specific .egg.info
---- Files affected:
packages/python-PyOpenGL:
python-PyOpenGL.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: packages/python-PyOpenGL/python-PyOpenGL.spec
diff -u packages/python-PyOpenGL/python-PyOpenGL.spec:1.31 packages/python-PyOpenGL/python-PyOpenGL.spec:1.32
--- packages/python-PyOpenGL/python-PyOpenGL.spec:1.31 Wed Jun 3 09:09:06 2009
+++ packages/python-PyOpenGL/python-PyOpenGL.spec Wed Aug 5 09:33:38 2009
@@ -3,26 +3,29 @@
# TODO: - check deps
# - applications which use pyopengl can't locate it - try to fix it
#
-%define module PyOpenGL
+%define module PyOpenGL
+%define _ver 3.0.1
+%define _subver a2
+%define _demo_subver a1
Summary: OpenGL bindings for Python
Summary(pl.UTF-8): Dowiązania do OpenGL dla Pythona
Name: python-%{module}
-Version: 3.0.0
+Version: %{_ver}%{_subver}
Release: 0.1
License: LGPL
Group: Development/Languages/Python
Source0: http://dl.sourceforge.net/pyopengl/%{module}-%{version}.tar.gz
-# Source0-md5: ab0fd5f95b8aaaa6b3902c2350b5d5c0
-Source1: http://dl.sourceforge.net/pyopengl/%{module}-Demo-%{version}.tar.gz
-# Source1-md5: b64bfd20fa0a37ea47cfb01cb26c3ee5
+# Source0-md5: 347f2829d357157c6755eeeee14e59a4
+Source1: http://dl.sourceforge.net/pyopengl/%{module}-Demo-%{_ver}%{_demo_subver}.tar.gz
+# Source1-md5: 75b66abdf2d0e5003798c0fa12abee6e
URL: http://pyopengl.sourceforge.net/
BuildRequires: OpenGL-GLU-devel
BuildRequires: OpenGL-glut-devel
BuildRequires: python-Numeric-devel >= 22.0
-BuildRequires: python-devel >= 1:2.5
+BuildRequires: python-devel
%pyrequires_eq python-libs
-Requires: python-Numeric >= 22.0
BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-Numeric >= 22.0
Obsoletes: PyOpenGL
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,7 +57,7 @@
%build
%{__python} setup.py build
-cd %{module}-Demo-%{version}
+cd %{module}-Demo-%{_ver}%{_demo_subver}
%{__python} setup.py build
%install
@@ -64,7 +67,7 @@
--optimize=2 \
--root=$RPM_BUILD_ROOT
-cd %{module}-Demo-%{version}
+cd %{module}-Demo-%{_ver}%{_demo_subver}
%{__python} setup.py install \
--optimize=2 \
--root=$RPM_BUILD_ROOT
@@ -85,7 +88,9 @@
%defattr(644,root,root,755)
%doc PKG-INFO
%{py_sitescriptdir}/OpenGL
+%if "%{py_ver}" > "2.4"
%{py_sitescriptdir}/*.egg-info
+%endif
%files examples
%defattr(644,root,root,755)
@@ -97,6 +102,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2009/08/05 07:33:38 lisu
+- up to 3.0.1a2
+- examples updated to 3.0.1a1
+- use %%{_ver}%%{_subver} in Version
+- python version specific .egg.info
+
Revision 1.31 2009/06/03 07:09:06 lisu
- up to final 3.0.0
- DEVEL merge
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-PyOpenGL/python-PyOpenGL.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list