1 |
%define shortVersion %(echo %{version} | cut -d. -f1,2) |
%define shortVersion %(echo %{version} | cut -d. -f1,2) |
2 |
|
|
3 |
%bcond_with bootstrap |
%bcond_without bootstrap |
4 |
|
|
5 |
Name: cmake |
Name: cmake |
6 |
Summary: Cross-platform, open-source make system |
Summary: Cross-platform, open-source make system |
30 |
BuildRequires: qt4-devel >= 4.4.0 |
BuildRequires: qt4-devel >= 4.4.0 |
31 |
%endif |
%endif |
32 |
BuildRequires: gcc-gfortran |
BuildRequires: gcc-gfortran |
33 |
%if %mdkversion > 200900 |
Requires: rpm-mageia-setup |
|
Conflicts: vim-common < 7.2.079-4 |
|
|
%endif |
|
|
Requires: rpm-manbo-setup >= 2-10 |
|
34 |
|
|
35 |
%description |
%description |
36 |
CMake is used to control the software compilation process using |
CMake is used to control the software compilation process using |
52 |
%_sysconfdir/emacs/site-start.d/%{name}.el |
%_sysconfdir/emacs/site-start.d/%{name}.el |
53 |
%_sysconfdir/rpm/macros.d/* |
%_sysconfdir/rpm/macros.d/* |
54 |
%_datadir/emacs/site-lisp/cmake-mode.el |
%_datadir/emacs/site-lisp/cmake-mode.el |
|
%if %mdkversion > 200900 |
|
55 |
%_datadir/vim/*/* |
%_datadir/vim/*/* |
|
%endif |
|
56 |
%doc CMakeLogo.gif Example mydocs/* |
%doc CMakeLogo.gif Example mydocs/* |
57 |
|
|
58 |
#----------------------------------------------------------------------------- |
#----------------------------------------------------------------------------- |
128 |
auto-mode-alist)) |
auto-mode-alist)) |
129 |
EOF |
EOF |
130 |
|
|
|
%if %mdkversion > 200900 |
|
131 |
# cmake mode for vim |
# cmake mode for vim |
132 |
install -m644 Docs/cmake-syntax.vim -D %buildroot%_datadir/vim/syntax/cmake.vim |
install -m644 Docs/cmake-syntax.vim -D %buildroot%_datadir/vim/syntax/cmake.vim |
133 |
install -m644 Docs/cmake-indent.vim -D %buildroot%_datadir/vim/indent/cmake.vim |
install -m644 Docs/cmake-indent.vim -D %buildroot%_datadir/vim/indent/cmake.vim |
|
%endif |
|
134 |
|
|
135 |
# RPM macros |
# RPM macros |
136 |
install -m644 %SOURCE1 -D %buildroot%_sysconfdir/rpm/macros.d/cmake.macros |
install -m644 %SOURCE1 -D %buildroot%_sysconfdir/rpm/macros.d/cmake.macros |