SHA256
1
0
forked from pool/wine

- winetricks moved into its own package.

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=564
This commit is contained in:
Marcus Meissner 2018-12-04 16:50:50 +00:00 committed by Git OBS Bridge
parent 684d7ebd37
commit 550c4ac043
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 16:50:35 UTC 2018 - meissner@suse.com
- winetricks moved into its own package.
-------------------------------------------------------------------
Thu Nov 29 13:55:38 UTC 2018 - meissner@suse.com

View File

@ -117,8 +117,6 @@ Url: http://www.winehq.org/
Source0: https://dl.winehq.org/wine/source/3.x/%{projectname}-%{realver}.tar.xz
Source41: wine.keyring
Source42: https://dl.winehq.org/wine/source/3.x/%{projectname}-%{realver}.tar.xz.sign
Source1: https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
Source11: https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.1
Source2: http://kegel.com/wine/wisotool
Source3: README.SUSE
Source4: wine.desktop
@ -134,14 +132,12 @@ Recommends: wine-mono
Recommends: dosbox
Recommends: alsa-plugins
Recommends: alsa-plugins-pulse
Recommends: winetricks
Requires: samba-winbind
Conflicts: wine-gecko < 1.3
%ifarch x86_64
Requires: %{name}-32bit = %{version}
%endif
# some recommends for winetricks:
Recommends: cabextract
Recommends: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64 ppc %arm aarch64
%if %{staging}
@ -305,14 +301,12 @@ install -d %{buildroot}%{_datadir}/applications/
install -m 0644 %SOURCE4 %{buildroot}%{_datadir}/applications/
install -m 0644 %SOURCE6 %{buildroot}%{_datadir}/applications/
install -m 0755 %SOURCE1 %{buildroot}%{_bindir}/
install -m 0755 %SOURCE2 %{buildroot}%{_bindir}/
mv %{buildroot}/%{_mandir}/de.UTF-8 %{buildroot}/%{_mandir}/de
mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr
%ifnarch x86_64 aarch64
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
%endif
install -pm0644 -c %{SOURCE11} %{buildroot}/%{_mandir}/man1/
tar -xjf %{SOURCE5}
# Copied from Ubuntu Wine out of debian.diff
@ -386,7 +380,6 @@ chmod 755 %winedir/my-find-requires.sh
%{_bindir}/winemine
%{_bindir}/winepath
%{_bindir}/wineserver
%{_bindir}/winetricks
%{_bindir}/wisotool
%{_datadir}/wine
%{_datadir}/applications/wine.desktop
@ -412,7 +405,6 @@ chmod 755 %winedir/my-find-requires.sh
%doc %{_mandir}/man1/winecpp.1.*
%doc %{_mandir}/man1/winefile.1.*
%doc %{_mandir}/man1/winemine.1.*
%doc %{_mandir}/man1/winetricks.1.*
%doc %{_mandir}/man1/winepath.1.*
%dir %{_sysconfdir}/xdg/menus/
%dir %{_sysconfdir}/xdg/menus/applications-merged