diff --git a/kdbusaddons.spec b/kdbusaddons.spec index 065324c..a1872f0 100644 --- a/kdbusaddons.spec +++ b/kdbusaddons.spec @@ -40,6 +40,7 @@ create KDED modules. %package -n %lname Summary: Convenience classes for QtDBus Group: System/GUI/KDE +Recommends: %{name}-lang = %{version} %description -n %lname KDBusAddons provides convenience classes on top of QtDBus, as well as an API to @@ -56,6 +57,7 @@ Requires: pkgconfig(Qt5DBus) >= 5.2.0 KDBusAddons provides convenience classes on top of QtDBus, as well as an API to create KDED modules. Development files. +%lang_package -n %lname %prep %setup -q @@ -65,12 +67,16 @@ create KDED modules. Development files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot}%{_kf5_sharedir} + + %find_lang %{name}5 --with-qt --without-mo %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig +%files -n %lname-lang -f %{name}5.lang + %files -n %lname %defattr(-,root,root) %doc COPYING* README*