From 32440bec926547a69ac76bcf64e83aba8e7690a7d6348c9d7aa0f717785510c2 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Mon, 5 May 2014 11:15:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kbookmarks?expand=0&rev=19 --- kbookmarks.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kbookmarks.spec b/kbookmarks.spec index 15312ff..e68c4a0 100644 --- a/kbookmarks.spec +++ b/kbookmarks.spec @@ -45,6 +45,7 @@ Framework which lets you access and manipulate bookmarks stored using XBEL forma %package -n %lname Summary: Lets you access and manipulate bookmarks stored using XBEL format Group: System/GUI/KDE +Recommends: %lname-lang = %{version} %description -n %lname Framework which lets you access and manipulate bookmarks stored using XBEL format @@ -64,6 +65,7 @@ Requires: pkgconfig(Qt5Xml) >= 5.2.0 Framework which lets you access and manipulate bookmarks stored using XBEL format. Development files +%lang_package -n %lname %prep %setup -q @@ -73,12 +75,16 @@ 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*