|
|
|
@ -28,6 +28,7 @@ BuildRequires: kf5-ki18n-devel >= %{majmin}
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%global _with_html --with-html
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(Any::URI::Escape)
|
|
|
|
|
%else
|
|
|
|
@ -72,7 +73,7 @@ popd
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name --with-man
|
|
|
|
|
%find_lang %{name} --all-name --with-man %{?_with_html}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
@ -87,6 +88,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
%{_kf5_mandir}/man1/*.1*
|
|
|
|
|
%{_kf5_mandir}/man7/*.7*
|
|
|
|
|
%{_kf5_datadir}/kf5/kdoctools/
|
|
|
|
|
%if !0%{?_with_html:1}
|
|
|
|
|
%{_kf5_docdir}/HTML/*/kdoctools5-common/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_kf5_includedir}/KDocTools/
|
|
|
|
|