From 22842bc1ddb23a36e36542621355e49d88bf3f93 Mon Sep 17 00:00:00 2001 From: helloworld1 Date: Tue, 11 May 2010 18:10:19 +0000 Subject: [PATCH] fixed? --- goldendict.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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