From: Kacper Kornet Date: Wed, 14 May 2008 05:49:48 +0000 (+0000) Subject: - 2.6.0 (functionality of ncurses.patch included) X-Git-Tag: auto/ti/cmake-2_6_0-1~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcmake.git;a=commitdiff_plain;h=ccca321d7885d8f4078d05bc5a6d02151ce07171;ds=sidebyside - 2.6.0 (functionality of ncurses.patch included) - use PLD flags for linker - set explicitly name of ar binary (as we don't provide e.g. i686-pld-linux-ar) - use system libraries when possible (boostrap bcond) Changed files: cmake.spec -> 1.24 --- diff --git a/cmake.spec b/cmake.spec index 9663e3e..adce3c4 100644 --- a/cmake.spec +++ b/cmake.spec @@ -1,18 +1,22 @@ +# +# Conditional build: +%bcond_with bootstrap # use internal versions of some libraries +# Summary: Cross-platform, open-source make system Summary(pl.UTF-8): Wieloplatformowy system make o otwartych źródłach Name: cmake -Version: 2.4.8 -Release: 3 +Version: 2.6.0 +Release: 0.1 License: BSD Group: Development/Building -Source0: http://www.cmake.org/files/v2.4/%{name}-%{version}.tar.gz -# Source0-md5: f5dd061c31765a49dc17ae8bdc986779 -Patch0: %{name}-ncurses.patch +Source0: http://www.cmake.org/files/v2.6/%{name}-%{version}.tar.gz +# Source0-md5: e95ae003672dfc6c8151a1ee49a0d4a6 Patch1: %{name}-lib64.patch URL: http://www.cmake.org/HTML/Index.html BuildRequires: libstdc++-devel BuildRequires: ncurses-devel BuildRequires: rpmbuild(macros) >= 1.167 +%{?!with_bootstrap:BuildRequires: xmlrpc-c-devel} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -35,13 +39,13 @@ dziedziczenie szablonów. %prep %setup -q -%patch0 -p1 %if "%{_lib}" == "lib64" %patch1 -p1 %endif cat > "init.cmake" <