SPECS: python-PyOpenGL.spec - previous commit reverted (mistake)

adamg adamg at pld-linux.org
Fri Dec 26 04:16:58 CET 2008


Author: adamg                        Date: Fri Dec 26 03:16:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- previous commit reverted (mistake)

---- Files affected:
SPECS:
   python-PyOpenGL.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/python-PyOpenGL.spec
diff -u SPECS/python-PyOpenGL.spec:1.29 SPECS/python-PyOpenGL.spec:1.30
--- SPECS/python-PyOpenGL.spec:1.29	Fri Dec 26 02:52:48 2008
+++ SPECS/python-PyOpenGL.spec	Fri Dec 26 04:16:52 2008
@@ -3,13 +3,12 @@
 Summary:	OpenGL bindings for Python
 Summary(pl.UTF-8):	Dowiązania do OpenGL dla Pythona
 Name:		python-%{module}
-Version:	3.0.0
-%define	beta	b6
-Release:	0.%{beta}.1
+Version:	2.0.2.01
+Release:	4
 License:	LGPL
 Group:		Development/Languages/Python
-Source0:	http://dl.sourceforge.net/pyopengl/%{module}-%{version}%{beta}.tar.gz
-# Source0-md5:	6a70dd315767064ec78b84a92d2420a8
+Source0:	http://dl.sourceforge.net/pyopengl/%{module}-%{version}.tar.gz
+# Source0-md5:	3deac41df71fc98c814330d1eb54ce71
 Patch0:		%{name}-link.patch
 URL:		http://pyopengl.sourceforge.net/
 BuildRequires:	OpenGL-GLU-devel
@@ -19,7 +18,6 @@
 %pyrequires_eq	python-libs
 Requires:	python-Numeric >= 22.0
 Obsoletes:	PyOpenGL
-Obsoletes:	python-PyOpenGL-examples
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_noautoreqdep	libGL.so.1 libGLU.so.1
@@ -32,8 +30,21 @@
 Dowiązania do OpenGL dla Pythona wraz z rozszerzeniami GL, GLU, WGL,
 GLUT, GLE i Tk.
 
+%package examples
+Summary:	Demos for PyOpenGL
+Summary(pl.UTF-8):	Programy demonstracyjne dla pakietu PyOpenGL
+Group:		Development/Languages/Python
+Requires:	%{name} = %{version}-%{release}
+
+%description examples
+Demos for PyOpenGL.
+
+%description examples -l pl.UTF-8
+Programy demonstracyjne dla pakietu PyOpenGL.
+
 %prep
-%setup -q -n %{module}-%{version}%{beta}
+%setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 CFLAGS="%{rpmcflags}"; export CFLAGS
@@ -43,20 +54,23 @@
 rm -rf $RPM_BUILD_ROOT
 
 python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--single-version-externally-managed
+	--root=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a OpenGL/Demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
 
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/OpenGL/{Demo,doc}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README* OpenGL/doc/xhtml/*
 %dir %{py_sitedir}/OpenGL
 %{py_sitedir}/OpenGL/__init__.py[co]
 %{py_sitedir}/OpenGL/quaternion.py[co]
@@ -93,14 +107,21 @@
 # WGL
 %{py_sitedir}/OpenGL/WGL
 
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2008/12/26 03:16:52  adamg
+- previous commit reverted (mistake)
+
 Revision 1.29  2008/12/26 01:52:48  adamg
-- updated to 1.3.2
+- updated to 3.0.0b6
 
 Revision 1.28  2008/10/14 06:42:42  arekm
 - release 4
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-PyOpenGL.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list