-doc subpkg

epel9
Rex Dieter 5 years ago
parent 0bf4e32014
commit b2a533630f

@ -1,9 +1,11 @@
%undefine __cmake_in_source_build
%global framework attica
%global docs 1
Name: kf5-attica
Version: 5.72.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks Tier 1 Addon with Open Collaboration Services API
License: LGPLv2+
@ -35,13 +37,27 @@ Requires: qt5-qtbase-devel
%description devel
%{summary}.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
BuildRequires: doxygen
BuildRequires: qt5-qdoc
BuildRequires: qt5-qhelpgenerator
BuildRequires: qt5-qtbase-doc
Requires: kf5-filesystem
BuildArch: noarch
%description doc
%{summary}.
%endif
%prep
%autosetup -n %{framework}-%{version}
%build
%cmake_kf5
%cmake_kf5 \
%{?docs:-DBUILD_QCH:BOOL=ON} \
%cmake_build
@ -66,8 +82,16 @@ Requires: qt5-qtbase-devel
%{_kf5_archdatadir}/mkspecs/modules/qt_Attica.pri
%{_kf5_libdir}/pkgconfig/libKF5Attica.pc
%if 0%{?docs}
%{_qt5_docdir}/KF5Attica.qch
%{_qt5_docdir}/KF5Attica.tags
%endif
%changelog
* Tue Jul 21 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.72.0-2
- -doc subpkg
* Tue Jul 07 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.72.0-1
- 5.72.0

Loading…
Cancel
Save