SPECS: cmake.spec - updated to 2.2.3 - BR: libstdc++-devel, ncurse...
charles
charles at pld-linux.org
Tue Dec 6 22:26:42 CET 2005
Author: charles Date: Tue Dec 6 21:26:42 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.2.3
- BR: libstdc++-devel, ncurses-devel, rpmbuild(macros) >= 1.167
- "new" %build
---- Files affected:
SPECS:
cmake.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/cmake.spec
diff -u SPECS/cmake.spec:1.4 SPECS/cmake.spec:1.5
--- SPECS/cmake.spec:1.4 Wed Jun 30 00:37:44 2004
+++ SPECS/cmake.spec Tue Dec 6 22:26:37 2005
@@ -2,15 +2,17 @@
Summary: Cross-platform, open-source make system
Summary(pl): Wieloplatformowy system make o otwartych źródłach
Name: cmake
-Version: 1.8.3
+Version: 2.2.3
Release: 1
License: BSD
Group: Development/Building
-# current: http://www.cmake.org/files/v2.0/cmake-2.0.2.tar.gz
-Source0: http://www.cmake.org/files/v1.8/%{name}-%{version}.tar.gz
-# Source0-md5: 781afe6ed9000e303bf6ac3e4e384dce
+Source0: http://www.cmake.org/files/v2.2/%{name}-%{version}.tar.gz
+# Source0-md5: d29377b76fbab6a74107c49adc9e6457
Patch0: %{name}-ncurses.patch
URL: http://www.cmake.org/
+BuildRequires: libstdc++-devel
+BuildRequires: ncurses-devel
+BuildRequires: rpmbuild(macros) >= 1.167
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -35,18 +37,23 @@
%setup -q
%patch0 -p1
+cat > "init.cmake" <<EOF
+SET (CURSES_INCLUDE_PATH "%{_includedir}/ncurses" CACHE PATH " " FORCE)
+EOF
+
%build
+export CC="%{__cc}"
+export CXX="%{__cxx}"
+export CFLAGS="%{rpmcflags}"
+export CXXFLAGS="%{rpmcxxflags}"
./bootstrap \
--prefix=%{_prefix} \
--mandir=/share/man \
--datadir=/share/cmake \
+ --init=init.cmake \
--verbose
-./Bootstrap.cmk/cmake \
- -DCURSES_INCLUDE_PATH=%{_includedir}/ncurses
-
%{__make}
-
%install
rm -rf $RPM_BUILD_ROOT
@@ -61,7 +68,7 @@
%files
%defattr(644,root,root,755)
-%doc ChangeLog.txt *.pdf *.rtf Copyright.txt *.gif Docs/{cmake,ccmake,ctest}.*
+%doc ChangeLog.* Copyright.txt *.gif *.pdf Docs/{cmake,ctest}.{txt,html}
%attr(755,root,root) %{_bindir}/ccmake
%attr(755,root,root) %{_bindir}/cmake
%attr(755,root,root) %{_bindir}/ctest
@@ -74,6 +81,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2005/12/06 21:26:37 charles
+- updated to 2.2.3
+- BR: libstdc++-devel, ncurses-devel, rpmbuild(macros) >= 1.167
+- "new" %build
+
Revision 1.4 2004/06/29 22:37:44 adamg
- updated to 1.8.3
- made it build
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/cmake.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list