diff --git a/kinit.spec b/kinit.spec index 1962181..b14453f 100644 --- a/kinit.spec +++ b/kinit.spec @@ -80,6 +80,12 @@ booting UNIX. Development files. if [ -e po ]; then %find_lang %{name}5 +echo "%doc %lang(de) %{_kf5_mandir}/de" >>%{name}5.lang +echo "%doc %lang(it) %{_kf5_mandir}/it" >>%{name}5.lang +echo "%doc %lang(nl) %{_kf5_mandir}/nl" >>%{name}5.lang +echo "%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR" >>%{name}5.lang +echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}5.lang +echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang else touch %{name}5.lang fi @@ -89,13 +95,6 @@ fi %postun -p /sbin/ldconfig %files lang -f %{name}5.lang -%defattr(-,root,root) -%doc %lang(de) %{_kf5_mandir}/de -%doc %lang(it) %{_kf5_mandir}/it -%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 %files %defattr(-,root,root)