]> git.pld-linux.org Git - packages/wine.git/blobdiff - wine.spec
- updated to 1.1.5
[packages/wine.git] / wine.spec
index 97ba23b63cb690329b433beb539f33cc82b68d1c..fa32c460467992012bcfac4662ecc91e8fd23f6c 100644 (file)
--- a/wine.spec
+++ b/wine.spec
@@ -6,9 +6,8 @@
 %bcond_without sane            # don't build TWAIN DLL with scanning support (through SANE)
 %bcond_without cups            # without CUPS printing support in winspool,wineps DLLs
 #
-# NOTE:        wineconsole is a bit broken: try wineconsole cmd to see what will happen
-#      As a workaroound use `wineconsole --backend=user cmd' (works fine)
-#      ref: http://bugs.winehq.org/show_bug.cgi?id=8069
+# TODO:
+# - support for CAPI (ISDN support; --with-capi)
 #
 # NOTE: wine detects the following SONAMES for dlopen at build time:
 #   libcrypto,libssl (wininet.dll)
@@ -30,13 +29,13 @@ Summary(es.UTF-8):  Ejecuta programas Windows en Linux
 Summary(pl.UTF-8):     Program pozwalajÄ…cy uruchamiać aplikacje Windows
 Summary(pt_BR.UTF-8):  Executa programas Windows no Linux
 Name:          wine
-Version:       0.9.61
-Release:       2
+Version:       1.1.5
+Release:       1
 Epoch:         1
 License:       LGPL
 Group:         Applications/Emulators
-Source0:       http://dl.sourceforge.net/wine/%{name}-%{version}.tar.bz2
-# Source0-md5: d01518d529903dca013da592113bd995
+Source0:       http://ibiblio.org/pub/linux/system/emulators/wine/%{name}-%{version}.tar.bz2
+# Source0-md5: 8e06b02323f2dff1f6db0fea6df89b5b
 Source1:       %{name}-uninstaller.desktop
 Patch0:                %{name}-fontcache.patch
 Patch1:                %{name}-makedep.patch
@@ -59,9 +58,13 @@ BuildRequires:       fontconfig-devel
 BuildRequires: fontforge
 BuildRequires: freetype-devel >= 2.0.5
 BuildRequires: giflib-devel
+BuildRequires: hal-devel
 %{?with_jack:BuildRequires:    jack-audio-connection-kit-devel}
+BuildRequires: lcms-devel
+BuildRequires: libgphoto2-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libtool
+BuildRequires: libxslt-devel
 %{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: ncurses-devel
 # db2* failed previously - probably openjade or opensp bug
@@ -69,10 +72,15 @@ BuildRequires:      openjade >= 1:1.3.3-0.pre1
 BuildRequires: openldap-devel
 BuildRequires: opensp >= 1:1.5.1
 BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: pkgconfig
 %{?with_sane:BuildRequires:    sane-backends-devel}
 #BuildRequires:        valgrind
+BuildRequires: xorg-lib-libXcomposite-devel
+BuildRequires: xorg-lib-libXcursor-devel
 BuildRequires: xorg-lib-libXi-devel
+BuildRequires: xorg-lib-libXinerama-devel
 BuildRequires: xorg-lib-libXmu-devel
+BuildRequires: xorg-lib-libXrandr-devel
 BuildRequires: xorg-lib-libXrender-devel
 BuildRequires: xorg-lib-libXxf86dga-devel
 BuildRequires: xorg-lib-libXxf86vm-devel
@@ -250,10 +258,37 @@ sed -i -e "s|winetest \\\|\\\|;s|avitools||" programs/Makefile.in
 %{__autoconf}
 %{__autoheader}
 %configure \
-       %{!?debug:--disable-debug} \
-       %{!?debug:--disable-trace} \
-       --enable-curses \
-       --enable-opengl \
+       --with%{!?with_alsa:out}-alsa \
+       --with-cms \
+       --with%{!?with_cups:out}-cups \
+       --with-cups \
+       --with-curses \
+       --with-esd \
+       --with-fontconfig \
+       --with-freetype \
+       --with-glu \
+       --with-gphoto \
+       --with-hal \
+       --with%{!?with_jack:out}-jack \
+       --with-jpeg \
+       --with-ldap \
+       --with%{!?with_nas:out}-nas \
+       --with-opengl \
+       --with-openssl \
+       --with-oss \
+       --with-png \
+       --with%{!?with_sane:out}-sane \
+       --with-xcomposite \
+       --with-xcursor \
+       --with-xinerama \
+       --with-xinput \
+       --with-xml \
+       --with-xrandr \
+       --with-xrender \
+       --with-xshape \
+       --with-xshm \
+       --with-xslt \
+       --with-xxf86vm \
        --with-x
 %{__make} depend
 %{__make}
@@ -312,7 +347,7 @@ fi
 
 # /sbin/chstk -e $RPM_BUILD_ROOT%{_bindir}/wine
 
-programs="notepad progman regedit regsvr32 uninstaller wineconsole winefile winemine winepath winhelp"
+programs="msiexec notepad progman regedit regsvr32 uninstaller wineboot winebrowser winecfg wineconsole winedbg winefile winemine winepath"
 
 BZZZ=`pwd`
 rm -f files.so;                touch files.so
@@ -352,7 +387,7 @@ fi
 
 %files -f files.so
 %defattr(644,root,root,755)
-%doc README ChangeLog AUTHORS ANNOUNCE
+%doc README documentation/ChangeLog* AUTHORS ANNOUNCE
 %lang(de) %doc documentation/README.de
 %lang(es) %doc documentation/README.es
 %lang(fr) %doc documentation/README.fr
This page took 0.035349 seconds and 4 git commands to generate.