diff --git a/cmake.spec b/cmake.spec index 0f88087..99df6a1 100644 --- a/cmake.spec +++ b/cmake.spec @@ -4,20 +4,20 @@ Name: cmake Summary: Cross-platform, open-source make system -Version: 2.8.7 +Version: 2.8.9 Release: 1 License: BSD Group: Development/Other Epoch: 1 Url: http://www.cmake.org/HTML/index.html -Source0: http://www.cmake.org/files/v%{shortVersion}/%name-%{version}.tar.gz +Source0: http://www.cmake.org/files/v%{shortVersion}/%{name}-%{version}.tar.gz Source1: cmake.macros # fix ftlk detection Patch1: cmake-fltk-path.patch Patch2: cmake-2.8.4-xz-support.patch BuildRequires: perl -BuildRequires: ncurses-devel -BuildRequires: libcurl-devel +BuildRequires: pkgconfig(ncurses) +BuildRequires: pkgconfig(libcurl) BuildRequires: idn-devel BuildRequires: zlib-devel BuildRequires: xz @@ -49,9 +49,7 @@ generation, and template instantiation. %_sysconfdir/emacs/site-start.d/%{name}.el %_sysconfdir/rpm/macros.d/* %_datadir/emacs/site-lisp/cmake-mode.el -%if %mdkversion > 200900 %_datadir/vim/*/* -%endif %_datadir/aclocal/cmake.m4 %doc CMakeLogo.gif Example mydocs/* @@ -110,10 +108,7 @@ cd build %make %install -rm -rf %buildroot -pushd build -%makeinstall_std -popd +%makeinstall_std -C build # cmake mode for emacs install -m644 Docs/cmake-mode.el -D %buildroot%_datadir/emacs/site-lisp/cmake-mode.el