SHA256
3
0
forked from pool/cmake

Accepting request 726613 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/726613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=164
This commit is contained in:
Dominique Leuenberger 2019-08-30 12:39:50 +00:00 committed by Git OBS Bridge
commit 943b8d0087
2 changed files with 22 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 27 06:35:24 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Trim metadata redundancies from description.
- Avoid use of em dashes in summaries.
-------------------------------------------------------------------
Tue Aug 13 12:43:58 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -18,10 +18,19 @@
%define flavor @BUILD_FLAVOR@%{nil}
%define shortversion 3.15
Version: 3.15.1
Release: 0
%if "%flavor" == "gui"
Name: cmake-%{flavor}
Summary: CMake graphical user interface
License: BSD-3-Clause
Group: Development/Tools/Building
%else
Name: cmake
Summary: Cross-platform make system
License: BSD-3-Clause
Group: Development/Tools/Building
%endif
Version: 3.15.1
Release: 0
URL: https://www.cmake.org/
Source0: https://www.cmake.org/files/v%{shortversion}/cmake-%{version}.tar.gz
Source1: cmake.macros
@ -54,33 +63,29 @@ BuildRequires: zlib-devel
BuildRequires: pkgconfig(liblzma)
Requires: make
%if "%flavor" == "gui"
Name: cmake-%{flavor}
Summary: CMake graphical user interface
BuildRequires: python-sphinx
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Widgets)
Requires: cmake
Recommends: cmake-man
%else
Name: cmake
Summary: Cross-platform, open-source make system
# bnc#953842 - A python file is shipped so require python base so it can be run.
Requires: python3-base
%endif
%if "%flavor" == "gui"
%description
This is a Graphical User Interface for CMake, a cross-platform,
open-source build system.
This is a Graphical User Interface for CMake, a cross-platform
build system.
%package -n cmake-man
Summary: Cross-platform, open-source make system - manual pages
Summary: Manual pages for cmake, a cross-platform make system
Group: Development/Tools/Building
%description -n cmake-man
Manual pages for cmake, Cross-platform, open-source make system
Manual pages for cmake, a cross-platform make system.
%else
%description
CMake is a cross-platform, open-source build system
CMake is a cross-platform build system.
%endif
%prep
@ -151,7 +156,6 @@ rm %{buildroot}%{_docdir}/%{name}/Copyright.txt
%fdupes %{buildroot}%{_datadir}/cmake
%check
# Excluded tests:
# TestUpload: uses internet connection