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