Summary: Cross-platform, open-source make system
Summary(pl.UTF-8): Wieloplatformowy system make o otwartych źródłach
Name: cmake
-Version: 2.6.2
+Version: 2.8.0
Release: 1
License: BSD
Group: Development/Building
-Source0: http://www.cmake.org/files/v2.6/%{name}-%{version}.tar.gz
-# Source0-md5: 9e82aa3beb991aa8e5797cf330618d42
+Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz
+# Source0-md5: 3b3679b8a6afaedc38a8c15dd7ff4fcf
Patch0: %{name}-lib64.patch
-Patch1: %{name}-ar.patch
URL: http://www.cmake.org/
%{?with_gui:BuildRequires: QtGui-devel}
BuildRequires: libstdc++-devel
%if "%{_lib}" == "lib64"
%patch0 -p1
%endif
-%patch1 -p0
cat > "init.cmake" <<EOF
SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
%{?with_gui:--qt-gui} \
--verbose
-%{__make}
+%{__make} VERBOSE=1
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/cmake
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/ctest
%{_mandir}/man1/*.1*
%{_datadir}/cmake
+%dir %{_libdir}/cmake
%files gui
%defattr(644,root,root,755)