diff --git a/wine.spec b/wine.spec index 8b74702..4733d53 100644 --- a/wine.spec +++ b/wine.spec @@ -348,18 +348,18 @@ Type=Directory EOF mkdir -p %{buildroot}%{_datadir}/applications/ -for i in winecfg:Configurator:Настройка\ Wine \ - notepad:Notepad:Wine\ -\ блокнот \ - winefile:File\ Manager:Wine\ -\ файловый\ менеджер\ - regedit:Registry\ Editor:Wine\ -\ редактор\ реестра\ - winemine:Minesweeper:Wine\ -\ сапер\ - wineboot:Reboot:Wine\ -\ перезагрузка \ - "wineconsole cmd":Command\ Line:Wine\ -\ командная\ строка\ - "wine uninstaller:Wine Software Uninstaller:Wine - удаление программ"; +for i in winecfg:Configurator:Настройка\ Wine\ + notepad:Notepad:Блокнот\ Wine\ + winefile:File\ Manager:Файловый\ менеджер\ Wine\ + regedit:Registry\ Editor:Редактор\ реестра\ Wine\ + winemine:Minesweeper:Сапер\ Wine\ + wineboot:Reboot:Перезагрузка\ Wine \ + "wineconsole cmd":Command\ Line:Командная\ строка\ Wine\ + "wine uninstaller:Wine Software Uninstaller:Удаление программ Wine"; do cat > %{buildroot}%{_datadir}/applications/rosa-%{name}-`echo $i|cut -d: -f1`.desktop << EOF [Desktop Entry] Name=`echo $i|cut -d: -f2` -Name[ru]=`echo $i|cut -d: -f3` +Name[ru]=`echo $i|cut -d: -f3|sed s/ Wine//` Comment=`echo $i|cut -d: -f2` Comment[ru]=`echo $i|cut -d: -f3` Exec=`echo $i|cut -d: -f1`