|
@@ -2,23 +2,28 @@
|
|
%define pyver %(python -c 'import sys;print(sys.version[0:3])')
|
|
%define pyver %(python -c 'import sys;print(sys.version[0:3])')
|
|
|
|
|
|
Name: PyOpenGL
|
|
Name: PyOpenGL
|
|
-Version: 3.0.0
|
|
+Version: 3.1.0
|
|
-Release: 4%{_dist_release}
|
|
+Release: 1%{_dist_release}
|
|
Summary: Python bindings for OpenGL
|
|
Summary: Python bindings for OpenGL
|
|
|
|
+Summary(ja): OpenGL の Python バインディング
|
|
License: BSD
|
|
License: BSD
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://pyopengl.sourceforge.net/
|
|
URL: http://pyopengl.sourceforge.net/
|
|
Source0: http://downloads.sourceforge.net/pyopengl/%{name}-%{version}.tar.gz
|
|
Source0: http://downloads.sourceforge.net/pyopengl/%{name}-%{version}.tar.gz
|
|
Patch0: PyOpenGL-3.0.0a6-shebang.patch
|
|
Patch0: PyOpenGL-3.0.0a6-shebang.patch
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: python-devel python-setuptools
|
|
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
-Requires: python-numeric python-setuptools
|
|
+BuildRequires: python-devel
|
|
|
|
+BuildRequires: python-setuptools
|
|
|
|
+Requires: python-numeric
|
|
|
|
+Requires: python-setuptools
|
|
Requires: freeglut
|
|
Requires: freeglut
|
|
|
|
|
|
# in some other repositories this is named python-opengl
|
|
# in some other repositories this is named python-opengl
|
|
Provides: python-opengl = %{version}-%{release}
|
|
Provides: python-opengl = %{version}-%{release}
|
|
Obsoletes: python-opengl < %{version}-%{release}
|
|
Obsoletes: python-opengl < %{version}-%{release}
|
|
|
|
+
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
@@ -37,6 +42,7 @@ for Python including (Tkinter, wxPython, FxPy, PyGame, and Qt).
|
|
Summary: %{name} OpenGL Tk widget
|
|
Summary: %{name} OpenGL Tk widget
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}, tkinter
|
|
Requires: %{name} = %{version}-%{release}, tkinter
|
|
|
|
+Requires: tkinter
|
|
|
|
|
|
%description Tk
|
|
%description Tk
|
|
%{name} Togl (Tk OpenGL widget) 1.6 support.
|
|
%{name} Togl (Tk OpenGL widget) 1.6 support.
|
|
@@ -44,7 +50,8 @@ Requires: %{name} = %{version}-%{release}, tkinter
|
|
|
|
|
|
%package doc
|
|
%package doc
|
|
Summary: Documentation files for %{name}
|
|
Summary: Documentation files for %{name}
|
|
-Group: Development/Languages
|
|
+Summary(ja): %{name} のドキュメント
|
|
|
|
+Group: Documentation
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description doc
|
|
%description doc
|
|
@@ -53,7 +60,7 @@ Documentation files for %{name}.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1 -z .shebang
|
|
+#patch0 -p1 -z .shebang
|
|
|
|
|
|
%build
|
|
%build
|
|
python setup.py build
|
|
python setup.py build
|
|
@@ -61,10 +68,10 @@ python setup.py build
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-python setup.py install -O1 --skip-build --root="$RPM_BUILD_ROOT" \
|
|
+python setup.py install -O1 --skip-build \
|
|
- --prefix="%{_prefix}"
|
|
+ --root="$RPM_BUILD_ROOT" --prefix="%{_prefix}"
|
|
-chmod -x $RPM_BUILD_ROOT%{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info
|
|
|
|
|
|
|
|
|
|
+#chmod -x $RPM_BUILD_ROOT%{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -72,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-##doc license.txt
|
|
+%doc license.txt
|
|
%{python_sitelib}/*OpenGL*
|
|
%{python_sitelib}/*OpenGL*
|
|
%exclude %{python_sitelib}/OpenGL/Tk
|
|
%exclude %{python_sitelib}/OpenGL/Tk
|
|
|
|
|
|
@@ -82,10 +89,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files doc
|
|
%files doc
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc documentation/*
|
|
+#doc documentation/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1.0-1
|
|
|
|
+- updated to 3.1.0
|
|
|
|
+
|
|
* Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-4
|
|
* Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-4
|
|
- rebuild with python-2.7.2
|
|
- rebuild with python-2.7.2
|
|
|
|
|