Name: cmake Version: 2.4.8 Release: 1 Summary: Cross-platform make system Group: Development/Tools License: BSD URL: http://www.cmake.org Source0: http://www.cmake.org/files/v2.4/cmake-%{version}.tar.gz Source1: cmake-init-aix BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation. %prep %setup -q %build export CC=xlc export CXX=xlC ./bootstrap \ --init=%{SOURCE1} \ --prefix=%{_prefix} \ --datadir=/share/%{name} \ --docdir=/doc/%{name}-%{version} \ --mandir=/man make VERBOSE=1 %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install strip $RPM_BUILD_ROOT%{_bindir}/* cp -r Example $RPM_BUILD_ROOT%{_prefix}/doc/%{name}-%{version}/ %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,system,-) %{_prefix}/doc/%{name}-%{version}/ %{_bindir}/* %{_datadir}/%{name}/ %{_mandir}/man?/*.1 %changelog * Tue Mar 04 2008 Michael Perzl - 2.4.8-1 - first version for AIX V5.1 and higher