%define version 20050930 %define rel 0pe7 Summary: Program which allows running Microsoft Windows programs on Unix Name: Wine Version: %{version} Release: %rel Source: http://prdownloads.sourceforge.net/wine/%{name}-%{version}.tar.gz URL: http://www.winehq.org/ Copyright: GPL Group: Applications/System Requires: kernel >= 2.4,bison > 1.6,flex > 2.4 Requires: arts >= 1.0 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: kernel >= 2.4,bison > 1.6,flex > 2.4 BuildRequires: kernel-source >= 2.4 BuildRequires: arts-devel >= 1.0,glib2-devel %description Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. It consists of a program loader which loads and executes a Microsoft Windows binary, and a library (called Winelib) that implements Windows API calls using their Unix or X11 equivalents. The library may also be used for porting Win32 code into native Unix executables. %prep %setup -n wine-%{version} %build ./configure --prefix=/usr #touch programs/winetest/tests.rc %install make depend make make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc libdir=$RPM_BUILD_ROOT/usr/lib mandir=$RPM_BUILD_ROOT/usr/share/man install %files %defattr(-,root,root) /usr/bin/* /usr/include/* /usr/lib/* /usr/share/man/* /usr/share/aclocal/* /usr/share/wine/ %doc ANNOUNCE AUTHORS BUGS COPYING.LIB ChangeLog DEVELOPERS-HINTS LICENSE LICENSE.OLD README VERSION winedefault.reg documentation %post /sbin/ldconfig %preun /sbin/ldconfig %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %changelog * Thu May 27 2004 yoshinobu syouzi - Dependency check was changed to do strictly. * Thu May 27 2004 yoshinobu syouzi - Recomiled for glibc-2.3,gcc-3.3,XOrg for private use. * Sun Feb 29 2004 yoshinobu syouzi - First pakaged for praivate use.