2007-01-04 17:29:39 +01:00
|
|
|
#
|
2009-07-04 13:24:43 +02:00
|
|
|
# spec file for package wine (Version 1.1.24)
|
2007-01-04 17:29:39 +01:00
|
|
|
#
|
2009-01-12 18:23:01 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-04 17:29:39 +01:00
|
|
|
#
|
2008-08-15 14:34:05 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-04 17:29:39 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-15 01:47:21 +01:00
|
|
|
|
2007-01-04 17:29:39 +01:00
|
|
|
Name: wine
|
2008-10-13 23:47:24 +02:00
|
|
|
BuildRequires: alsa-devel bison capi4linux-devel cups-devel desktop-file-utils fdupes flex freeglut-devel freetype2-devel giflib-devel gnutls-devel hal-devel libgphoto2-devel libjpeg-devel liblcms-devel libpng-devel libxslt-devel ncurses-devel openldap2-devel prelink sane-backends update-desktop-files
|
2007-10-29 10:27:28 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-04 17:29:39 +01:00
|
|
|
Group: System/Emulators/PC
|
2007-10-05 00:39:47 +02:00
|
|
|
AutoReqProv: on
|
2009-07-04 13:24:43 +02:00
|
|
|
Version: 1.1.24
|
2008-08-24 11:08:21 +02:00
|
|
|
Release: 1
|
2007-01-04 17:29:39 +01:00
|
|
|
Summary: An MS Windows Emulator
|
2007-10-05 00:39:47 +02:00
|
|
|
Url: http://www.winehq.com
|
2007-01-04 17:29:39 +01:00
|
|
|
Source0: wine-%version.tar.bz2
|
2007-06-03 22:12:03 +02:00
|
|
|
Source1: http://kegel.com/wine/winetricks
|
2007-01-04 17:29:39 +01:00
|
|
|
Source3: README.SuSE
|
|
|
|
Source4: wine.desktop
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-04 13:24:43 +02:00
|
|
|
Requires: libX11.so.6 libXext.so.6 libXcursor.so.1 libXi.so.6 libXxf86vm.so.1 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libXcomposite.so.1 libGL.so.1 libGLU.so.1 libxslt.so.1 libhal.so.1 libncurses.so.5 libfreetype.so.6 libpng12.so.0 libjpeg.so.62 libcrypto.so.0.9.8 libssl.so.0.9.8 libfontconfig.so.1 libcups.so.2 libgnutls.so.26
|
2008-08-15 14:34:05 +02:00
|
|
|
ExclusiveArch: %ix86
|
2007-01-04 17:29:39 +01:00
|
|
|
|
|
|
|
%description
|
2007-08-27 18:55:30 +02:00
|
|
|
An MS Windows emulator, consisting of both runtime and source
|
2007-01-04 17:29:39 +01:00
|
|
|
compatibility functions. You can run your MS executables with it and
|
2007-08-27 18:55:30 +02:00
|
|
|
write your Windows programs under Linux and link against the WINE
|
|
|
|
libraries.
|
2007-01-04 17:29:39 +01:00
|
|
|
|
|
|
|
It is not necessary to have a Windows installation to run WINE.
|
|
|
|
|
|
|
|
Refer to /usr/share/doc/packages/wine/README.SuSE. There is more
|
|
|
|
documentation available in that directory. Read 'man wine' for further
|
|
|
|
information.
|
|
|
|
|
|
|
|
You can invoke wine by entering 'wine program.exe'. Configure it by
|
|
|
|
running 'winecfg'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
2008-04-06 09:16:00 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-04 17:29:39 +01:00
|
|
|
Summary: files for wine development
|
|
|
|
Group: System/Emulators/PC
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This RPM contains the header files and development tools for the WINE
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#
|
|
|
|
cp %{S:3} .
|
|
|
|
#
|
|
|
|
test -d dlls/winemp3.acm && (
|
|
|
|
echo "*** Must not include MP3 decoder!" ; exit 1
|
|
|
|
)
|
|
|
|
|
|
|
|
%build
|
|
|
|
rm -f ./config.cache
|
|
|
|
autoconf
|
2007-10-05 00:39:47 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
2008-05-08 00:47:36 +02:00
|
|
|
./configure --prefix=/usr --verbose
|
2007-01-04 17:29:39 +01:00
|
|
|
make %{?jobs:-j%jobs} all
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-10-05 00:39:47 +02:00
|
|
|
mkdir $RPM_BUILD_ROOT
|
2007-01-04 17:29:39 +01:00
|
|
|
make install prefix=$RPM_BUILD_ROOT%{_prefix}
|
|
|
|
#
|
|
|
|
# install documentation
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/
|
2008-06-26 00:40:27 +02:00
|
|
|
cp ANNOUNCE AUTHORS LICENSE LICENSE.OLD README* \
|
2007-01-04 17:29:39 +01:00
|
|
|
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/
|
|
|
|
#
|
|
|
|
find $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/ -type d|xargs chmod ogu+rx
|
|
|
|
find $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/ -type f|xargs chmod ogu+r
|
2007-06-03 22:12:03 +02:00
|
|
|
install -m 0755 %SOURCE1 $RPM_BUILD_ROOT/usr/bin/
|
2007-12-17 12:11:14 +01:00
|
|
|
mv $RPM_BUILD_ROOT/%{_mandir}/de.UTF-8 $RPM_BUILD_ROOT/%{_mandir}/de
|
2008-01-13 11:14:35 +01:00
|
|
|
mv $RPM_BUILD_ROOT/%{_mandir}/fr.UTF-8 $RPM_BUILD_ROOT/%{_mandir}/fr
|
2008-11-28 12:19:21 +01:00
|
|
|
%suse_update_desktop_file %{SOURCE4} Emulator
|
2007-06-24 11:55:53 +02:00
|
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
|
2007-01-04 17:29:39 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-05-24 11:28:41 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-04-14 17:44:50 +02:00
|
|
|
|
2008-05-24 11:28:41 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-04-14 17:44:50 +02:00
|
|
|
|
2007-01-04 17:29:39 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/*
|
|
|
|
/usr/share/wine
|
|
|
|
%{_libdir}/lib*
|
2007-04-14 17:44:50 +02:00
|
|
|
%dir %{_libdir}/wine
|
|
|
|
%{_libdir}/wine/*.so
|
|
|
|
%{_libdir}/wine/*.*16
|
2007-01-04 17:29:39 +01:00
|
|
|
/usr/share/applications/wine.desktop
|
|
|
|
%doc %{_defaultdocdir}/wine
|
|
|
|
%doc %{_mandir}/*/*
|
2007-12-17 12:11:14 +01:00
|
|
|
%doc %{_mandir}/*/*/*
|
2007-01-04 17:29:39 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/wine
|
2007-04-14 17:44:50 +02:00
|
|
|
%{_libdir}/wine/*.def
|
|
|
|
%{_libdir}/wine/*.a
|
2007-01-04 17:29:39 +01:00
|
|
|
/usr/share/aclocal/wine.m4
|
2007-12-17 12:11:14 +01:00
|
|
|
|
2007-02-25 23:42:01 +01:00
|
|
|
%changelog
|