Add winetriks. Suggest webcore-fonst and requires cabextract

This commit is contained in:
akdengi 2014-01-13 10:50:04 +04:00
parent 20c8f1ceec
commit 9ef5aae82c

View file

@ -26,7 +26,7 @@ Release: 0.%beta.1
Source0: http://mirrors.ibiblio.org/wine/source/%(echo %version |cut -d. -f1-2)/%{name}-%{version}-%beta.tar.bz2
Source1: http://mirrors.ibiblio.org/wine/source/%(echo %version |cut -d. -f1-2)/%{name}-%{version}-%beta.tar.bz2.sign
%else
Release: 1
Release: 2
Source0: http://mirrors.ibiblio.org/wine/source/%(echo %version |cut -d. -f1-2)/%{name}-%{version}.tar.bz2
Source1: http://mirrors.ibiblio.org/wine/source/%(echo %version |cut -d. -f1-2)/%{name}-%{version}.tar.bz2.sign
%endif
@ -39,6 +39,9 @@ URL: http://www.winehq.com/
# RH stuff
Source2: wine.init
Source10: wine.rpmlintrc
Source11: http://kegel.com/wine/winetricks
Source12: http://kegel.com/wine/wisotool
Patch0: wine-1.0-rc3-fix-conflicts-with-openssl.patch
# (Anssi 05/2008) Adds:
# a: => /media/floppy (/mnt/floppy on 2007.1 and older)
@ -164,6 +167,13 @@ Requires(post): desktop-common-data
Requires(postun): desktop-common-data
Requires(preun): rpm-helper
Requires(post): rpm-helper
# for winetricks:
Requires: cabextract
Requires: unzip
Suggest: webcore-fonts
Conflicts: %{wine} < 1:0.9-3mdk
%ifarch %{ix86}
Conflicts: wine64
@ -278,9 +288,11 @@ autoreconf
%make
%install
rm -rf %{buildroot}
%makeinstall_std LDCONFIG=/bin/true
install -m 0755 %{SOURCE11} %{buildroot}%{_bindir}/
install -m 0755 %{SOURCE12} %{buildroot}%{_bindir}/
# Danny: dirty:
# install -m755 tools/fnt2bdf -D %{buildroot}%{_bindir}/fnt2bdf
@ -427,6 +439,8 @@ EOF
%{_bindir}/winepath
%{_bindir}/regsvr32
%{_bindir}/winefile
%{_bindir}/winetricks
%{_bindir}/wisotool
%{_mandir}/man1/wine.1*
%lang(de) %{_mandir}/de.UTF-8/man1/wine.1*
%lang(de) %{_mandir}/de.UTF-8/man1/winemaker.1*