From b4da05ed3dc32030fdbf8a6c5c732805d13f4ea70267949a7814b67231ba6f0a Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Mon, 5 May 2014 11:02:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=18 --- sonnet.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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*