fix desktop install problem

f39
helloworld1 15 years ago
parent 5b8e06722d
commit 4644b99584

@ -55,14 +55,7 @@ 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

Loading…
Cancel
Save