]> git.pld-linux.org Git - packages/cmake.git/blobdiff - cmake.spec
- recognize python 2.7 in FIND_PACKAGE(PythonLibs); rel 2
[packages/cmake.git] / cmake.spec
index 6fae0cec84554f7675ff6e05aef9c36ffe2c78b6..7b70bf598998cf882dc4b090f8ec651f42decd64 100644 (file)
@@ -7,17 +7,19 @@
 # Conditional build:
 %bcond_with    bootstrap       # use internal versions of some libraries
 %bcond_without gui             # don't build gui package
-#
+
 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
-Release:       1
+Version:       2.8.2
+Release:       2
 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
+Patch2:                python-2.7.patch
 URL:           http://www.cmake.org/
 %{?with_gui:BuildRequires:     QtGui-devel}
 BuildRequires: libstdc++-devel
@@ -64,6 +66,8 @@ CMake.
 %if "%{_lib}" == "lib64"
 %patch0 -p1
 %endif
+%patch1 -p0
+%patch2 -p1
 
 cat > "init.cmake" <<EOF
 SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
@@ -89,11 +93,10 @@ export LDFLAGS="%{rpmldflags}"
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/cmake
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
+rm -r $RPM_BUILD_ROOT%{_prefix}/doc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.032752 seconds and 4 git commands to generate.