Summary: Cross-platform, open-source make system
Summary(pl.UTF-8): Wieloplatformowy system make o otwartych źródłach
Name: cmake
-Version: 2.8.2
-Release: 2
+Version: 2.8.3
+Release: 1
License: BSD
Group: Development/Building
Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz
-# Source0-md5: 8c967d5264657a798f22ee23976ff0d9
+# Source0-md5: a76a44b93acf5e3badda9de111385921
Patch0: %{name}-lib64.patch
Patch1: %{name}-tinfo.patch
-Patch2: python-2.7.patch
URL: http://www.cmake.org/
+Requires: libarchive
+BuildRequires: libarchive-devel
%{?with_gui:BuildRequires: QtGui-devel}
BuildRequires: libstdc++-devel
BuildRequires: ncurses-devel
%patch0 -p1
%endif
%patch1 -p0
-%patch2 -p1
cat > "init.cmake" <<EOF
SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
+++ /dev/null
---- cmake-2.8.2/Modules/FindPythonLibs.cmake~ 2010-06-28 18:15:57.000000000 +0300
-+++ cmake-2.8.2/Modules/FindPythonLibs.cmake 2010-07-17 22:49:14.936169397 +0300
-@@ -27,7 +27,7 @@
- # Search for the python framework on Apple.
- CMAKE_FIND_FRAMEWORKS(Python)
-
--FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
-+FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
- STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
- IF(WIN32)
- FIND_LIBRARY(PYTHON_DEBUG_LIBRARY