need to handle html docs after all
This commit is contained in:
parent
f62491210d
commit
fb0806ec7f
|
@ -78,6 +78,10 @@ Requires: %{name}-file-widgets%{?_isa} = %{version}-%{release}
|
|||
Requires: %{name}-ntlm%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-gui%{?_isa} = %{version}-%{release}
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%global _with_html --with-html
|
||||
%endif
|
||||
|
||||
%description
|
||||
KDE Frameworks 5 Tier 3 solution for filesystem abstraction
|
||||
|
||||
|
@ -172,7 +176,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}
|
||||
|
||||
|
||||
%files
|
||||
|
@ -237,6 +241,9 @@ fi
|
|||
|
||||
%files doc -f %{name}.lang
|
||||
%{_kf5_mandir}/man8/kcookiejar5.8*
|
||||
%if !0%{?_with_html}
|
||||
%{_kf5_kdocdir}/HTML/*/*
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets gui
|
||||
|
||||
|
|
Loading…
Reference in New Issue