]> git.pld-linux.org Git - packages/cmake.git/blobdiff - cmake.spec
- rel 3
[packages/cmake.git] / cmake.spec
index b07591ad412a98243652f93a8316b05165459d3c..b0cb74c2205414f2de725ff014a965a8f561682e 100644 (file)
@@ -1,13 +1,14 @@
 Summary:       Cross-platform, open-source make system
 Summary(pl.UTF-8):     Wieloplatformowy system make o otwartych źródłach
 Name:          cmake
-Version:       2.4.6
-Release:       2
+Version:       2.4.7
+Release:       3
 License:       BSD
 Group:         Development/Building
 Source0:       http://www.cmake.org/files/v2.4/%{name}-%{version}.tar.gz
-# Source0-md5: c99c747ad8e9bfb3bef9cca875a52129
+# Source0-md5: 4476c423b8f74266136964e42ea88028
 Patch0:                %{name}-ncurses.patch
+Patch1:                %{name}-lib64.patch
 URL:           http://www.cmake.org/HTML/Index.html
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
@@ -35,9 +36,12 @@ dziedziczenie szablonów.
 %prep
 %setup -q
 %patch0 -p1
+%if "%{_lib}" == "lib64"
+%patch1 -p1
+%endif
 
 cat > "init.cmake" <<EOF
-SET (CURSES_INCLUDE_PATH "%{_includedir}/ncurses" CACHE PATH " " FORCE)
+SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
 EOF
 
 %build
This page took 0.057058 seconds and 4 git commands to generate.