Accepting request 353274 from home:MargueriteSu:branches:Emulators
OBS-URL: https://build.opensuse.org/request/show/353274 OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=336
This commit is contained in:
parent
0b2be66b2b
commit
56ce225ece
10
wine.changes
10
wine.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 12 16:08:11 UTC 2016 - i@marguerite.su
|
||||||
|
|
||||||
|
- make sure wine desktop files installed under correct categories
|
||||||
|
* currently they land in "unspecific category"
|
||||||
|
* "Emulator" can only be used after "System" or "Game" according
|
||||||
|
to freedesktop specification
|
||||||
|
* "Wine" itself is not a valid category
|
||||||
|
* "Documentation" doesn't fit wine related stuff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 9 10:22:46 UTC 2016 - meissner@suse.com
|
Sat Jan 9 10:22:46 UTC 2016 - meissner@suse.com
|
||||||
|
|
||||||
|
12
wine.spec
12
wine.spec
@ -166,7 +166,7 @@ make %{?_smp_mflags} all
|
|||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
# install desktop file
|
# install desktop file
|
||||||
install -d %{buildroot}%{_datadir}/applications/
|
install -d %{buildroot}%{_datadir}/applications/
|
||||||
%suse_update_desktop_file %{SOURCE4} Emulator
|
%suse_update_desktop_file %{SOURCE4} Utility
|
||||||
|
|
||||||
install -m 0644 %SOURCE4 %{buildroot}%{_datadir}/applications/
|
install -m 0644 %SOURCE4 %{buildroot}%{_datadir}/applications/
|
||||||
install -m 0644 %SOURCE6 %{buildroot}%{_datadir}/applications/
|
install -m 0644 %SOURCE6 %{buildroot}%{_datadir}/applications/
|
||||||
@ -194,6 +194,16 @@ cd ubuntuwine
|
|||||||
install -d %{buildroot}%{_datadir}/desktop-directories/
|
install -d %{buildroot}%{_datadir}/desktop-directories/
|
||||||
install -c -m 644 *.directory %{buildroot}%{_datadir}/desktop-directories/
|
install -c -m 644 *.directory %{buildroot}%{_datadir}/desktop-directories/
|
||||||
|
|
||||||
|
# Correct desktop files' categories
|
||||||
|
for i in browsedrive msi notepad regedit winehelp do
|
||||||
|
%suse_update_desktop_file wine-${i} -r Utility
|
||||||
|
done
|
||||||
|
%suse_update_desktop_file wine-notepad TextEditor
|
||||||
|
%suse_update_desktop_file wine-uninstaller -r Settings
|
||||||
|
%suse_update_desktop_file wine-cfg -r Settings
|
||||||
|
%suse_update_desktop_file wine-winefile -r System FileManager
|
||||||
|
%suse_update_desktop_file wine-winemine -r Game BoardGame
|
||||||
|
|
||||||
# Install icons
|
# Install icons
|
||||||
install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
||||||
install -c -m 644 *.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
install -c -m 644 *.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
||||||
|
Loading…
Reference in New Issue
Block a user