Filewatcher File Search
FTP Search
  
Directory (beta)
  
Content Search (beta)
   
pkg://wine-981025-1.src.rpm:2548475/wine.spec  info  downloads

Summary: WINdows Emulator
Name: wine
%define version 981025
Version: %{version}
Release: 1
Group: Applications/Emulators
Copyright: Freely distributable
URL: http://www.winehq.com
Source: ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/development/Wine-%{version}.tar.gz
Source1: wine.conf
Patch0: wine981025-rh.patch
Buildroot: /var/tmp/wine-root
ExclusiveArch: i386

%description
WINE is a Windows 16/32 bit emulator.

%prep
%setup -q  
%patch0 -p1 -b .rh

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
	--prefix=/usr/X11R6 --sysconfdir=/etc \
	--enable-dll
make depend
make
#make -C documentation
#/usr/bin/dvips documentation/wine.dvi -o wine.ps

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/{bin,lib,include,man/man1}
make install prefix=$RPM_BUILD_ROOT/usr/X11R6
mkdir -p $RPM_BUILD_ROOT/{usr/info,etc}
#install -m 644 documentation/*.info* $RPM_BUILD_ROOT/usr/info
#gzip -9f $RPM_BUILD_ROOT/usr/info/*.info*
strip $RPM_BUILD_ROOT/usr/X11R6/bin/wine
ln -s libwine.so.1.0 $RPM_BUILD_ROOT/usr/X11R6/lib/libwine.so 
install -m 644 $RPM_SOURCE_DIR/wine.conf $RPM_BUILD_ROOT/etc
#gzip wine.ps

%clean
rm -r $RPM_BUILD_ROOT

%post
if [ -e /usr/info/wine.info.gz ]; then
	/sbin/install-info /usr/info/wine.info.gz /usr/info/dir
fi
/sbin/ldconfig

%preun
if [ -e /usr/info/wine.info.gz ]; then
	/sbin/install-info --delete /usr/info/wine.info.gz /usr/info/dir
fi

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
%doc WARRANTY wine.ini
#%doc wine.ps.gz
%doc documentation/
%config /etc/wine.conf
/usr/X11R6/bin/wine
/usr/X11R6/man/man1/*
/usr/X11R6/lib/*
/usr/X11R6/include/wine
#/usr/info/wine*info*

%changelog
* Mon Oct 26 1998 Preston Brown <pbrown@redhat.com>
- updated to 10/25/98 version.  There is really no point in keeping the
- older one, it is full of bugs and the newer one has fewer.
- commented out building of texinfo manual, it is horrendously broken.

* Mon Oct 12 1998 Michael Maher <mike@redhat.com>
- built package for 5.2
- pressured by QA, not updating.

* Fri May 22 1998 Cristian Gafton <gafton@redhat.com>
- repackaged for PowerTools

Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2008 IT MARUHN