diff --git a/sonnet.spec b/sonnet.spec index a0c95f5..2a93b6c 100644 --- a/sonnet.spec +++ b/sonnet.spec @@ -47,6 +47,7 @@ HSpell, Enchant, ASpell and HUNSPELL. Summary: KDE spell checking library Group: System/GUI/KDE Obsoletes: libKF5SonnetCore4 +Recommends: libKF5SonnetCore%sonum-lang = %{version} %description -n libKF5SonnetCore%sonum Sonnet is a plugin-based spell checking library for Qt-based @@ -75,6 +76,7 @@ Sonnet is a plugin-based spell checking library for Qt-based applications. It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL. Development files. +%lang_package -n libKF5SonnetCore%sonum %prep %setup -q @@ -84,7 +86,9 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot}%{_kf5_sharedir} + + %find_lang %{name}5 --with-qt --without-mo %post -n libKF5SonnetCore%sonum -p /sbin/ldconfig @@ -94,6 +98,8 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files. %postun -n libKF5SonnetUi%sonum -p /sbin/ldconfig +%files -n libKF5SonnetCore%sonum-lang -f %{name}5.lang + %files -n libKF5SonnetCore%sonum %defattr(-,root,root) %doc COPYING*