|
|
@ -5,47 +5,41 @@ |
|
|
|
# Set to bcond_with or use --without gui to disable qt4 gui build |
|
|
|
# Set to bcond_with or use --without gui to disable qt4 gui build |
|
|
|
%bcond_without gui |
|
|
|
%bcond_without gui |
|
|
|
|
|
|
|
|
|
|
|
# Setting the Python-version used by default |
|
|
|
|
|
|
|
# %if 0%{?rhel} && 0%{?rhel} < 8 |
|
|
|
|
|
|
|
%bcond_with python3 |
|
|
|
|
|
|
|
# %else |
|
|
|
|
|
|
|
# %bcond_without python3 |
|
|
|
|
|
|
|
# %endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Do we add appdata-files? |
|
|
|
# Do we add appdata-files? |
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7 |
|
|
|
|
|
|
|
%bcond_without appdata |
|
|
|
%bcond_without appdata |
|
|
|
%else |
|
|
|
|
|
|
|
%bcond_with appdata |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Sphinx-build cannot import CMakeLexer on EPEL <= 6 |
|
|
|
|
|
|
|
## %if 0%{?fedora} || 0%{?rhel} >= 7 |
|
|
|
|
|
|
|
%bcond_without sphinx |
|
|
|
%bcond_without sphinx |
|
|
|
## %else |
|
|
|
|
|
|
|
## %bcond_with sphinx |
|
|
|
%bcond_without bundled_libarchive |
|
|
|
## %endif |
|
|
|
%bcond_without bundled_jsoncpp |
|
|
|
|
|
|
|
|
|
|
|
# Run tests |
|
|
|
# Run tests |
|
|
|
%bcond_without test |
|
|
|
%bcond_without test |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Verbose test? |
|
|
|
|
|
|
|
%bcond_with debug |
|
|
|
|
|
|
|
|
|
|
|
# Place rpm-macros into proper location |
|
|
|
# Place rpm-macros into proper location |
|
|
|
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) |
|
|
|
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) |
|
|
|
|
|
|
|
|
|
|
|
# Setup _pkgdocdir if not defined already |
|
|
|
# Setup _pkgdocdir if not defined already |
|
|
|
%{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} |
|
|
|
%{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} > 7 |
|
|
|
|
|
|
|
%global python3_version 3 |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%global major_version 3 |
|
|
|
%global major_version 3 |
|
|
|
%global minor_version 12 |
|
|
|
%global minor_version 17 |
|
|
|
# Set to RC version if building RC, else %%{nil} |
|
|
|
# Set to RC version if building RC, else %%{nil} |
|
|
|
#global rcver rc1 |
|
|
|
%global rcver %{nil} |
|
|
|
|
|
|
|
|
|
|
|
# Uncomment if building for EPEL |
|
|
|
# Uncomment if building for EPEL |
|
|
|
%global name_suffix %{major_version} |
|
|
|
%global name_suffix %{major_version} |
|
|
|
%global orig_name cmake |
|
|
|
%global orig_name cmake |
|
|
|
|
|
|
|
|
|
|
|
Name: %{orig_name}%{?name_suffix} |
|
|
|
Name: %{orig_name}%{?name_suffix} |
|
|
|
Version: %{major_version}.%{minor_version}.2 |
|
|
|
Version: %{major_version}.%{minor_version}.5 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
Summary: Cross-platform make system |
|
|
|
Summary: Cross-platform make system |
|
|
|
|
|
|
|
|
|
|
@ -56,12 +50,13 @@ Summary: Cross-platform make system |
|
|
|
# exception granting redistribution under terms of your choice |
|
|
|
# exception granting redistribution under terms of your choice |
|
|
|
License: BSD and MIT and zlib |
|
|
|
License: BSD and MIT and zlib |
|
|
|
URL: http://www.cmake.org |
|
|
|
URL: http://www.cmake.org |
|
|
|
Source0: http://www.cmake.org/files/v%{major_version}.%{minor_version}/%{orig_name}-%{version}%{?rcver:-%rcver}.tar.gz |
|
|
|
Source0: https://github.com/Kitware/CMake/archive/v%{version}/CMake-%{version}%{?rcver:%rcver}.tar.gz |
|
|
|
Source1: %{name}-init.el |
|
|
|
Source1: %{name}-init.el |
|
|
|
Source2: macros.%{name} |
|
|
|
Source2: macros.%{name} |
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1202899 |
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1202899 |
|
|
|
Source3: %{name}.attr |
|
|
|
Source3: %{name}.attr |
|
|
|
Source4: %{name}.prov |
|
|
|
Source4: %{name}.prov |
|
|
|
|
|
|
|
Source5: CMake3.appdata.xml |
|
|
|
|
|
|
|
|
|
|
|
# Patch to fix RindRuby vendor settings |
|
|
|
# Patch to fix RindRuby vendor settings |
|
|
|
# http://public.kitware.com/Bug/view.php?id=12965 |
|
|
|
# http://public.kitware.com/Bug/view.php?id=12965 |
|
|
@ -73,7 +68,6 @@ Patch3: %{name}-fedora-flag_release.patch |
|
|
|
# Patch for renaming on EPEL |
|
|
|
# Patch for renaming on EPEL |
|
|
|
%if 0%{?name_suffix:1} |
|
|
|
%if 0%{?name_suffix:1} |
|
|
|
Patch1000: %{name}-rename.patch |
|
|
|
Patch1000: %{name}-rename.patch |
|
|
|
Patch1001: %{name}-libarchive3.patch |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-gfortran, gcc-c++ |
|
|
|
BuildRequires: gcc-gfortran, gcc-c++ |
|
|
@ -81,23 +75,26 @@ BuildRequires: ncurses-devel, libX11-devel |
|
|
|
BuildRequires: bzip2-devel |
|
|
|
BuildRequires: bzip2-devel |
|
|
|
BuildRequires: curl-devel |
|
|
|
BuildRequires: curl-devel |
|
|
|
BuildRequires: expat-devel |
|
|
|
BuildRequires: expat-devel |
|
|
|
|
|
|
|
# Needed jsoncpp >= 1.4.1 |
|
|
|
|
|
|
|
%if %{without bundled_jsoncpp} |
|
|
|
BuildRequires: jsoncpp-devel |
|
|
|
BuildRequires: jsoncpp-devel |
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7 |
|
|
|
%endif |
|
|
|
|
|
|
|
# Needed libarchive >= 3.3.3 |
|
|
|
|
|
|
|
%if %{without bundled_libarchive} |
|
|
|
BuildRequires: libarchive-devel |
|
|
|
BuildRequires: libarchive-devel |
|
|
|
#BuildRequires: /usr/bin/sphinx-build |
|
|
|
%endif |
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx |
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel |
|
|
|
BuildRequires: rhash-devel |
|
|
|
BuildRequires: rhash-devel |
|
|
|
|
|
|
|
%ifnarch s390x |
|
|
|
BuildRequires: libuv-devel |
|
|
|
BuildRequires: libuv-devel |
|
|
|
%else |
|
|
|
|
|
|
|
BuildRequires: libarchive3-devel |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
BuildRequires: libzstd-devel |
|
|
|
BuildRequires: xz-devel |
|
|
|
BuildRequires: xz-devel |
|
|
|
BuildRequires: zlib-devel |
|
|
|
BuildRequires: zlib-devel |
|
|
|
BuildRequires: emacs |
|
|
|
BuildRequires: emacs |
|
|
|
%if %{with python3} |
|
|
|
%if %{with appdata} |
|
|
|
%{!?python3_pkgversion: %global python3_pkgversion 3} |
|
|
|
BuildRequires: libappstream-glib |
|
|
|
BuildRequires: python%{python3_pkgversion}-devel |
|
|
|
|
|
|
|
%else |
|
|
|
|
|
|
|
BuildRequires: python2-devel |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%if %{without bootstrap} |
|
|
|
%if %{without bootstrap} |
|
|
|
#BuildRequires: xmlrpc-c-devel |
|
|
|
#BuildRequires: xmlrpc-c-devel |
|
|
@ -112,9 +109,10 @@ BuildRequires: pkgconfig(QtGui) |
|
|
|
BuildRequires: desktop-file-utils |
|
|
|
BuildRequires: desktop-file-utils |
|
|
|
%global qt_gui --qt-gui |
|
|
|
%global qt_gui --qt-gui |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
BuildRequires: openssl-devel |
|
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-data = %{version}-%{release} |
|
|
|
Requires: %{name}-data = %{version}-%{release} |
|
|
|
Requires: rpm |
|
|
|
Requires: rpm |
|
|
|
|
|
|
|
|
|
|
|
# Source/kwsys/MD5.c |
|
|
|
# Source/kwsys/MD5.c |
|
|
|
# see https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries |
|
|
|
# see https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries |
|
|
@ -123,10 +121,17 @@ Provides: bundled(md5-deutsch) |
|
|
|
# https://fedorahosted.org/fpc/ticket/555 |
|
|
|
# https://fedorahosted.org/fpc/ticket/555 |
|
|
|
Provides: bundled(kwsys) |
|
|
|
Provides: bundled(kwsys) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with bundled_libarchive} |
|
|
|
|
|
|
|
Provides: bundled(libarchive) = 0:3.3.3 |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%if %{with bundled_jsoncpp} |
|
|
|
|
|
|
|
Provides: bundled(json-cpp) = 0:1.8.2 |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
# cannot do this in epel, ends up replacing os-provided cmake -- Rex |
|
|
|
# cannot do this in epel, ends up replacing os-provided cmake -- Rex |
|
|
|
%if 0%{?fedora} |
|
|
|
%if 0%{?fedora} |
|
|
|
%{?name_suffix:Provides: %{orig_name} = %{version}} |
|
|
|
%{?name_suffix:Provides: %{orig_name} = %{version}} |
|
|
|
%endif # 0#{?fedora} |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%description |
|
|
|
%description |
|
|
|
CMake is used to control the software compilation process using simple |
|
|
|
CMake is used to control the software compilation process using simple |
|
|
@ -140,9 +145,7 @@ generation, code generation, and template instantiation. |
|
|
|
%package data |
|
|
|
%package data |
|
|
|
Summary: Common data-files for %{name} |
|
|
|
Summary: Common data-files for %{name} |
|
|
|
Requires: %{name} = %{version}-%{release} |
|
|
|
Requires: %{name} = %{version}-%{release} |
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7 |
|
|
|
Requires: emacs-filesystem >= %{_emacs_version} |
|
|
|
Requires: emacs-filesystem >= %{_emacs_version} |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch |
|
|
|
BuildArch: noarch |
|
|
|
|
|
|
|
|
|
|
@ -170,50 +173,66 @@ The %{name}-gui package contains the Qt based GUI for %{name}. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup -qn %{orig_name}-%{version}%{?rcver:-%rcver} |
|
|
|
%autosetup -N -n CMake-%{version}%{?rcver:%rcver} |
|
|
|
|
|
|
|
|
|
|
|
# Apply renaming on EPEL before all other patches |
|
|
|
# Apply renaming on EPEL before all other patches |
|
|
|
%if 0%{?name_suffix:1} |
|
|
|
%if 0%{?name_suffix:1} |
|
|
|
%patch1000 -p1 |
|
|
|
%patch1000 -p1 -b .rename |
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 6 |
|
|
|
|
|
|
|
%patch1001 -p1 |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
# We cannot use backups with patches to Modules as they end up being installed |
|
|
|
# We cannot use backups with patches to Modules as they end up being installed |
|
|
|
%patch2 -p1 |
|
|
|
%patch2 -p1 -b .findruby |
|
|
|
%patch3 -p1 |
|
|
|
%patch3 -p1 -b .fedora-flag |
|
|
|
|
|
|
|
|
|
|
|
%if %{with python3} |
|
|
|
echo 'Start cleaning...' |
|
|
|
echo '#!%{__python3}' > %{name}.prov |
|
|
|
for i in `find . -type f \( -name "*.orig" \)`; do |
|
|
|
%else |
|
|
|
rm -f $i |
|
|
|
echo '#!%{__python2}' > %{name}.prov |
|
|
|
done |
|
|
|
%endif |
|
|
|
echo 'Cleaning finished.' |
|
|
|
tail -n +2 %{SOURCE4} >> %{name}.prov |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tail -n +2 %{SOURCE4} >> %{name}.prov |
|
|
|
|
|
|
|
sed -i -e '1i#!%{__python3}' %{name}.prov |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
|
|
|
|
export CC=gcc |
|
|
|
|
|
|
|
export CXX=g++ |
|
|
|
export CFLAGS="%{optflags}" |
|
|
|
export CFLAGS="%{optflags}" |
|
|
|
export CXXFLAGS="%{optflags}" |
|
|
|
export CXXFLAGS="%{optflags} -std=gnu++11" |
|
|
|
export LDFLAGS="%{?__global_ldflags}" |
|
|
|
export LDFLAGS="%{__global_ldflags}" |
|
|
|
mkdir build |
|
|
|
mkdir build && pushd build |
|
|
|
pushd build |
|
|
|
|
|
|
|
../bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \ |
|
|
|
../bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \ |
|
|
|
--docdir=/share/doc/%{name} --mandir=/share/man \ |
|
|
|
--docdir=/share/doc/%{name} --mandir=/share/man \ |
|
|
|
--%{?with_bootstrap:no-}system-libs \ |
|
|
|
--%{?with_bootstrap:no-}system-libs \ |
|
|
|
--parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \ |
|
|
|
--parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \ |
|
|
|
%{?with_sphinx:--sphinx-man --sphinx-html} \ |
|
|
|
%if %{with sphinx} |
|
|
|
%{?qt_gui}; |
|
|
|
--sphinx-build=%{_bindir}/sphinx-build-%{python3_version} \ |
|
|
|
|
|
|
|
--sphinx-man --sphinx-html \ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
--system-zstd \ |
|
|
|
|
|
|
|
%ifarch s390x |
|
|
|
|
|
|
|
--no-system-libuv \ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%if %{with bundled_jsoncpp} |
|
|
|
|
|
|
|
--no-system-jsoncpp \ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%if %{with bundled_libarchive} |
|
|
|
|
|
|
|
--no-system-libarchive \ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%{?qt_gui}; |
|
|
|
%make_build VERBOSE=1 |
|
|
|
%make_build VERBOSE=1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
%make_install -C build |
|
|
|
%make_install -C build |
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot}%{_datadir}/%{name}/Modules -type f | xargs chmod -x |
|
|
|
find %{buildroot}%{_datadir}/%{name}/Modules -type f | xargs chmod -x |
|
|
|
[ -n "$(find %{buildroot}%{_datadir}/%{name}/Modules -name \*.orig)" ] && |
|
|
|
[ -n "$(find %{buildroot}%{_datadir}/%{name}/Modules -name \*.orig)" ] && |
|
|
|
echo "Found .orig files in %{_datadir}/%{name}/Modules, rebase patches" && |
|
|
|
echo "Found .orig files in %{_datadir}/%{name}/Modules, rebase patches" && |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Rename cpack-generators manual |
|
|
|
|
|
|
|
mv %{buildroot}%{_mandir}/man7/cpack-generators.7 %{buildroot}%{_mandir}/man7/cpack%{?name_suffix}-generators.7 |
|
|
|
|
|
|
|
|
|
|
|
# Install major_version name links |
|
|
|
# Install major_version name links |
|
|
|
%{!?name_suffix:for f in ccmake cmake cpack ctest; do ln -s $f %{buildroot}%{_bindir}/${f}%{major_version}; done} |
|
|
|
%{!?name_suffix:for f in ccmake cmake cpack ctest; do ln -s $f %{buildroot}%{_bindir}/${f}%{major_version}; done} |
|
|
|
# Install bash completion symlinks |
|
|
|
# Install bash completion symlinks |
|
|
@ -266,63 +285,34 @@ desktop-file-install --delete-original \ |
|
|
|
%{buildroot}/%{_datadir}/applications/CMake%{?name_suffix}.desktop |
|
|
|
%{buildroot}/%{_datadir}/applications/CMake%{?name_suffix}.desktop |
|
|
|
|
|
|
|
|
|
|
|
%if %{with appdata} |
|
|
|
%if %{with appdata} |
|
|
|
# Register as an application to be visible in the software center |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_metainfodir} |
|
|
|
mkdir -p %{buildroot}%{_metainfodir} |
|
|
|
cat > %{buildroot}%{_metainfodir}/CMake3.appdata.xml <<EOF |
|
|
|
install -pm 644 %{SOURCE5} %{buildroot}%{_metainfodir}/ |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
|
|
|
|
<!-- Copyright 2014 Ryan Lerch <rlerch@redhat.com> --> |
|
|
|
|
|
|
|
<!-- |
|
|
|
|
|
|
|
EmailAddress: kitware@kitware.com |
|
|
|
|
|
|
|
SentUpstream: 2014-09-17 |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
<application> |
|
|
|
|
|
|
|
<id type="desktop">CMake3.desktop</id> |
|
|
|
|
|
|
|
<metadata_license>CC0-1.0</metadata_license> |
|
|
|
|
|
|
|
<name>CMake GUI</name> |
|
|
|
|
|
|
|
<summary>Create new CMake projects</summary> |
|
|
|
|
|
|
|
<description> |
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
|
|
CMake is an open source, cross platform build system that can build, test, |
|
|
|
|
|
|
|
and package software. CMake GUI is a graphical user interface that can |
|
|
|
|
|
|
|
create and edit CMake projects. |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</description> |
|
|
|
|
|
|
|
<url type="homepage">http://www.cmake.org</url> |
|
|
|
|
|
|
|
<screenshots> |
|
|
|
|
|
|
|
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/CMake/a.png</screenshot> |
|
|
|
|
|
|
|
</screenshots> |
|
|
|
|
|
|
|
<!-- FIXME: change this to an upstream email address for spec updates |
|
|
|
|
|
|
|
<updatecontact>cmake3-owner_at_fedoraproject.org</updatecontact> |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
</application> |
|
|
|
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml |
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%if %{with test} |
|
|
|
%if %{with test} |
|
|
|
%check |
|
|
|
%check |
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 6 |
|
|
|
|
|
|
|
mv -f Modules/FindLibArchive.cmake Modules/FindLibArchive.disabled |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
pushd build |
|
|
|
pushd build |
|
|
|
#CMake.FileDownload, CTestTestUpload, and curl require internet access |
|
|
|
# CTestTestUpload require internet access. |
|
|
|
# RunCMake.CPack_RPM is broken if disttag contains "+", bug #1499151 |
|
|
|
# Disable RunCMake.CTestCommandLine bacause of the option "show-only_json-v1" failure, probably caused by not recent 'json-cpp'. |
|
|
|
# |
|
|
|
# CPackComponentsForAll-RPM-IgnoreGroup failing wih rpm 4.15 - https://gitlab.kitware.com/cmake/cmake/issues/19983 |
|
|
|
# CMakeWizardTest failure: Failed Required regular expression not found.Regex=[The "cmake -i" wizard mode is no longer supported. |
|
|
|
NO_TEST="CTestTestUpload|RunCMake.CTestCommandLine|Server|RunCMake.CPack_RPM|CPackComponentsForAll-RPM-IgnoreGroup" |
|
|
|
NO_TEST="CMake.FileDownload|CTestTestUpload|curl|RunCMake.CPack_RPM|Server|CMakeWizardTest" |
|
|
|
# kwsys.testProcess-{4,5} are flaky on s390x. |
|
|
|
# RunCMake.File_Generate fails on S390X |
|
|
|
|
|
|
|
%ifarch s390x |
|
|
|
%ifarch s390x |
|
|
|
NO_TEST="$NO_TEST|RunCMake.File_Generate" |
|
|
|
NO_TEST="$NO_TEST|kwsys.testProcess-4|kwsys.testProcess-5" |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
export NO_TEST |
|
|
|
# RunCMake.PrecompileHeaders test uses precompiled file presumably compiled with different compiler |
|
|
|
bin/ctest%{?name_suffix} -V -E "$NO_TEST" %{?_smp_mflags} |
|
|
|
# that one of RHEL8 (GCC-8.3.1). See https://bugzilla.redhat.com/show_bug.cgi?id=1721553#c4 |
|
|
|
popd |
|
|
|
%if 0%{?rhel} && 0%{?rhel} > 7 |
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 6 |
|
|
|
NO_TEST="$NO_TEST|RunCMake.PrecompileHeaders" |
|
|
|
mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake |
|
|
|
%endif |
|
|
|
|
|
|
|
%if %{with debug} |
|
|
|
|
|
|
|
bin/ctest%{?name_suffix} -VV --debug %{?_smp_mflags} -E "$NO_TEST" |
|
|
|
|
|
|
|
%else |
|
|
|
|
|
|
|
bin/ctest%{?name_suffix} %{?_smp_mflags} --output-on-failure -E "$NO_TEST" |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
popd |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%if %{with gui} |
|
|
|
%if %{with gui} |
|
|
@ -369,13 +359,8 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : |
|
|
|
%{_datadir}/aclocal/%{name}.m4 |
|
|
|
%{_datadir}/aclocal/%{name}.m4 |
|
|
|
%{_datadir}/bash-completion/ |
|
|
|
%{_datadir}/bash-completion/ |
|
|
|
%{_datadir}/%{name}/ |
|
|
|
%{_datadir}/%{name}/ |
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7 |
|
|
|
|
|
|
|
%{_emacs_sitelispdir}/%{name} |
|
|
|
%{_emacs_sitelispdir}/%{name} |
|
|
|
%{_emacs_sitestartdir}/%{name}-init.el |
|
|
|
%{_emacs_sitestartdir}/%{name}-init.el |
|
|
|
%else |
|
|
|
|
|
|
|
%{_emacs_sitelispdir} |
|
|
|
|
|
|
|
%{_emacs_sitestartdir} |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%{rpm_macros_dir}/macros.%{name} |
|
|
|
%{rpm_macros_dir}/macros.%{name} |
|
|
|
%if 0%{?_rpmconfigdir:1} |
|
|
|
%if 0%{?_rpmconfigdir:1} |
|
|
|
%{_rpmconfigdir}/fileattrs/%{name}.attr |
|
|
|
%{_rpmconfigdir}/fileattrs/%{name}.attr |
|
|
@ -404,6 +389,62 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Wed Dec 09 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.17.5-1 |
|
|
|
|
|
|
|
- Release 3.17.5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 19 2020 Neal Gompa <ngompa13@gmail.com> - 3.17.3-3 |
|
|
|
|
|
|
|
- Backport support for out-of-source builds controlled by __cmake3_in_source_build macro |
|
|
|
|
|
|
|
- Backport cmake3_build and cmake3_install macros |
|
|
|
|
|
|
|
- Backport ctest3 macro |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 11 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.17.3-2 |
|
|
|
|
|
|
|
- Change command to add Python shebang of the cmake3.prov file (epel bz#1845614) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 01 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.17.3-1 |
|
|
|
|
|
|
|
- Release 3.17.3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 29 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.17.2-1 |
|
|
|
|
|
|
|
- Release 3.17.2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 27 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.17.1-2 |
|
|
|
|
|
|
|
- Fix macros for bundled libraries |
|
|
|
|
|
|
|
- Add Provides for bundled libraries |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Apr 26 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.17.1-1 |
|
|
|
|
|
|
|
- Release 3.17.1 |
|
|
|
|
|
|
|
- Drop EPEL6 support |
|
|
|
|
|
|
|
- Add openssl BR |
|
|
|
|
|
|
|
- Fix rhbz#1811358 |
|
|
|
|
|
|
|
- Use system zstd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 08 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.14.7-1 |
|
|
|
|
|
|
|
- Bugfix release 3.14.7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 01 2019 Antonio Trande <sagitter@fedoraproject.org> - 3.14.6-2 |
|
|
|
|
|
|
|
- Fix rename patches |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 27 2019 Antonio Trande <sagitter@fedoraproject.org> - 3.14.6-1 |
|
|
|
|
|
|
|
- Update to cmake-3.14.6 (rhbz#1746146, rhbz#1746104) |
|
|
|
|
|
|
|
- Do not use system jsoncpp |
|
|
|
|
|
|
|
- Split off appdata file as external source file |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat May 25 2019 Antonio Trande <sagitter@fedoraproject.org> - 3.13.5-1 |
|
|
|
|
|
|
|
- Update to cmake-3.13.5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 07 2019 Troy Dawson <tdawson@redhat.com> - 3.13.4-2 |
|
|
|
|
|
|
|
- Rebuilt to change main python from 3.4 to 3.6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Antonio Trande <sagitter@fedoraproject.org> - 3.13.4-1 |
|
|
|
|
|
|
|
- Update to cmake-3.13.4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 19 2019 Antonio Trande <sagitter@fedoraproject.org> - 3.13.3-1 |
|
|
|
|
|
|
|
- Update to cmake-3.13.3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Dec 29 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.13.1-1 |
|
|
|
|
|
|
|
- Update to cmake-3.13.1 |
|
|
|
|
|
|
|
- Use Python3 on epel7 |
|
|
|
|
|
|
|
- Perform all tests |
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 04 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.12.2-1 |
|
|
|
* Thu Oct 04 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.12.2-1 |
|
|
|
- Update to cmake-3.12.2 |
|
|
|
- Update to cmake-3.12.2 |
|
|
|
|
|
|
|
|
|
|
|