1 Summary: Cross-platform, open-source make system
2 Summary(pl.UTF-8): Wieloplatformowy system make o otwartych źródłach
7 Group: Development/Building
8 Source0: http://www.cmake.org/files/v2.4/%{name}-%{version}.tar.gz
9 # Source0-md5: c99c747ad8e9bfb3bef9cca875a52129
10 Patch0: %{name}-ncurses.patch
11 URL: http://www.cmake.org/HTML/Index.html
12 BuildRequires: libstdc++-devel
13 BuildRequires: ncurses-devel
14 BuildRequires: rpmbuild(macros) >= 1.167
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 CMake is used to control the software compilation process using simple
19 platform and compiler independent configuration files. CMake generates
20 native makefiles and workspaces that can be used in the compiler
21 environment of your choice. CMake is quite sophisticated: it is
22 possible to support complex environments requiring system
23 configuration, pre-processor generation, code generation, and template
26 %description -l pl.UTF-8
27 CMake służy do sterowania procesem kompilacji oprogramowania przy
28 użyciu prostych plików konfiguracyjnych niezależnych od platformy i
29 kompilatora. CMake generuje natywne pliki makefile i workspace,
30 których można używać w wybranym środowisku kompilatora. CMake jest
31 dość przemyślany: może obsłużyć złożone środowiska wymagające
32 konfiguracji systemu, generowanie preprocesora, generowanie kodu i
33 dziedziczenie szablonów.
39 cat > "init.cmake" <<EOF
40 SET (CURSES_INCLUDE_PATH "%{_includedir}/ncurses" CACHE PATH " " FORCE)
46 export CFLAGS="%{rpmcflags}"
47 export CXXFLAGS="%{rpmcxxflags}"
51 --datadir=/share/cmake \
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc ChangeLog.* Copyright.txt *.gif Docs/{cmake,ctest}.{txt,html}
71 %attr(755,root,root) %{_bindir}/ccmake
72 %attr(755,root,root) %{_bindir}/cmake
73 %attr(755,root,root) %{_bindir}/cpack
74 %attr(755,root,root) %{_bindir}/ctest