|
@@ -3,7 +3,7 @@ Summary: GtkGLExt is an OpenGL extension to GTK+ 2.0 or later.
|
|
Summary(ja): GTK+ 2.0 以降の OpenGL 拡張
|
|
Summary(ja): GTK+ 2.0 以降の OpenGL 拡張
|
|
Name: gtkglext
|
|
Name: gtkglext
|
|
Version: 1.2.0
|
|
Version: 1.2.0
|
|
-Release: 6%{?_dist_release}
|
|
+Release: 7%{?_dist_release}
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Source: %{name}-%{version}.tar.bz2
|
|
@@ -12,12 +12,14 @@ Patch0: gtkglext-1.2.0-bz677457.diff
|
|
Patch1: gtkglext-1.2.0-pangox-compat.patch
|
|
Patch1: gtkglext-1.2.0-pangox-compat.patch
|
|
URL: http://gtkglext.sourceforge.net/
|
|
URL: http://gtkglext.sourceforge.net/
|
|
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: xorg-x11-devel
|
|
BuildRequires: xorg-x11-devel
|
|
BuildRequires: mesa-libGL-devel
|
|
BuildRequires: mesa-libGL-devel
|
|
BuildRequires: mesa-libGLU-devel
|
|
BuildRequires: mesa-libGLU-devel
|
|
|
|
+%if "%{_dist_release}" >= "vl7"
|
|
BuildRequires: pangox-compat-devel
|
|
BuildRequires: pangox-compat-devel
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
+%endif
|
|
|
|
|
|
Requires: gtk2
|
|
Requires: gtk2
|
|
Requires: mesa-libGL
|
|
Requires: mesa-libGL
|
|
@@ -43,7 +45,9 @@ docs for the GtkGLExt.
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch0 -p1
|
|
|
|
+%if "%{_dist_release}" >= "vl7"
|
|
%patch1 -p1 -b .pangox-compat
|
|
%patch1 -p1 -b .pangox-compat
|
|
|
|
+%endif
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
@@ -87,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Apr 23 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-7
|
|
|
|
+- do not apply patch1
|
|
|
|
+
|
|
* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-6
|
|
* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-6
|
|
- add BuildRequires: pangox-compat-devel
|
|
- add BuildRequires: pangox-compat-devel
|
|
- add Patch1 (gtkglext-1.2.0-pangox-compat.patch)
|
|
- add Patch1 (gtkglext-1.2.0-pangox-compat.patch)
|