diff --git a/kdesignerplugin.spec b/kdesignerplugin.spec index d311e16..de14297 100644 --- a/kdesignerplugin.spec +++ b/kdesignerplugin.spec @@ -42,6 +42,7 @@ BuildRequires: kwindowsystem-devel >= %{_kf5_version} BuildRequires: kxmlgui-devel >= %{_kf5_version} BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Designer) >= 5.2.0 +Recommends: %{name}-lang = %{version} Summary: Integrating KDE frameworks widgets with Qt Designer License: LGPL-2.1+ Group: System/GUI/KDE @@ -68,6 +69,7 @@ the widgets provided by various KDE frameworks, as well as a utility (kgendesignerplugin) that can be used to generate other such plugins from ini-style description files. Development files. +%lang_package %prep %setup -q @@ -79,10 +81,14 @@ from ini-style description files. Development files. %kf5_makeinstall -C build %fdupes -s %{buildroot} + %find_lang %{name}5 --with-qt --without-mo + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%files lang -f %{name}5.lang + %files %defattr(-,root,root) %doc COPYING* README*