diff --git a/goldendict.spec b/goldendict.spec index 38f90f7..cfb3d6d 100644 --- a/goldendict.spec +++ b/goldendict.spec @@ -40,7 +40,9 @@ make %{?_smp_mflags} make install INSTALL_ROOT=%{buildroot} INSTALL="install -p" rm -rf %{buildroot}/%{_datadir}/app-install desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop -%find_lang %{name} --with-qt +install -d %{buildroot}/%{_datadir}/goldendict/locale +install -pm 644 locale/*.qm %{buildroot}/%{_datadir}/goldendict/locale +%find_lang %{name} %files -f %{name}.lang %doc LICENSE.txt