SHA256
1
0
forked from pool/wine

Accepting request 108549 from Emulators

updated t o1.4

OBS-URL: https://build.opensuse.org/request/show/108549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wine?expand=0&rev=110
This commit is contained in:
Stephan Kulow 2012-03-09 20:29:25 +00:00 committed by Git OBS Bridge
commit 8810e39c4e
4 changed files with 32 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3105c4f7e0a3c326c3dc82257b6af96dd5db6cc2afbe4b8a936563d2da04d1ec
size 19947129

3
wine-1.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99a437bb8bd350bb1499d59183635e58217e73d631379c43cfd0d6020428ee65
size 20035856

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Mar 7 17:35:05 CET 2012 - meissner@suse.de
- Wine 1.4 final release
This release represents 20 months of development effort and over
16,000 individual changes. The main highlights are the new DIB
graphics engine, a redesigned audio stack, and full support for
bidirectional text and character shaping.
-------------------------------------------------------------------
Fri Feb 17 22:58:23 CET 2012 - meissner@suse.de

View File

@ -57,15 +57,13 @@ BuildRequires: sane-backends
%if 0%{?suse_version} > 1130
BuildRequires: gstreamer-0_10-plugins-base-devel
%endif
Version: 1.3.38_1.4rc4
Version: 1.4
Release: 0
Summary: An MS Windows Emulator
License: LGPL-2.1+
Group: System/Emulators/PC
Url: http://www.winehq.com
# vanilla Wine release
%define winever 1.4-rc4
Source0: wine-%{winever}.tar.bz2
Source0: %name-%version.tar.bz2
Source1: http://kegel.com/wine/winetricks
Source2: http://kegel.com/wine/wisotool
Source3: README.SuSE
@ -84,19 +82,8 @@ Conflicts: wine-gecko < 1.3
Requires: wine-32bit = %version
%endif
# for winetricks:
Requires: unzip cabextract
%ifarch x86_64
Requires: libX11.so.6()(64bit) libXext.so.6()(64bit) libXcursor.so.1()(64bit) libXi.so.6()(64bit) libXxf86vm.so.1()(64bit) libXrender.so.1()(64bit) libXrandr.so.2()(64bit) libXinerama.so.1()(64bit) libXcomposite.so.1()(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libxslt.so.1()(64bit) libncurses.so.6()(64bit) libfreetype.so.6()(64bit) libfontconfig.so.1()(64bit) libcups.so.2()(64bit)
%else
%ifarch %ix86
Requires: libXcursor.so.1 libXi.so.6 libXxf86vm.so.1 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libXcomposite.so.1 libxslt.so.1 libncurses.so.6 libfreetype.so.6 libcrypto.so.1.0.0 libssl.so.1.0.0 libfontconfig.so.1 libcups.so.2 libpng14.so.14
%if 0%{?suse_version} < 1210
Requires: libgnutls.so.26
%else
Requires: libgnutls.so.28
%endif
%endif
%endif
Requires: cabextract
Requires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -124,7 +111,7 @@ This RPM contains the header files and development tools for the WINE
libraries.
%prep
%setup -q -n %name-%winever
%setup -q
#%patch0 -p1
#
cp %{S:3} .
@ -194,6 +181,21 @@ cd ubuntuwine
install -c -m 644 *.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
cd ..
# find the implicit dependencies
%define winedir %_builddir/%name-%version/
cat >%winedir/my-find-requires.sh <<EOF
#!/bin/bash
%{__find_requires}
%ifarch x86_64
grep SONAME_ %winedir/config.log|grep -v 'so"'|sed -e 's/^.*"\(.*\)".*$/\1()(64bit)/;'|sort -u
%else
grep SONAME_ %winedir/config.log|grep -v 'so"'|sed -e 's/^.*"\(.*\)".*$/\1/;'|sort -u
%endif
EOF
chmod 755 %winedir/my-find-requires.sh
%define _use_internal_dependency_generator 0
%define __find_requires %winedir/my-find-requires.sh
# breaks btrfs installation, see bnc#723402
# %fdupes -s %{buildroot}