--- /dev/null
+--- cegui-0.8.4/CMakeLists.txt.orig 2014-07-07 10:46:25.000000000 +0200
++++ cegui-0.8.4/CMakeLists.txt 2014-10-26 07:04:55.574145118 +0100
+@@ -106,7 +106,7 @@
+ find_package(Lua51)
+ find_package(TOLUAPP)
+ find_package(PythonInterp)
+-find_package(PythonLibs)
++find_package(PythonLibs ${PYTHON_VERSION_STRING})
+ find_package(Boost 1.36.0 COMPONENTS python unit_test_framework system)
+
+ find_package(Doxygen)
# Source1-md5: 1096bf8c84bf6a22e8892ab9258c22f6
Patch0: pthread.patch
Patch1: %{name}-glfw3.patch
+Patch2: %{name}-python.patch
URL: http://www.cegui.org.uk/
BuildRequires: DevIL-devel
%{?with_directfb:BuildRequires: DirectFB-devel >= 1.2.0}
BuildRequires: FreeImage-devel
+BuildRequires: GLM
+BuildRequires: OpenGL-devel
BuildRequires: SILLY-devel >= 0.1.0
BuildRequires: boost-devel >= 1.36.0
BuildRequires: boost-python-devel >= 1.36.0
BuildRequires: expat-devel
BuildRequires: fribidi-devel
BuildRequires: freetype-devel >= 2.0
+BuildRequires: glew-devel
+# for SampleFramework
BuildRequires: glfw-devel
BuildRequires: gtk+2-devel >= 2:2.4
BuildRequires: irrlicht-devel >= 1.4
%endif
BuildRequires: pcre-devel >= 5.0
BuildRequires: pkgconfig
-BuildRequires: python-devel
+BuildRequires: python-devel >= 2
BuildRequires: rapidxml
BuildRequires: sed >= 4.0
BuildRequires: tinyxml-devel
%setup -q -a 1 -n cegui-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
install -d build