diff --git a/wine.spec.r7ae13bd6c69d24b28c660ef867339ff5 b/wine.spec.r7ae13bd6c69d24b28c660ef867339ff5 deleted file mode 100644 index 0342111..0000000 --- a/wine.spec.r7ae13bd6c69d24b28c660ef867339ff5 +++ /dev/null @@ -1,295 +0,0 @@ -# -# spec file for package wine -# -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# 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. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: wine -BuildRequires: Mesa-devel -BuildRequires: alsa-devel -BuildRequires: autoconf -BuildRequires: bison -BuildRequires: capi4linux-devel -BuildRequires: cups-devel -BuildRequires: dbus-1-devel -BuildRequires: desktop-file-utils -BuildRequires: fdupes -BuildRequires: flex -BuildRequires: fontconfig-devel -BuildRequires: freeglut-devel -BuildRequires: freetype2-devel -BuildRequires: giflib-devel -%if 0%{?suse_version} > 1210 -BuildRequires: libgnutls-devel -%else -BuildRequires: gnutls-devel -%endif -BuildRequires: gstreamer-0_10-plugins-base-devel -BuildRequires: libgphoto2-devel -BuildRequires: libgsm-devel -BuildRequires: libjpeg-devel -BuildRequires: liblcms-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: libv4l-devel -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel -BuildRequires: ncurses-devel -BuildRequires: openal-soft-devel -BuildRequires: openldap2-devel -BuildRequires: prelink -BuildRequires: sane-backends-devel -BuildRequires: update-desktop-files -BuildRequires: valgrind-devel -BuildRequires: xorg-x11-devel -Version: 1.5.1 -Release: 0 -Summary: An MS Windows Emulator -License: LGPL-2.1+ -Group: System/Emulators/PC -Url: http://www.winehq.org/ -Source0: %name-%version.tar.bz2 -Source1: http://kegel.com/wine/winetricks -Source2: http://kegel.com/wine/wisotool -Source3: README.SuSE -Source4: wine.desktop -Source5: ubuntuwine.tar.bz2 -Source7: baselibs.conf -# SUSE specific patches -# - currently none, but add them here -#Patch0: susepatches.patch -Recommends: wine-gecko >= 1.5 -Recommends: wine-mp3 -Recommends: dosbox -Conflicts: wine-gecko < 1.3 - -%ifarch x86_64 -Requires: %{name}-32bit = %{version} -%endif -# for winetricks: -Requires: cabextract -Requires: unzip -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -An MS Windows emulator, consisting of both runtime and source -compatibility functions. You can run your MS executables with it and -write your Windows programs under Linux and link against the WINE -libraries. - -It is not necessary to have a Windows installation to run WINE. - -Refer to %{_datadir}/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 -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 -#%patch0 -p1 -# -cp %{S:3} . -# - -%build -cat VERSION -%ifarch %ix86 -# e.g. Steam and other copy protections hate removed %ebp. -export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'` -%endif -# keep just for susepatches with configure changes -#autoconf -#autoheader -I include -CFLAGS="$RPM_OPT_FLAGS" \ -%configure \ - --with-x \ -%ifarch x86_64 - --enable-win64 \ -%endif - --verbose - -grep "have_x=yes" config.log || exit 1 -# generate baselibs.conf -%ifarch %ix86 -echo "# autogenerated in .spec file" >%SOURCE7 -echo "%name" >> %SOURCE7 -echo " +^/usr/bin/wine\$" >> %SOURCE7 -echo " +^/usr/bin/wine-preloader\$" >> %SOURCE7 -echo " +^/usr/lib/wine/fakedlls" >> %SOURCE7 -grep SONAME_ config.log -grep SONAME_ config.log|grep -v 'so"'|sed -e 's/^.*\(".*"\).*$/ requires \1/;'|sort -u >>%SOURCE7 -echo "%name-devel" >> %SOURCE7 -echo " +^/usr/lib/wine/.*def" >> %SOURCE7 -cat %SOURCE7 -%endif -make %{?jobs:-j%jobs} all - -%install -make install DESTDIR=%{buildroot} -# install desktop file -install -d %{buildroot}%{_datadir}/applications/ -%suse_update_desktop_file %{SOURCE4} Emulator - -install -m 0644 %SOURCE4 %{buildroot}%{_datadir}/applications/ -install -m 0755 %SOURCE1 %{buildroot}%{_bindir}/ -install -m 0755 %SOURCE2 %{buildroot}%{_bindir}/ -mv %{buildroot}/%{_mandir}/de.UTF-8 %{buildroot}/%{_mandir}/de -mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr -mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl -tar xjf %{SOURCE5} -# Copied from Ubuntu Wine out of debian.diff -# https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages -# taken on 1.2rc2 time. -cd ubuntuwine - install -d %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged - install -c -m 644 wine.menu %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged - - # Install application-specific desktop files - install -d %{buildroot}%{_datadir}/applications - install -c -m 644 *.desktop %{buildroot}%{_datadir}/applications/ - - install -d %{buildroot}%{_datadir}/desktop-directories/ - install -c -m 644 *.directory %{buildroot}%{_datadir}/desktop-directories/ - - # Install icons - install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ - install -c -m 644 *.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ -cd .. - -# find the implicit dependencies -%define winedir %_builddir/%name-%version/ -cat >%winedir/my-find-requires.sh <