From 3fcbc09ac292dea6d3c9316b64b2153bb5a51faa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Tue, 29 Jun 2004 12:48:46 +0000 Subject: [PATCH] - new, almost raw (taken from Mandrake) Changed files: cmake.spec -> 1.1 --- cmake.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 cmake.spec diff --git a/cmake.spec b/cmake.spec new file mode 100644 index 0000000..d5eb062 --- /dev/null +++ b/cmake.spec @@ -0,0 +1,56 @@ +%define name cmake +%define version 1.4.7 +%define release 1 + +Summary: Cross-platform, open-source make system +Name: %name +Version: %version +Release: %release +License: BSD +Group: Development/Other +Url: http://www.cmake.org/HTML/Index.html +Source: CMake%{version}-src-unix.tar.bz2 +Patch0: cmake-ncurses.patch +BuildRoot: %_tmppath/%name-%version + +%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 -n CMake-%version +%patch0 -p1 + +%build +CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" +%configure2_13 +%{__make} \ + CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" + +%install +%{__make} install DESTDIR=$RPM_BUILD_ROOT +mv $RPM_BUILD_ROOT/usr/man $RPM_BUILD_ROOT/%_datadir/ +bzip2 $RPM_BUILD_ROOT/%_datadir/man/man1/* + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc ChangeLog.txt *.pdf *.rtf Copyright.txt *.gif +%_bindir/ccmake +%_bindir/cmake +%_bindir/cmaketest +%_bindir/ctest +%_mandir/man1/*.1.* +%_datadir/CMake/Modules +%_datadir/CMake/Templates + +%changelog +* Thu Jan 9 2003 Austin Acton 1.4.7-1mdk +- initial package -- 2.43.0