File cmake.spec of Package cmake

#
# spec file for package cmake (Version 2.6.2)
#
# 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 http://bugs.opensuse.org/
#

# norootforbuild
# usedforbuild    aaa_base acl attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gcc-c++ gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libmudflap libnscd libstdc++ libstdc++-devel libtool libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel


Name:           cmake
BuildRequires:  gcc-c++ libstdc++-devel
License:        Other License(s), see package
Group:          Development/Tools/Building
Summary:        Cross-platform, open-source make system
Version:        2.6.2
Release:        5.2
Url:            http://www.cmake.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-%{version}.tar.bz2

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



Authors:
--------
    Kitware, Inc., Insight Consortium

%debug_package
%prep
%setup -q -n %name-%version

%build
export CXXFLAGS="$RPM_OPT_FLAGS"
export CFLAGS=$CXXFLAGS
./configure --prefix=/usr --datadir=/share/%name --docdir=/share/doc/packages/%name --mandir=/share/man
make VERBOSE=1 %{?jobs:-j %jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT/usr/share/cmake -type f -print0 | xargs -0 chmod 644

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/cpack
/usr/bin/ccmake
/usr/bin/cmake
/usr/bin/ctest
/usr/share/cmake
%doc /usr/share/doc/packages/%name
/usr/share/man/man1/*

%changelog
* Wed Apr 19 2006 - dmueller@suse.de
- update to 2.4.0, fixes -L/-I compiler flag ordering
  needed for building KDE 4 trunk.
* Fri Apr 14 2006 - dmueller@suse.de
- fix --help-modules / --help-module <module>
* Mon Mar 27 2006 - dmueller@suse.de
- compile with RPM_OPT_FLAGS (#160857)
- fix permissions of installed files (#160856)
* Fri Mar 24 2006 - dmueller@suse.de
- drop rpath patch, no longer necessary
* Mon Mar 20 2006 - dmueller@suse.de
- CVS snapshot update, fixes RPATH handling
* Wed Feb 15 2006 - dmueller@suse.de
- Initial package (2.3 CVS snapshot 20060210)
openSUSE Build Service is sponsored by