This commit is contained in:
parent
227a7ae585
commit
c046b70858
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a5ca3df34e905442bca468439a1acbd5efcaca771813e1ef5dc8c1739cfdb90d
|
||||
size 1933949
|
3
cmake-2.4.7.tar.bz2
Normal file
3
cmake-2.4.7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0cdb921456e38973577219c8f3303c531fcb21c6e52a4e0abfb9d52cfa0b6258
|
||||
size 1941082
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 20 13:11:34 CEST 2007 - pcerny@suse.cz
|
||||
|
||||
- update to 2.4.7 - several bugfixes
|
||||
(KDevelop problem among others,
|
||||
see ChangeLog.manual for more details)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 27 15:43:07 CEST 2007 - dmueller@suse.de
|
||||
|
||||
|
39
cmake.spec
39
cmake.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package cmake (Version 2.4.6)
|
||||
# spec file for package cmake (Version 2.4.7)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -11,12 +11,10 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: cmake
|
||||
Version: 2.4.6
|
||||
Release: 12
|
||||
#
|
||||
License: Other License(s), see package
|
||||
Version: 2.4.7
|
||||
Release: 1
|
||||
License: Redistribution and use in source and binary forms, with or without
|
||||
Group: Development/Tools/Building
|
||||
#
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %suse_version > 1020
|
||||
BuildRequires: libexpat-devel
|
||||
@ -24,13 +22,11 @@ BuildRequires: libexpat-devel
|
||||
BuildRequires: expat
|
||||
%endif
|
||||
BuildRequires: curl-devel expat gcc-c++ libstdc++-devel ncurses-devel
|
||||
#
|
||||
URL: http://www.cmake.org/
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch: cmake-2.4.5_use_intree_xmlrpc.patch
|
||||
Patch1: use-shared-python-lib.diff
|
||||
Patch2: less-verbosity.diff
|
||||
#
|
||||
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
|
||||
|
||||
%description
|
||||
@ -44,22 +40,27 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q -n %name-%version
|
||||
%patch
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
export CFLAGS=$CXXFLAGS
|
||||
./configure --prefix=/usr --datadir=/share/%name --docdir=/share/doc/packages/%name --mandir=/share/man --system-libs
|
||||
export CFLAGS="$CXXFLAGS"
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--datadir=/share/%{name} \
|
||||
--docdir=/share/doc/packages/%{name} \
|
||||
--mandir=/share/man \
|
||||
--system-libs
|
||||
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
|
||||
make DESTDIR=%{buildroot} install
|
||||
find %{buildroot}/usr/share/cmake -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -74,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/man/man1/ctest.1.gz
|
||||
|
||||
%changelog
|
||||
* Fri Jul 20 2007 - pcerny@suse.cz
|
||||
- update to 2.4.7 - several bugfixes
|
||||
(KDevelop problem among others,
|
||||
see ChangeLog.manual for more details)
|
||||
* Fri Apr 27 2007 - dmueller@suse.de
|
||||
- expat -> libexpat-devel
|
||||
* Thu Mar 29 2007 - dmueller@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user