Hrvoje Senjan 2014-11-03 18:01:28 +00:00 committed by Git OBS Bridge
parent 7c5a0cfe25
commit 164b629164

View File

@ -16,6 +16,10 @@
#
%if !0%{?suse_version} == 1315
%bcond_with docs
%endif
Name: extra-cmake-modules
Summary: CMake modules
License: BSD-3-Clause
@ -28,7 +32,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 2.8.12
BuildRequires: gcc-c++
BuildRequires: kf5-filesystem >= 4.100.0
%if !0%{sles_version}
%if %{with docs}
BuildRequires: python-Sphinx
%endif
Requires: cmake >= 2.8.12
@ -70,7 +74,7 @@ This package provides documentation for extra-cmake-modules
%{_datadir}/ECM/
%{_mandir}/man7/ecm*.7*
%if !0%{sles_version}
%if %{with docs}
%files doc
%defattr(-,root,root,-)
%doc %{_datadir}/doc/ECM/