Group :: Emuladores
RPM: wine-vanilla
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
Name: wine-vanilla
Version: 1.1.13
Release: alt0.M41.1
Summary: Wine - environment for running Windows 16/32/64 bit applications
License: LGPL
Group: Emulators
Url: http://winehq.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
# See http://git.etersoft.ru/people/lav/packages/?p=wine.git;a=shortlog;h=refs/heads/vanilla
# Source tarball from git.etersoft.ru, branch vanilla (pulled from wine's git)
Source: ftp://updates.etersoft.ru/pub/Etersoft/Wine-vanilla/sources/tarball/%name-%version.tar
AutoReq: yes, noperl
%define freetype_ver 2.1.9
# General dependencies
BuildRequires: rpm-build-compat >= 1.0
BuildRequires: gcc util-linux flex bison
BuildRequires: fontconfig-devel libfreetype-devel >= %freetype_ver
BuildRequires: libncurses-devel libncursesw-devel libtinfo-devel
BuildRequires: libssl-devel zlib-devel libldap-devel
BuildRequires: libxslt-devel libxml2-devel
BuildRequires: libjpeg-devel liblcms-devel libpng-devel
BuildRequires: libusb-devel libgphoto2-devel libsane-devel libcups-devel
BuildRequires: libalsa-devel jackit-devel libieee1284-devel libhal-devel
BuildRequires: libGLU-devel
BuildRequires: xorg-x11-proto-devel libICE-devel libSM-devel
BuildRequires: libX11-devel libXau-devel libXaw-devel libXrandr-devel
BuildRequires: libXext-devel libXfixes-devel libXfont-devel libXft-devel libXi-devel
BuildRequires: libXmu-devel libXpm-devel libXrender-devel
BuildRequires: libXres-devel libXScrnSaver-devel libXinerama-devel libXt-devel
BuildRequires: libXxf86dga-devel libXxf86misc-devel libXcomposite-devel
BuildRequires: libXxf86vm-devel libfontenc-devel libXdamage-devel
BuildRequires: libXvMC-devel libXcursor-devel libXevie-devel libXv-devel
# Enable with can build on x86_64
# GCC v4.4 is needed for build wine64
ExclusiveArch: %{ix86}
Requires: webclient
BuildRequires: desktop-file-utils
# Use it instead proprietary MS Core Fonts
# Requires: fonts-ttf-liberation
# For menu/MIME subsystem
Requires: desktop-file-utils
Requires: lib%name = %version-%release
Conflicts: wine
#=========================================================================
%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.x/9x/NT binaries to run on x86 and x86_64
Unixes. Wine does not require MS Windows, but it can use native system
.dll files if they are available.
%package -n %name-test
Summary: WinAPI test for Wine
Summary(ru_RU.UTF-8): Тест WinAPI для Wine
Group: Emulators
Requires: %name = %version-%release
%description -n %name-test
WinAPI test for Wine (unneeded for usual work).
Warning: it may kill your X server suddenly.
%package -n lib%name
Summary: Main library for Wine
Group: System/Libraries
Conflicts: libwine
# Load with dl_open
# libcups
Requires: libssl
%description -n lib%name
This package contains the library needed to run programs dynamically
linked with Wine.
%description -n lib%name -l ru_RU.UTF-8
Этот пакет состоит из библиотек, которые реализуют Windows API.
%package -n lib%name-gl
Summary: DirectX/OpenGL support libraries for Wine
Group: System/Libraries
Requires: lib%name = %version-%release
Conflicts: libwine-gl
%description -n lib%name-gl
This package contains the libraries for DirectX/OpenGL support in Wine.
%package -n lib%name-twain
Summary: Twain support library for Wine
Group: System/Libraries
Requires: lib%name = %version-%release
Conflicts: libwine-twain
%description -n lib%name-twain
This package contains the library for Twain support.
%package -n lib%name-devel
Summary: Headers for lib%name-devel
Group: Development/C
Requires: lib%name = %version-%release
Obsoletes: wine-devel
Provides: wine-devel
Conflicts: libwine-devel
%description -n lib%name-devel
lib%name-devel contains the header files and some utilities needed to
develop programs using lib%name.
%description -n lib%name-devel -l ru_RU.UTF-8
lib%name-devel содержит файлы для разработки программ, использующих Wine:
заголовочные файлы и утилиты, предназначенные
для компилирования программ с lib%name.
%package -n lib%name-devel-doc
Summary: Documentation for lib%name-devel
Group: Development/Documentation
Conflicts: libwine-devel-doc
%description -n lib%name-devel-doc
Development documentation for Wine API.
%package -n lib%name-devel-static
Summary: Static libraries for lib%name
Group: Development/C
Requires: lib%name = %version-%release
Conflicts: libwine-devel-static
%description -n lib%name-devel-static
lib%name-devel-static contains the static libraries needed to
develop programs which make use of Wine.
%prep
%setup -q
%build
%configure --enable-dll --with-x \
%ifarch x86_64
--enable-win64 \
%endif
--enable-opengl \
--without-esd
%__make depend
# hack for strange rpath behaviour
export LD_LIBRARY_PATH=`pwd`/libs/wine
%make_build
%if %_vendor == "alt"
%make -C documentation htmlpages
%endif
%install
%makeinstall_std
# Do not pack non english man pages yet
rm -rf %buildroot%_mandir/*.UTF-8
%post
%update_menus
%update_desktopdb
%postun
%clean_menus
%clean_desktopdb
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files
%doc ANNOUNCE AUTHORS LICENSE README
%lang(de) %doc documentation/README.de
%lang(es) %doc documentation/README.es
%lang(fr) %doc documentation/README.fr
%lang(hu) %doc documentation/README.hu
%lang(it) %doc documentation/README.it
%lang(ko) %doc documentation/README.ko
%lang(nb) %doc documentation/README.no
%lang(pt) %doc documentation/README.pt
%lang(pt_BR) %doc documentation/README.pt_br
%lang(tr) %doc documentation/README.tr
%_bindir/wine
%_bindir/wine-*
%_bindir/regsvr32
%_bindir/winecfg
%_bindir/wineprefixcreate
%_bindir/wineconsole
%_bindir/wineserver
%_bindir/msiexec
%_bindir/notepad
%_bindir/progman
%_bindir/regedit
%_bindir/uninstaller
%_bindir/winedbg
%_bindir/wineboot
%_bindir/winefile
%_bindir/winemine
%_bindir/winepath
%_bindir/winebrowser
%_libdir/wine/*.exe.so
#%_initdir/wine
#%_initdir/wine.outformat
%_desktopdir/*
#%_datadir/desktop-directories/wine.directory
#%_iconsdir/*
%dir %_datadir/wine/
#%_datadir/wine/menu.directory
%_man1dir/wine.1*
%_man1dir/wineprefixcreate.1*
%_man1dir/wineserver.1*
%_man1dir/winedbg.1.*
%files -n lib%name
%doc LICENSE AUTHORS COPYING.LIB
%_libdir/libwine*.so.*
%dir %_libdir/wine/
%_libdir/wine/*.dll16
%_libdir/wine/*.drv16
%_libdir/wine/*.exe16
%_libdir/wine/*.cpl.so
%_libdir/wine/*.drv.so
%_libdir/wine/*.dll.so
%_libdir/wine/*.acm.so
%_libdir/wine/*.ocx.so
%_libdir/wine/*.vxd.so
%_libdir/wine/*.tlb.so
%_libdir/wine/*.sys.so
%_libdir/wine/winoldap.mod16
%_datadir/wine/generic.ppd
%_datadir/wine/wine.inf
%_datadir/wine/fonts/
# move to separate packages
%exclude %_libdir/wine/twain*
%exclude %_libdir/wine/d3d10.dll.so
%exclude %_libdir/wine/d3d8.dll.so
%exclude %_libdir/wine/d3d9.dll.so
%exclude %_libdir/wine/d3dx8.dll.so
%exclude %_libdir/wine/d3dxof.dll.so
%exclude %_libdir/wine/opengl32.dll.so
%exclude %_libdir/wine/glu32.dll.so
%exclude %_libdir/wine/wined3d.dll.so
%files -n lib%name-twain
%doc dlls/twain_32/TWAIN
%_libdir/wine/twain*
%_libdir/wine/gphoto2.ds.so
%_libdir/wine/sane.ds.so
%files -n lib%name-gl
%_libdir/wine/d3d10.dll.so
%_libdir/wine/d3d8.dll.so
%_libdir/wine/d3d9.dll.so
%_libdir/wine/d3dx8.dll.so
%_libdir/wine/d3dxof.dll.so
%_libdir/wine/opengl32.dll.so
%_libdir/wine/glu32.dll.so
%_libdir/wine/wined3d.dll.so
%files -n lib%name-devel
%doc LICENSE LICENSE.OLD
%_bindir/function_grep.pl
%_bindir/winebuild
%_bindir/wmc
%_bindir/wrc
%_bindir/widl
%_bindir/wineg++
%_bindir/winegcc
%_bindir/winecpp
%_bindir/winedump
%_bindir/winemaker
%_includedir/wine/
%_libdir/lib*.so
%_libdir/wine/lib*.def
%_libdir/wine/libwinecrt0.a
%_aclocaldir/wine.m4
%_man1dir/wmc.1*
%_man1dir/wrc.1*
%_man1dir/widl.1*
%_man1dir/winebuild*
%_man1dir/winedump.1.*
%_man1dir/wineg++.1.*
%_man1dir/winegcc.1.*
%_man1dir/winemaker.1.*
%if %_vendor == "alt"
# WineAPI documentation
%files -n lib%name-devel-doc
%doc documentation/html
%endif
%files -n lib%name-devel-static
%_libdir/wine/lib*.a
%exclude %_libdir/wine/libwinecrt0.a
%changelog
…
Todas as alterações você pod ver aqui
#
Name: wine-vanilla
Version: 1.1.13
Release: alt0.M41.1
Summary: Wine - environment for running Windows 16/32/64 bit applications
License: LGPL
Group: Emulators
Url: http://winehq.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
# See http://git.etersoft.ru/people/lav/packages/?p=wine.git;a=shortlog;h=refs/heads/vanilla
# Source tarball from git.etersoft.ru, branch vanilla (pulled from wine's git)
Source: ftp://updates.etersoft.ru/pub/Etersoft/Wine-vanilla/sources/tarball/%name-%version.tar
AutoReq: yes, noperl
%define freetype_ver 2.1.9
# General dependencies
BuildRequires: rpm-build-compat >= 1.0
BuildRequires: gcc util-linux flex bison
BuildRequires: fontconfig-devel libfreetype-devel >= %freetype_ver
BuildRequires: libncurses-devel libncursesw-devel libtinfo-devel
BuildRequires: libssl-devel zlib-devel libldap-devel
BuildRequires: libxslt-devel libxml2-devel
BuildRequires: libjpeg-devel liblcms-devel libpng-devel
BuildRequires: libusb-devel libgphoto2-devel libsane-devel libcups-devel
BuildRequires: libalsa-devel jackit-devel libieee1284-devel libhal-devel
BuildRequires: libGLU-devel
BuildRequires: xorg-x11-proto-devel libICE-devel libSM-devel
BuildRequires: libX11-devel libXau-devel libXaw-devel libXrandr-devel
BuildRequires: libXext-devel libXfixes-devel libXfont-devel libXft-devel libXi-devel
BuildRequires: libXmu-devel libXpm-devel libXrender-devel
BuildRequires: libXres-devel libXScrnSaver-devel libXinerama-devel libXt-devel
BuildRequires: libXxf86dga-devel libXxf86misc-devel libXcomposite-devel
BuildRequires: libXxf86vm-devel libfontenc-devel libXdamage-devel
BuildRequires: libXvMC-devel libXcursor-devel libXevie-devel libXv-devel
# Enable with can build on x86_64
# GCC v4.4 is needed for build wine64
ExclusiveArch: %{ix86}
Requires: webclient
BuildRequires: desktop-file-utils
# Use it instead proprietary MS Core Fonts
# Requires: fonts-ttf-liberation
# For menu/MIME subsystem
Requires: desktop-file-utils
Requires: lib%name = %version-%release
Conflicts: wine
#=========================================================================
%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.x/9x/NT binaries to run on x86 and x86_64
Unixes. Wine does not require MS Windows, but it can use native system
.dll files if they are available.
%package -n %name-test
Summary: WinAPI test for Wine
Summary(ru_RU.UTF-8): Тест WinAPI для Wine
Group: Emulators
Requires: %name = %version-%release
%description -n %name-test
WinAPI test for Wine (unneeded for usual work).
Warning: it may kill your X server suddenly.
%package -n lib%name
Summary: Main library for Wine
Group: System/Libraries
Conflicts: libwine
# Load with dl_open
# libcups
Requires: libssl
%description -n lib%name
This package contains the library needed to run programs dynamically
linked with Wine.
%description -n lib%name -l ru_RU.UTF-8
Этот пакет состоит из библиотек, которые реализуют Windows API.
%package -n lib%name-gl
Summary: DirectX/OpenGL support libraries for Wine
Group: System/Libraries
Requires: lib%name = %version-%release
Conflicts: libwine-gl
%description -n lib%name-gl
This package contains the libraries for DirectX/OpenGL support in Wine.
%package -n lib%name-twain
Summary: Twain support library for Wine
Group: System/Libraries
Requires: lib%name = %version-%release
Conflicts: libwine-twain
%description -n lib%name-twain
This package contains the library for Twain support.
%package -n lib%name-devel
Summary: Headers for lib%name-devel
Group: Development/C
Requires: lib%name = %version-%release
Obsoletes: wine-devel
Provides: wine-devel
Conflicts: libwine-devel
%description -n lib%name-devel
lib%name-devel contains the header files and some utilities needed to
develop programs using lib%name.
%description -n lib%name-devel -l ru_RU.UTF-8
lib%name-devel содержит файлы для разработки программ, использующих Wine:
заголовочные файлы и утилиты, предназначенные
для компилирования программ с lib%name.
%package -n lib%name-devel-doc
Summary: Documentation for lib%name-devel
Group: Development/Documentation
Conflicts: libwine-devel-doc
%description -n lib%name-devel-doc
Development documentation for Wine API.
%package -n lib%name-devel-static
Summary: Static libraries for lib%name
Group: Development/C
Requires: lib%name = %version-%release
Conflicts: libwine-devel-static
%description -n lib%name-devel-static
lib%name-devel-static contains the static libraries needed to
develop programs which make use of Wine.
%prep
%setup -q
%build
%configure --enable-dll --with-x \
%ifarch x86_64
--enable-win64 \
%endif
--enable-opengl \
--without-esd
%__make depend
# hack for strange rpath behaviour
export LD_LIBRARY_PATH=`pwd`/libs/wine
%make_build
%if %_vendor == "alt"
%make -C documentation htmlpages
%endif
%install
%makeinstall_std
# Do not pack non english man pages yet
rm -rf %buildroot%_mandir/*.UTF-8
%post
%update_menus
%update_desktopdb
%postun
%clean_menus
%clean_desktopdb
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files
%doc ANNOUNCE AUTHORS LICENSE README
%lang(de) %doc documentation/README.de
%lang(es) %doc documentation/README.es
%lang(fr) %doc documentation/README.fr
%lang(hu) %doc documentation/README.hu
%lang(it) %doc documentation/README.it
%lang(ko) %doc documentation/README.ko
%lang(nb) %doc documentation/README.no
%lang(pt) %doc documentation/README.pt
%lang(pt_BR) %doc documentation/README.pt_br
%lang(tr) %doc documentation/README.tr
%_bindir/wine
%_bindir/wine-*
%_bindir/regsvr32
%_bindir/winecfg
%_bindir/wineprefixcreate
%_bindir/wineconsole
%_bindir/wineserver
%_bindir/msiexec
%_bindir/notepad
%_bindir/progman
%_bindir/regedit
%_bindir/uninstaller
%_bindir/winedbg
%_bindir/wineboot
%_bindir/winefile
%_bindir/winemine
%_bindir/winepath
%_bindir/winebrowser
%_libdir/wine/*.exe.so
#%_initdir/wine
#%_initdir/wine.outformat
%_desktopdir/*
#%_datadir/desktop-directories/wine.directory
#%_iconsdir/*
%dir %_datadir/wine/
#%_datadir/wine/menu.directory
%_man1dir/wine.1*
%_man1dir/wineprefixcreate.1*
%_man1dir/wineserver.1*
%_man1dir/winedbg.1.*
%files -n lib%name
%doc LICENSE AUTHORS COPYING.LIB
%_libdir/libwine*.so.*
%dir %_libdir/wine/
%_libdir/wine/*.dll16
%_libdir/wine/*.drv16
%_libdir/wine/*.exe16
%_libdir/wine/*.cpl.so
%_libdir/wine/*.drv.so
%_libdir/wine/*.dll.so
%_libdir/wine/*.acm.so
%_libdir/wine/*.ocx.so
%_libdir/wine/*.vxd.so
%_libdir/wine/*.tlb.so
%_libdir/wine/*.sys.so
%_libdir/wine/winoldap.mod16
%_datadir/wine/generic.ppd
%_datadir/wine/wine.inf
%_datadir/wine/fonts/
# move to separate packages
%exclude %_libdir/wine/twain*
%exclude %_libdir/wine/d3d10.dll.so
%exclude %_libdir/wine/d3d8.dll.so
%exclude %_libdir/wine/d3d9.dll.so
%exclude %_libdir/wine/d3dx8.dll.so
%exclude %_libdir/wine/d3dxof.dll.so
%exclude %_libdir/wine/opengl32.dll.so
%exclude %_libdir/wine/glu32.dll.so
%exclude %_libdir/wine/wined3d.dll.so
%files -n lib%name-twain
%doc dlls/twain_32/TWAIN
%_libdir/wine/twain*
%_libdir/wine/gphoto2.ds.so
%_libdir/wine/sane.ds.so
%files -n lib%name-gl
%_libdir/wine/d3d10.dll.so
%_libdir/wine/d3d8.dll.so
%_libdir/wine/d3d9.dll.so
%_libdir/wine/d3dx8.dll.so
%_libdir/wine/d3dxof.dll.so
%_libdir/wine/opengl32.dll.so
%_libdir/wine/glu32.dll.so
%_libdir/wine/wined3d.dll.so
%files -n lib%name-devel
%doc LICENSE LICENSE.OLD
%_bindir/function_grep.pl
%_bindir/winebuild
%_bindir/wmc
%_bindir/wrc
%_bindir/widl
%_bindir/wineg++
%_bindir/winegcc
%_bindir/winecpp
%_bindir/winedump
%_bindir/winemaker
%_includedir/wine/
%_libdir/lib*.so
%_libdir/wine/lib*.def
%_libdir/wine/libwinecrt0.a
%_aclocaldir/wine.m4
%_man1dir/wmc.1*
%_man1dir/wrc.1*
%_man1dir/widl.1*
%_man1dir/winebuild*
%_man1dir/winedump.1.*
%_man1dir/wineg++.1.*
%_man1dir/winegcc.1.*
%_man1dir/winemaker.1.*
%if %_vendor == "alt"
# WineAPI documentation
%files -n lib%name-devel-doc
%doc documentation/html
%endif
%files -n lib%name-devel-static
%_libdir/wine/lib*.a
%exclude %_libdir/wine/libwinecrt0.a
%changelog
…
Todas as alterações você pod ver aqui