Summary: Cross-platform, open-source make system
Summary(pl): Wieloplatformowy system make o otwartych ¼ród³ach
Name: cmake
-Version: 2.2.3
+Version: 2.4.6
Release: 1
License: BSD
Group: Development/Building
-Source0: http://www.cmake.org/files/v2.2/%{name}-%{version}.tar.gz
-# Source0-md5: d29377b76fbab6a74107c49adc9e6457
+Source0: http://www.cmake.org/files/v2.4/%{name}-%{version}.tar.gz
+# Source0-md5: c99c747ad8e9bfb3bef9cca875a52129
Patch0: %{name}-ncurses.patch
-URL: http://www.cmake.org/
+URL: http://www.cmake.org/HTML/Index.html
BuildRequires: libstdc++-devel
BuildRequires: ncurses-devel
BuildRequires: rpmbuild(macros) >= 1.167
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT/usr/doc
+rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog.* Copyright.txt *.gif *.pdf Docs/{cmake,ctest}.{txt,html}
+%doc ChangeLog.* Copyright.txt *.gif Docs/{cmake,ctest}.{txt,html}
%attr(755,root,root) %{_bindir}/ccmake
%attr(755,root,root) %{_bindir}/cmake
+%attr(755,root,root) %{_bindir}/cpack
%attr(755,root,root) %{_bindir}/ctest
%{_mandir}/man1/*.1*
%{_datadir}/cmake