Mageia Bugzilla – Attachment 6816 Details for
Bug 16295
Update python-opengl and add python3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Spec file with python3
python-opengl.spec (text/x-rpm-spec), 1.63 KB, created by
Dimitrios Glentadakis
on 2015-07-05 12:15:11 CEST
(
hide
)
Description:
Spec file with python3
Filename:
MIME Type:
Creator:
Dimitrios Glentadakis
Created:
2015-07-05 12:15:11 CEST
Size:
1.63 KB
patch
obsolete
>%define libname PyOpenGL > >Summary: Python bindings for OpenGL >Name: python-opengl >Version: 3.1.0 >Release: %mkrel 1 >License: BSD >Group: System/Libraries >URL: http://pyopengl.sourceforge.net/ >Source0: https://pypi.python.org/packages/source/P/%{libname}/%{libname}-%{version}.tar.gz >BuildRequires: glut-devel >BuildRequires: python-devel >BuildRequires: swig >BuildRequires: tcl >BuildRequires: tcl-devel >BuildRequires: tk >BuildRequires: tk-devel >BuildRequires: python-setuptools >Provides: %{name}-doc > >%description >Python bindings for OpenGL > >%package tk >Summary: PyOpenGL Tk widget >Group: System/Libraries >Requires: %{name} = %{version} >Requires: tkinter > >%description tk >PyOpenGL Togl (Tk OpenGL widget) 1.6 support. > >%package -n python3-opengl >Summary: Python3 bindings for OpenGL >Group: System/Libraries > >%description -n python3-opengl >Python3 bindings for OpenGL > >%package -n python3-opengl-tk >Summary: PyOpenGL Tk widget >Group: System/Libraries >Requires: python3-opengl = %{version} >Requires: tkinter3 > >%description -n python3-opengl-tk >PyOpenGL Togl (Tk OpenGL widget) 1.6 support. > >%prep >%setup -q -n %{libname}-%{version} >cp -a . %{py3dir} > >%build >%{__python} setup.py build >pushd %{py3dir} >%{__python3} setup.py build >popd > >%install >%{__python} setup.py install --skip-build --root=%{buildroot} >pushd %{py3dir} >%{__python3} setup.py install --skip-build --root=%{buildroot} >popd > >%files >%{python_sitelib}/*OpenGL* >%exclude %{python_sitelib}/OpenGL/Tk > >%files tk >%{python_sitelib}/OpenGL/Tk > >%files -n python3-opengl >%{python3_sitelib}/*OpenGL* >%exclude %{python3_sitelib}/OpenGL/Tk > >%files -n python3-opengl-tk >%{python3_sitelib}/OpenGL/Tk > > >
%define libname PyOpenGL Summary: Python bindings for OpenGL Name: python-opengl Version: 3.1.0 Release: %mkrel 1 License: BSD Group: System/Libraries URL: http://pyopengl.sourceforge.net/ Source0: https://pypi.python.org/packages/source/P/%{libname}/%{libname}-%{version}.tar.gz BuildRequires: glut-devel BuildRequires: python-devel BuildRequires: swig BuildRequires: tcl BuildRequires: tcl-devel BuildRequires: tk BuildRequires: tk-devel BuildRequires: python-setuptools Provides: %{name}-doc %description Python bindings for OpenGL %package tk Summary: PyOpenGL Tk widget Group: System/Libraries Requires: %{name} = %{version} Requires: tkinter %description tk PyOpenGL Togl (Tk OpenGL widget) 1.6 support. %package -n python3-opengl Summary: Python3 bindings for OpenGL Group: System/Libraries %description -n python3-opengl Python3 bindings for OpenGL %package -n python3-opengl-tk Summary: PyOpenGL Tk widget Group: System/Libraries Requires: python3-opengl = %{version} Requires: tkinter3 %description -n python3-opengl-tk PyOpenGL Togl (Tk OpenGL widget) 1.6 support. %prep %setup -q -n %{libname}-%{version} cp -a . %{py3dir} %build %{__python} setup.py build pushd %{py3dir} %{__python3} setup.py build popd %install %{__python} setup.py install --skip-build --root=%{buildroot} pushd %{py3dir} %{__python3} setup.py install --skip-build --root=%{buildroot} popd %files %{python_sitelib}/*OpenGL* %exclude %{python_sitelib}/OpenGL/Tk %files tk %{python_sitelib}/OpenGL/Tk %files -n python3-opengl %{python3_sitelib}/*OpenGL* %exclude %{python3_sitelib}/OpenGL/Tk %files -n python3-opengl-tk %{python3_sitelib}/OpenGL/Tk
View Attachment As Raw
Actions:
View
Attachments on
bug 16295
: 6816