pkg://wine-990704-1.src.rpm:3624176/wine.spec
info downloads
Summary: A Windows 16/32 bit emulator.
Name: wine
%define version 990704
Version: %{version}
Release: 1
Group: Applications/Emulators
Copyright: Freely distributable
URL: http://www.winehq.com
Source: ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-%{version}.tar.gz
Source1: wine.conf
Buildroot: /var/tmp/wine-root
ExclusiveArch: i386
%description
While Wine is usually thought of as a Windows(TM) emulator, the Wine
developers would prefer that users thought of Wine as a Windows
compatibility layer for UNIX. This package includes a program loader,
which allows unmodified Windows 3.1/95/NT binaries to run under Intel
Unixes. Wine doesn't require MS Windows, but it can use native system
.dll files if they're available.
%package devel
Summary: Wine development environment.
Group: System Environment/Libraries
%description devel
Header and include files for developing applications with the Wine
Windows(TM) emulation libraries.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=/usr/X11R6 --sysconfdir=/etc
make depend
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc
mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib,include/wine,man/man1,etc}
install -m 755 wine $RPM_BUILD_ROOT/usr/bin/wine
install -m 755 loader/dos/dosmod $RPM_BUILD_ROOT/usr/bin/dosmod
install -m 644 wine.sym $RPM_BUILD_ROOT/usr/lib/wine.sym
install -m 644 documentation/wine.man $RPM_BUILD_ROOT/usr/man/man1/wine.1
install -m 644 libwine.a $RPM_BUILD_ROOT/usr/lib
install -m 644 include/windows.h $RPM_BUILD_ROOT/usr/include/wine
install -m 644 include/windef.h $RPM_BUILD_ROOT/usr/include/wine
install -m 644 wine.ini $RPM_BUILD_ROOT/etc/wine.conf
%clean
rm -r $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc ANNOUNCE BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
%doc AUTHORS WARRANTY documentation
%config /etc/wine.conf
/usr/bin/*
/usr/lib/wine.sym
/usr/man/man1/wine.1
%files devel
%defattr(-,root,root)
/usr/lib/libwine.a
/usr/include/*
%changelog
* Fri Jul 23 1999 Tim Powers <timp@redhat.com>
- updated source
- built for 6.1
* Tue Apr 13 1999 Michael Maher <mike@redhat.com>
- built package for 6.0
- updated package and spec file
* 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