X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcmake.git;a=blobdiff_plain;f=cmake.spec;h=3c6fad6dbf96b386830a13e4fe7389b179c44d55;hp=c0447fa64c0721588510dfd6c5853587f66aad52;hb=6342daf8b7b34bfad231b3fbfeb4697248bb531f;hpb=9f78fa9d7ed48a67552a903c7642168878082818 diff --git a/cmake.spec b/cmake.spec index c0447fa..3c6fad6 100644 --- a/cmake.spec +++ b/cmake.spec @@ -12,13 +12,14 @@ Summary: Cross-platform, open-source make system Summary(pl.UTF-8): Wieloplatformowy system make o otwartych źródłach Name: cmake Version: 2.6.1 -Release: 1 +Release: 2 License: BSD Group: Development/Building Source0: http://www.cmake.org/files/v2.6/%{name}-%{version}.tar.gz # Source0-md5: 6717f4bc3cfcced4172ad98660ce7599 -Patch1: %{name}-lib64.patch -URL: http://www.cmake.org/HTML/index.html +Patch0: %{name}-lib64.patch +Patch1: %{name}-ar.patch +URL: http://www.cmake.org/HTML/ %{?with_gui:BuildRequires: QtGui-devel} BuildRequires: libstdc++-devel BuildRequires: ncurses-devel @@ -57,12 +58,12 @@ The %{name}-gui package contains the Qt based GUI for CMake. %prep %setup -q %if "%{_lib}" == "lib64" -%patch1 -p1 +%patch0 -p1 %endif +%patch1 -p0 cat > "init.cmake" <