diff --git a/kdelibs4support.spec b/kdelibs4support.spec index c8f5046..61b7f3a 100644 --- a/kdelibs4support.spec +++ b/kdelibs4support.spec @@ -194,6 +194,16 @@ KDEDIRS environment variable correctly. Development files. if [ -e po ]; then %find_lang %{name} +echo "%doc %lang(de) %{_kf5_mandir}/de" >>%{name}.lang +echo "%doc %lang(nl) %{_kf5_mandir}/nl" >>%{name}.lang +echo "%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR" >>%{name}.lang +echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}.lang +echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}.lang +echo "%doc %lang(de) %{_kf5_htmldir}/de" >>%{name}.lang +echo "%doc %lang(nl) %{_kf5_htmldir}/nl" >>%{name}.lang +echo "%doc %lang(pt_BR) %{_kf5_htmldir}/pt_BR" >>%{name}.lang +echo "%doc %lang(sv) %{_kf5_htmldir}/sv" >>%{name}.lang +echo "%doc %lang(uk) %{_kf5_htmldir}/uk" >>%{name}.lang else touch %{name}.lang fi @@ -203,17 +213,6 @@ fi %postun -n %lname -p /sbin/ldconfig %files lang -f %{name}.lang -%defattr(-,root,root) -%doc %lang(de) %{_kf5_mandir}/de -%doc %lang(nl) %{_kf5_mandir}/nl -%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR -%doc %lang(sv) %{_kf5_mandir}/sv -%doc %lang(uk) %{_kf5_mandir}/uk -%doc %lang(de) %{_kf5_htmldir}/de -%doc %lang(nl) %{_kf5_htmldir}/nl -%doc %lang(pt_BR) %{_kf5_htmldir}/pt_BR -%doc %lang(sv) %{_kf5_htmldir}/sv -%doc %lang(uk) %{_kf5_htmldir}/uk %files %defattr(-,root,root)