From 44af9955b55149ee79adbcc1879c8bd325183665 Mon Sep 17 00:00:00 2001 From: Kacper Kornet Date: Tue, 29 Jun 2010 21:41:04 +0000 Subject: [PATCH 1/1] - up to 2.8.2 - add libtinfo to libraries for ccmake Changed files: cmake-tinfo.patch -> 1.1 cmake.spec -> 1.49 --- cmake-tinfo.patch | 10 ++++++++++ cmake.spec | 6 ++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 cmake-tinfo.patch diff --git a/cmake-tinfo.patch b/cmake-tinfo.patch new file mode 100644 index 0000000..f79da2e --- /dev/null +++ b/cmake-tinfo.patch @@ -0,0 +1,10 @@ +--- ./Source/CursesDialog/CMakeLists.txt~ 2010-06-28 16:16:00.000000000 +0100 ++++ ./Source/CursesDialog/CMakeLists.txt 2010-06-29 21:49:26.854291404 +0100 +@@ -32,6 +32,6 @@ + + ADD_EXECUTABLE(ccmake ${CURSES_SRCS} ) + TARGET_LINK_LIBRARIES(ccmake CMakeLib) +-TARGET_LINK_LIBRARIES(ccmake cmForm) ++TARGET_LINK_LIBRARIES(ccmake cmForm tinfo) + + INSTALL_TARGETS(/bin ccmake) diff --git a/cmake.spec b/cmake.spec index 6fae0ce..6c748c3 100644 --- a/cmake.spec +++ b/cmake.spec @@ -11,13 +11,14 @@ Summary: Cross-platform, open-source make system Summary(pl.UTF-8): Wieloplatformowy system make o otwartych źródłach Name: cmake -Version: 2.8.1 +Version: 2.8.2 Release: 1 License: BSD Group: Development/Building Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz -# Source0-md5: a92ad653f9ccc1595d16cd9707f49acc +# Source0-md5: 8c967d5264657a798f22ee23976ff0d9 Patch0: %{name}-lib64.patch +Patch1: %{name}-tinfo.patch URL: http://www.cmake.org/ %{?with_gui:BuildRequires: QtGui-devel} BuildRequires: libstdc++-devel @@ -64,6 +65,7 @@ CMake. %if "%{_lib}" == "lib64" %patch0 -p1 %endif +%patch1 -p0 cat > "init.cmake" <