rpms/cmake/devel cmake.spec,1.28,1.29

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Fri Mar 7 16:55:25 UTC 2008


Author: orion

Update of /cvs/pkgs/rpms/cmake/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30472

Modified Files:
	cmake.spec 
Log Message:
Undo wxWidgets changes that accidentally got checked in.
Add macro for bootstrapping



Index: cmake.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cmake/devel/cmake.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- cmake.spec	5 Mar 2008 16:42:49 -0000	1.28
+++ cmake.spec	7 Mar 2008 16:54:42 -0000	1.29
@@ -1,3 +1,7 @@
+# Set to bcond_without or use --with bootstrap if bootstrapping a new release
+# or architecture
+%bcond_with bootstrap
+
 Name:		cmake
 Version:	2.4.8
 Release:	3%{?dist}
@@ -11,15 +15,10 @@
 Source2:        macros.cmake
 Patch0:         cmake-2.4.2-fedora.patch
 Patch1:         cmake-2.4.5-xmlrpc.patch
-Patch2:         cmake-2.4.8-CMakeSetup-unicode.patch
-Patch3:         cmake-2.4.8-wxdialog.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  ncurses-devel, libX11-devel
-BuildRequires:  curl-devel, expat-devel, zlib-devel, wxGTK-devel
-# To bootstrap on a new architecture/release, you must comment out the
-# xmlrpc-c-devel BR and xmlrpc patch.  Build cmake then xmlrpc-c.  Then
-# undo the cmake changes and rebuild cmake.
-BuildRequires:  xmlrpc-c-devel
+BuildRequires:  curl-devel, expat-devel, zlib-devel
+%{?!with_bootstrap:BuildRequires: xmlrpc-c-devel}
 Requires:       rpm
 
 
@@ -32,21 +31,10 @@
 generation, code generation, and template instantiation.
 
 
-%package         -n cmakesetup
-Summary:         CMakeSetup
-Group:           Development/Tools
-Requires:        %{name} = %{version}-%{release}
-
-%description     -n cmakesetup
-wxWidgets based CMake tool.
-
-
 %prep
 %setup -q
 %patch -p1 -b .fedora
 %patch1 -p1 -b .xmlrpc
-%patch2 -p1 -b .unicode
-%patch3 -p1 -b .wxdialog
 
 
 %build
@@ -54,7 +42,7 @@
 export CXXFLAGS="$RPM_OPT_FLAGS"
 ./bootstrap --init=%SOURCE1 --prefix=%{_prefix} --datadir=/share/%{name} \
             --docdir=/share/doc/%{name}-%{version} --mandir=/share/man \
-            --system-libs
+            --%{?with_bootstrap:no-}system-libs
 make VERBOSE=1 %{?_smp_mflags}
 
 
@@ -86,14 +74,10 @@
 %{_mandir}/man1/*.1*
 %{_datadir}/emacs/
 
-%files -n cmakesetup
-%defattr(-,root,root,-)
-%{_bindir}/CMakeSetup
-
 
 %changelog
-* Fri Feb  8 2008 Laurent Rineau <laurent.rineau__fedora at normalesup.org> - 2.4.8-3
-- Enable the wxWidgets version of CMakeSetup (bug #431953).
+* Fri Mar 7 2008 Orion Poplawski <orion at cora.nwra.com> - 2.4.8-3
+- Add macro for bootstrapping new release/architecture
 
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.4.8-2
 - Autorebuild for GCC 4.3




More information about the fedora-extras-commits mailing list