Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Error at line 20 of cmake.spec
  • From: "G. Massera" <gmassera@xxxxxxxxxxx>
  • Date: Fri, 01 Feb 2008 17:05:45 +0100
  • Message-id: <47A34359.6010504@xxxxxxxxxxx>
Michal Marek ha scritto:
G. Massera wrote:

Michal Marek ha scritto:

Could you merge the SUSE and RHEL(CentOS) spec into one (cmake.spec)?
They seem to be very similar, so it should be possible to push the
changes to openSUSE:Factory, on which devel:tools:building/cmake (*) is


Am I allowed to make modification directly on the cmake.spec of
OpenSuse:Factory via Web interface ???

Of course not. But you can create and test such modified package in yout
home and then ask the Factory maintainer to include your changes.

The modification is easy... and I've already tested for CentOS and RHEL.
Attached there is the cmake.spec modified

# spec file for package cmake (Version 2.4.8)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via

# norootforbuild

Name: cmake
Version: 2.4.8
Release: 1
License: BSD 3-Clause
Group: Development/Tools/Building
%define tar_version 2.4.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
%if 0%{?suse_version} > 1020
BuildRequires: libexpat-devel
BuildRequires: expat
BuildRequires: expat-devel
BuildRequires: curl-devel expat gcc-c++ libstdc++-devel
BuildRequires: ncurses-devel openssl-devel zlib-devel
Source0: %{name}-%{tar_version}.tar.bz2
Patch0: cmake-2.4.7-use_intree_xmlrpc.patch
Patch1: cmake-2.4.7-less_verbosity.patch
Patch2: cmake-2.4.7-use_shared_python_lib.patch
Summary: Cross-platform, open-source make system
Requires: make

CMake is a cross-platform, open-source make system

Kitware, Inc., Insight Consortium

%setup -q -n %name-%tar_version
#disabled because it breaks progress information

./configure \
--prefix=%{_prefix} \
--datadir=/share/%{name} \
--docdir=/share/doc/packages/%{name} \
--mandir=/share/man \
make VERBOSE=1 %{?jobs:-j %jobs}

make DESTDIR=%{buildroot} install
find %{buildroot}/usr/share/cmake -type f -print0 | xargs -0 chmod 644

rm -rf %{buildroot}

%doc /usr/share/doc/packages/%name

* Mon Jan 28 2008 dmueller@xxxxxxx
- update to 2.4.8:
* version number increase, no linux specific changes
* Fri Jan 25 2008 pcerny@xxxxxxx
- added zlib to BuildRequires
* Mon Jan 21 2008 coolo@xxxxxxx
- always buildrequire openssl-devel
* Mon Jan 14 2008 dmueller@xxxxxxx
- update to 2.4.8-RC12:
* fix glib and Qt4 detection on 10.2 and older
* MODULE install with versions was broken
* Thu Jan 03 2008 dmueller@xxxxxxx
- update to 2.4.8-RC9:
* last release candidate of 2.4.8
* Add list(FIND) because it is used in new FindQt4.cmake
* Fix tar long file path issue with cpack
* Fix variable name in docs for FindPkgConfig bug 5722
* Fix for bug 5645 ifort bad pic flag on linux
* Fix for bug 6006 INSTALL DIRECTORY signature problem
* Update FindQt4 from CVS Head for many bug fixes
* Fix bug 5638 CMAKE_INSTALL_PREFIX not working on SunOS with CC
* Fix bug 6117 FindPkgConfig can run twice now
* Fix bug 6106 FindPerlLibs.cmake missing escaped $
* Allow NODEFAULTLIBS to have more than one value bug 5455
* Better error from ctest if nightly time not set
* Avoid relinking exclude-from-all directory targets before install
* Fix for kde4-config location
* Remove KDE3_ENABLE_FINAL (did not work)
* KDE3 fix for 64 bit location of plugins
* mark PYTHON_EXECUTABLE as advanced
* documentation fix for file, find_package, try_run
* add IS_ABSOLUTE to if
* INSTALL() everything which doesn't have a COMPONENT set, is assigned
* make #cmakedefine output match autoconf when undefined
* document cmake remove -f
* document order of -D and -P
* Mon Dec 10 2007 dmueller@xxxxxxx
- if you want cmake, you probably also want make
* Fri Sep 21 2007 dmueller@xxxxxxx
- disabling less_verbosity patch
* Fri Jul 20 2007 pcerny@xxxxxxx
- update to 2.4.7 - several bugfixes
(KDevelop problem among others,
see ChangeLog.manual for more details)
* Fri Apr 27 2007 dmueller@xxxxxxx
- expat -> libexpat-devel
* Thu Mar 29 2007 dmueller@xxxxxxx
- add ncurses-devel buildrequires
* Thu Jan 11 2007 dmueller@xxxxxxx
- update to 2.4.6:
* Fix for FIND_* order and framworks with PREFIX usage.
* Fix for FindDoxygen and quiet mode.
* Find JavaVM as well as jvm
* Look for ruby1.8 and ruby
* Fix for cpack and dash
* Fix for finding custom commands from a full path with CMAKE_CFG_INTDIR.
* Fix for Borland make and custom commands that do nothing
* Mon Jan 08 2007 dmueller@xxxxxxx
- readd patch to detect shared python library instead of
the static one.
* Tue Dec 19 2006 mrueckert@xxxxxxx
- added cmake-2.4.5_use_intree_xmlrpc.patch:
the xmlrpc-c check seems broken. and on 10.2 we dont have the lib
anyways. so disable the systemwide xmlrpc for now.
* Fri Dec 15 2006 mrueckert@xxxxxxx
- update to version 2.4.5:
* Fix for seg fault when a macro runs a bad command BUG# 3815
* Fix fix for foo.dll.lib that does not break -L/usr/lib in
link names
* Fix problem with LIBRARY_OUTPUT_PATH and linking to a dll
foo.dll.lib instead of foo.lib
* Do not depend on optimized libraries for a debug build and
visa versa.
* Fix target name matching custom command output conflict.
* Fix FindQt3 so that it does not find qt4
* Fix FindKDE4 so that it only looks for kde4-config
- disabled all patches -> applied upstream
* Mon Oct 02 2006 dmueller@xxxxxxx
- detect shared python library instead of static variant
* Tue Sep 26 2006 dmueller@xxxxxxx
- add python 2.5 support
* Sun Sep 10 2006 dmueller@xxxxxxx
- build against system zlib / libcurl
* Mon Aug 28 2006 coolo@xxxxxxx
- fix Qt3 configure check for lib64
* Sat Aug 26 2006 coolo@xxxxxxx
- respect DESTDIR on installing kde3 icons
* Mon Aug 14 2006 coolo@xxxxxxx
- add SUSE default paths for Qt3
* Tue Aug 01 2006 dmueller@xxxxxxx
- 2.4.3 update:
* progress is now reported with makefiles
* Fix relative path problems in ADD_SUBDIRECTORY
* Fix crash in CMakeSetup when status line is long
* make sure try compile files have a newline at the end
* add rxvt-unicode, cygwin, and screen terminal support for color
* Thu May 18 2006 dmueller@xxxxxxx
- 2.4.2 update:
* Run symlink command from correct directory for executable versions
* Fix for universal binaries and Xcode depend problem
* Changes to LIST command, see --help-command LIST
* Fix FindQT to be able to use full paths to source files
* Fix CPack ZIP on windows command line problem
* Find executables with no extension on windows mingw
* Fix FindQt3 to use QTDIR over path
* Significant speedup in try-compile for nmake
* CPack improvements including tar bzip2
* FindQt4 windows path fix
* Sunos cc optimize flags are correct
* Fix crash with ${} empty variable
* Increase depend speed on Mac OS.
* install command CONFIGURATIONS option.
* Fix MSVC60, MSVC70, MSVC71, MSVC80 definitions for IDE builds
* Fix for C++ compiler being used for c code in VS IDE
* Wed May 10 2006 dmueller@xxxxxxx
- 2.4.1 update :
* Several ctest and cpack bug fixes
* Many updates and fixes for FindQt4.cmake
* Fix CMAKE_REQUIRED_FLAGS in CheckCXXSourceCompiles.cmake
* Handle running make from a symlinked build tree
* Automatic color ouput detection for shells building with make
* Kdevelop generator handles CMakeFiles directory better
* add correct depend information for fluid
* allow the cache to be saved even if a fatal error occurs
* fix bug in relative path subdir and add_subdirectoy commands
* support in vs for two object files with the same name
* short file names used for library paths in visual studio
* package target only shows up when you have cpack config files
* Use dl and not -ldl for adding in the dynamic library
* Fix check c/cxx source compiles macros to not clobber log files
* Fix nmake version detection of cl and create correct pdb files
* Fix msys bootstrap
* Change color output to be more readable
* Fix vs6 library naming
* Wed Apr 19 2006 dmueller@xxxxxxx
- update to 2.4.0, fixes -L/-I compiler flag ordering
needed for building KDE 4 trunk.
* Fri Apr 14 2006 dmueller@xxxxxxx
- fix --help-modules / --help-module <module>
* Mon Mar 27 2006 dmueller@xxxxxxx
- compile with RPM_OPT_FLAGS (#160857)
- fix permissions of installed files (#160856)
* Fri Mar 24 2006 dmueller@xxxxxxx
- drop rpath patch, no longer necessary
* Mon Mar 20 2006 dmueller@xxxxxxx
- CVS snapshot update, fixes RPATH handling
* Wed Feb 15 2006 dmueller@xxxxxxx
- Initial package (2.3 CVS snapshot 20060210)
< Previous Next >