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