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*