Hrvoje Senjan 2015-04-10 10:39:38 +00:00 committed by Git OBS Bridge
parent 8757127da3
commit 0b37b609a6

View File

@ -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)