Accepting request 562445 from home:scarabeus_iv:branches:KDE:Frameworks5

- Use python3 sphinx to generate the documentation module

OBS-URL: https://build.opensuse.org/request/show/562445
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/extra-cmake-modules?expand=0&rev=152
This commit is contained in:
Fabian Vogt 2018-01-08 13:01:26 +00:00 committed by Git OBS Bridge
parent 37e575ff27
commit df4eb1f128
2 changed files with 18 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 8 08:41:54 UTC 2018 - tchvatal@suse.com
- Use python3 sphinx to generate the documentation module
-------------------------------------------------------------------
Sun Dec 17 09:43:47 CET 2017 - lbeltrame@kde.org

View File

@ -1,7 +1,7 @@
#
# spec file for package extra-cmake-modules
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,29 +21,33 @@
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%if 0%{?suse_version} >= 1330
%bcond_without doc
%else
%bcond_with doc
%endif
Name: extra-cmake-modules
Version: 5.41.0
Release: 0
Summary: CMake modules
License: BSD-3-Clause
Group: Development/Tools/Other
Url: https://projects.kde.org/projects/kdesupport/extra-cmake-modules
Version: 5.41.0
Release: 0
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE
Patch0: bundle-lang.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 3.0
BuildRequires: gcc-c++
BuildRequires: kf5-filesystem >= 5.6.0
%if %suse_version != 1315
BuildRequires: python-Sphinx
%endif
Requires: cmake >= 3.0
Requires: gcc-c++
Requires: kf5-filesystem
Recommends: %{name}-doc
Provides: kf5umbrella = 4.99.0
Obsoletes: kf5umbrella < 4.99.0
Recommends: %{name}-doc
%if %{with doc}
BuildRequires: python3-Sphinx
%endif
%description
Extra modules and scripts for CMake.
@ -74,12 +78,10 @@ This package provides documentation for extra-cmake-modules
%kf5_makeinstall -C build
%files
%defattr(-,root,root,-)
%{_datadir}/ECM/
%if %suse_version != 1315
%if %{with doc}
%files doc
%defattr(-,root,root,-)
%doc %{_datadir}/doc/ECM/
%doc %lang(en) %{_mandir}/man7/ecm*.7*
%endif