Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
41e38cde40
!69 [sync] PR-64: Remove Windows_TemporaryKey.pfx
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-02-04 01:19:10 +00:00
lyn1001
b70ad54221 Remove Windows_TemporaryKey.pfx
(cherry picked from commit 8d4208bfc079809dbd29c04e045a9f76d8aab0d0)
2024-02-02 17:12:18 +08:00
openeuler-ci-bot
52a20402be !26 Remove the -g option and the debug package
From: @liquor1
Reviewed-by: @licihua
Signed-off-by: @licihua
2021-03-25 16:36:16 +08:00
Liquor
275660140c Remove the -g option and the debug package 2021-03-24 15:06:35 +08:00
openeuler-ci-bot
f854a8b6c4 !21 Correct the invalid Source0
From: @wangchen2020
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-10 20:02:11 +08:00
wangchen2020
1a076e6f49 Correct the invalid Source0 2020-12-10 14:34:49 +08:00
openeuler-ci-bot
137071a0a7 !19 Make help package be required
From: @hht8
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-11-10 14:56:19 +08:00
hht8
6149571b25 Make help package be required 2020-11-10 14:32:11 +08:00
openeuler-ci-bot
add3e38f4f !16 cmake: use cmake-provided libuv library
Merge pull request !16 from hanxinke/openEuler-20.03-LTS
2020-08-05 21:11:17 +08:00
hanxinke
318130c470 cmake: use cmake-provided libuv library 2020-08-05 17:34:20 +08:00

View File

@ -1,3 +1,4 @@
%define debug_package %{nil}
%bcond_with bootstrap
%bcond_without ncurses
%bcond_without sphinx
@ -10,11 +11,11 @@
Name: cmake
Version: 3.16.5
Release: 1
Release: 6
Summary: Cross-platform make system
License: BSD and MIT and zlib
URL: http://www.cmake.org
Source0: http://www.cmake.org/files/v3.12/cmake-%{version}.tar.gz
Source0: http://www.cmake.org/files/v3.16/cmake-%{version}.tar.gz
Source1: cmake-init.el
Source2: macros.cmake
Source3: cmake.attr
@ -37,11 +38,12 @@ BuildRequires: python3-sphinx
%endif
%if %{without bootstrap}
BuildRequires: bzip2-devel curl-devel expat-devel jsoncpp-devel libarchive-devel
BuildRequires: libuv-devel rhash-devel xz-devel zlib-devel cmake-rpm-macros
BuildRequires: rhash-devel xz-devel zlib-devel cmake-rpm-macros
%endif
Requires: cmake-data = %{version}-%{release} cmake-rpm-macros = %{version}-%{release}
Requires: cmake-filesystem = %{version}-%{release}
Requires: cmake-help = %{version}-%{release}
Provides: cmake3 = %{version}-%{release} bundled(md5-deutsch) bundled(kwsys)
%description
@ -103,13 +105,14 @@ sed '1c #!%{__python3}' %{SOURCE4} > cmake.prov
sed '1c #!%{__python3}' %{SOURCE5} > cmake.req
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
export CFLAGS=`echo %{optflags} | sed 's/-g\b/-s/g'`
export CXXFLAGS=`echo %{optflags} | sed 's/-g\b/-s/g'`
export LDFLAGS="%{?__global_ldflags}"
mkdir build
pushd build
../bootstrap --prefix=%{_prefix} --datadir=/share/cmake \
--docdir=/share/doc/cmake --mandir=/share/man \
--no-system-libuv \
--%{?with_bootstrap:no-}system-libs \
--parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \
%if %{with sphinx}
@ -202,6 +205,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/bash-completion
%{_emacs_sitelispdir}/cmake
%{_emacs_sitestartdir}/cmake-init.el
%exclude %{_datadir}/cmake/Templates/Windows/Windows_TemporaryKey.pfx
%files filesystem -f data_dirs.mf -f lib_dirs.mf
@ -230,6 +234,22 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%exclude %{_pkgdocdir}/Copyright.txt
%changelog
* Fri Feb 2 2024 liyanan <liyanan61@h-partners.com> - 3.16.5-6
- Remove Windows_TemporaryKey.pfx
* Mon Mar 22 2021 lirui <lirui130@huawei.com> - 3.16.5-5
- Remove the -g option and the debug package
- add the -s option
* Thu Dec 10 2020 wangchen <wangchen137@huawei.com> - 3.16.5-4
- Correct invalid Source0
* Fri Nov 06 2020 huanghaitao <huanghaitao8@huawei.com> - 3.16.5-3
- Make help package required by cmake
* Wed Aug 5 2020 hanxinke <hanxinke@huawei.com> - 3.16.5-2
- use cmake-provided libuv library
* Tue Jul 28 2020 fangxiuning <fangxiuning@huawei.com> - 3.16.5-1
- Update version to 3.16.5