diff --git a/goldendict.spec b/goldendict.spec index ce6a591..603126f 100644 --- a/goldendict.spec +++ b/goldendict.spec @@ -55,7 +55,14 @@ rm -rf %{buildroot}/%{_datadir}/app-install # Fix the icon name in desktop file sed -i 's/\/usr\/share\/pixmaps\/goldendict\.png/goldendict/g' %{buildroot}/%{_datadir}/applications/goldendict.desktop # Fix the categories in desktop file -desktop-file-install --add-category="Utility" --remove-category="Office" --remove-category="Education" --remove-category="Applications" --delete-original --dir=%{buildroot}/%{_datadir}/applications %{buildroot}/%{_datadir}/applications/goldendict.desktop +desktop-file-install \ +--add-category="Utility" \ +--remove-category="Office" \ +--remove-category="Education" \ +--remove-category="Applications" \ +--delete-original \ +--dir=%{buildroot}%{_datadir}/applications \ +%{buildroot}%{_datadir}/applications/goldendict.desktop install -d %{buildroot}/%{_datadir}/goldendict/locale install -pm 644 locale/*.qm %{buildroot}/%{_datadir}/goldendict/locale