Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37404553
en ru br
Репозитории ALT
S:8.15.1-alt1
5.1: 1.1.44-alt1.M50P.1
4.1: 1.0.9-alt0.M41.35
4.0: 1.0.9-alt0.M40.35
+backports:1.0.9-alt0.M40.16
3.0: 20050715-alt0.1
+backports:20061212-alt0.M30.1
www.altlinux.org/Changes

Группа :: Эмуляторы
Пакет: wine

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# Spec for Wine, enhanced and localized by eterwine project
#
# All source code can be downloaded from ftp://updates.etersoft.ru/pub/Etersoft/WINE at Etersoft
# Please submit bugfixes or comments via wine at etersoft.ru
#
# Build instruction:
# install etersoft-build-utils and rpm-build-altlinux-compat for your system
# run
#    $ rpmbb wine.spec for build rpm package on ALT
# or $ rpmbph wine.spec for other distro
#
%define debug %nil

Name: wine
Version: 1.1.44
Release: alt1.M50P.1
Epoch: 1

Summary: Environment for running Windows applications (Etersoft edition)
Summary(ru_RU.UTF-8): п║я─п╣п╢п╟ п╢п╩я▐ п╥п╟п©я┐я│п╨п╟ п©я─п╬пЁя─п╟п╪п╪ Windows (я│п╠п╬я─п╨п╟ п╬я┌ Etersoft)

License: LGPL
Group: Emulators
Url: http://winehq.org.ru/

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source tarball from git://git.etersoft.ru/projects/eterwine.git

# (with Etersoft's addons and patches)
Source: ftp://updates.etersoft.ru/pub/Etersoft/Wine-public/%version/sources/tarball/%name-%version.tar

AutoReq: yes, noperl

# Thanks PLD folks for the note:

# NOTE: wine detects the following SONAMES for dlopen at build time:
#   libssl (libcrypto inside) (wininet.dll)
#   libcups (winspool.dll.so, wineps.dll.so)
#   libcurses/libncurses/libncursesw (wineconsole program)
#   libfontconfig (gdi32.dll.so)
#   libfreetype (wineps.dll.so, gdi32.dll.so)
#   libGL (x11drv.dll.so, ddraw.dll.so)
#   libjack (winejack.drv.so - explicit dependency in subpackage)
#   libX11, libXext, libXi, libXrender (x11drv.dll.so)
# thus requires rebuild after change of any of the above.
#

#==========================================================================


# Needed freetype (it is recommended to use 2.1.10 for better results)

%define freetype_ver 2.1.9

# General dependencies

BuildRequires: rpm-build-compat >= 0.99
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: libopenal-devel
BuildRequires: libGLU-devel
# TODO: libjack-devel

# Note: xorg-x11-devel requires all X11 devel packages, but missed on Fedora based systems

# Require here all subpackages
# Skipped: libxorgconfig-devel libxkbfile-devel libxkbui-devel xcursorgen xorg-x11-font-utils
# xorg-x11-util-macros xorg-x11-compat-devel libXfontcache-devel libFS-devel libXdmcp-devel
# xorg-x11-xtrans-devel libdmx-devel libXp-devel libXtst-devel libXTrap-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

BuildRequires: perl-XML-Simple

# We have not to use it in production (used in winedbg)

#BuildConflicts: valgrind-devel valgrind

%if %_vendor == "alt"
#ExclusiveArch:  %{ix86}
Requires: webclient
Requires: wine-gecko
BuildRequires: desktop-file-utils

# Use it instead proprietary MS Core Fonts

Requires: fonts-ttf-liberation

# We need predownloaded Gecko engine

Requires: wine-gecko

# Comment out due desktop-file-utils is missed in ALD 4.0

# For menu/MIME subsystem
#Requires(post): desktop-file-utils
#Requires(postun): desktop-file-utils
%endif

Requires: lib%name = %epoch:%version-%release
Provides: %name-utils
Obsoletes: %name-utils
Obsoletes: %name-test

#=========================================================================


%description
WINE Is Not Emulator. Wine is an Open Source implementation of the Windows
API on top of X and Unix.  Think of Wine as a compatibility layer for
running Windows programs. Wine does not require Microsoft Windows,
as it is a completely free alternative implementation of the Windows
API consisting of 100 percent LGPL code, however Wine can optionally
use native Windows DLLs if they are available. Wine provides both a
development toolkit for porting Windows source code to Unix as well as
a program loader, allowing many unmodified Windows programs to run on
x86-based Unixes, including Linux, FreeBSD, and Solaris.

It is still alpha level code; don't expect everything to work.

It is modified Wine build with some patches from Etersoft.
Check http://winehq.org.ru for an additional information.
Bug tracker: http://bugs.etersoft.ru

%description -l ru_RU.UTF-8
WINE п²п╣ п╞п╡п╩я▐п╣я┌я│я▐ п╜п╪я┐п╩я▐я┌п╬я─п╬п╪. п╜я┌п╬ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫п╟я▐ я─п╣п╟п╩п╦п╥п╟я├п╦я▐ API Windows
3.x п╦ Win32. Wine п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п╨п╟п╨ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╟я─п╦п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ (Winelib)
п╢п╩я▐ п©п╣я─п╣п╫п╬я│п╟ я┐п╫п╟я│п╩п╣п╢п╬п╡п╟п╫п╫я▀я┘ п╦я│я┘п╬п╢п╫я▀я┘ п╨п╬п╢п╬п╡ п╦п╥ я│я─п╣п╢я▀ Windows п╡ я│я─п╣п╢я┐
Unix, я┌п╟п╨ п╦ п©я─п╬пЁя─п╟п╪п╪п╫я▀п╧ п╥п╟пЁя─я┐п╥я┤п╦п╨, п©п╬п╥п╡п╬п╩я▐я▌я┴п╦п╧ п╦я│п©п╬п╩п╫я▐я┌я▄ п╢п╡п╬п╦я┤п╫я▀п╧ п╨п╬п╢, я─п╟п╥я─п╟п╠п╬я┌п╟п╫п╫я▀п╧
п╢п╩я▐ Windows 3.1/95/NT, п╡ я│я─п╣п╢п╣ я─п╟п╥п╫я▀я┘ п╡п╟я─п╦п╟п╫я┌п╬п╡
Unix п╫п╟ п©п╩п╟я┌я└п╬я─п╪п╣ Intel. Wine п╫п╣ я┌я─п╣п╠я┐п╣я┌ п╫п╟п╩п╦я┤п╦я▐ Microsoft Windows,
п©п╬я│п╨п╬п╩я▄п╨я┐ я█я┌п╬ п©п╬п╩п╫п╬я│я┌я▄я▌ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫п╟я▐ я─п╣п╟п╩п╦п╥п╟я├п╦я▐, я│п╬я│я┌п╬я▐я┴п╟я▐ п╦п╥ п©п╬п╩п╫п╬я│я┌я▄я▌
я│п╡п╬п╠п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟.

WINE п╡я│я▒ п╣я┴я▒ п╫п╟я┘п╬п╢п╦я┌я│я▐ п╡ я│я┌п╟п╢п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, п©п╬я█я┌п╬п╪я┐
п╫п╣ п╬п╤п╦п╢п╟п╧я┌п╣, я┤я┌п╬ п╡я│я▒ п╠я┐п╢п╣я┌ я─п╟п╠п╬я┌п╟я┌я▄.

п╜я┌п╬ я│п╠п╬я─п╨п╟ Wine, я│п╬п╢п╣я─п╤п╟я┴п╟я▐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©п╬ п╬я┌п╫п╬я┬п╣п╫п╦я▌ п╨ п╬я└п╦я├п╦п╟п╩я▄п╫п╬п╧ п╡п╣я─я│п╦п╦.
п·п╠я─п╟я┴п╟п╧я┌п╣я│я▄ п╥п╟ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╫п╟ я│п╟п╧я┌ http://winehq.org.ru
п║п╦я│я┌п╣п╪п╟ я─п╣пЁп╦я│я┌я─п╟я├п╦п╦ п╬я┬п╦п╠п╬п╨: http://bugs.etersoft.ru

%package -n %name-test
Summary: WinAPI test for Wine
Summary(ru_RU.UTF-8): п╒п╣я│я┌ WinAPI п╢п╩я▐ Wine
Group: Emulators
Requires: %name = %epoch:%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

# Load with dl_open

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.

########## separate libraries

%package -n lib%name-gl
Summary: DirectX/OpenGL support libraries for Wine
Group: System/Libraries
Requires: lib%name = %epoch:%version-%release

%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 = %epoch:%version-%release

%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 = %epoch:%version-%release
Obsoletes: wine-devel
Provides: wine-devel
Conflicts: libwine-vanilla-devel-static

%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-static
Summary: Static libraries for lib%name
Group: Development/C
Requires: lib%name = %epoch:%version-%release

%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

%build
%configure --with-x \
%ifarch x86_64
--enable-win64 \
%endif
--disable-tests

make depend

%make_build


%install
%makeinstall_std
%__make -C etersoft initdir=%_initdir DESTDIR=%buildroot install-etersoft

# Do not pack non english man pages yet

rm -rf %buildroot%_mandir/*.UTF-8


%pre
%groupadd wine || :
%groupadd wineadmin || :

%post
%post_service wine
# start service during first time install (not for ALT), see rpm-build-compat
%start_service wine

%preun
%preun_service wine


%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-glibc
%ifnarch x86_64
%_bindir/wine-preloader
%endif

%_bindir/regsvr32
%_bindir/winecfg

# link to wine for backward compatibility

%_bindir/wineprefixcreate
%_bindir/ieinstall
%_bindir/ieuninstall
%_bindir/winetricks
%_bindir/setnethasp
%_bindir/winelog
%_bindir/winesplash

%_bindir/wineconsole
%_bindir/wineserver

%_bindir/msiexec
%_bindir/notepad
%_bindir/regedit
%_bindir/winedbg
%_bindir/wineboot
%_bindir/winefile
%_bindir/winemine
%_bindir/winepath
%_libdir/wine/*.exe.so

%_initdir/wine
%_initdir/wine.outformat
# _localstatedir is broken on some systems as ALT Linux
#attr(0775 root wineadmin) %dir %_localstatedir/wine/
%attr(0775 root wineadmin) %dir /var/lib/wine/
# rules for fix permissions on protection keys
%_sysconfdir/udev/rules.d/99-winekeys.rules
#%_sysconfdir/sysctl.d/wine.conf
%dir %_sysconfdir/wine/
%dir %_sysconfdir/wine/reg.d/
%dir %_sysconfdir/wine/script.d/
%_sysconfdir/wine/reg.d/*.reg
%_sysconfdir/wine/reg.d/*.reg.*
%_sysconfdir/wine/reg.d/foxpro.manual
%_sysconfdir/wine/script.d/*.sh
%_sysconfdir/wine/script.d/*.sh.pre
%config(noreplace) %_sysconfdir/wine/config
%_desktopdir/*
%_datadir/desktop-directories/wine.directory
%_iconsdir/*
%dir %_datadir/wine/
%_datadir/wine/ies4linux/
%_datadir/wine/skel/
%_datadir/wine/menu.directory
%_datadir/wine/winesplash.xpm
%_man1dir/wine.1*
%_man1dir/wineserver.1*
%_man1dir/winedbg.1.*


%files -n lib%name
%doc LICENSE AUTHORS COPYING.LIB
%_libdir/libwine*.so.*
%dir %_libdir/wine/
%_libdir/wine/fakedlls/

%ifnarch x86_64
%_libdir/wine/*.dll16.so
%_libdir/wine/*.drv16.so
%_libdir/wine/*.exe16.so
%_libdir/wine/winoldap.mod16.so
%_libdir/wine/*.vxd.so
%endif

%_libdir/wine/*.cpl.so
%_libdir/wine/*.drv.so
%_libdir/wine/*.dll.so
%_libdir/wine/*.acm.so
%_libdir/wine/*.ocx.so
%_libdir/wine/*.tlb.so
%_libdir/wine/*.sys.so
%_datadir/wine/generic.ppd
%_datadir/wine/wine.inf
%_datadir/wine/l_intl.nls
%_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/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
%_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/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 README.winedump
%_bindir/fnt2bdf
%_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
%_libdir/wine/libadsiid.a
%_libdir/wine/libdinput.def.a
%_libdir/wine/libdxerr8.a
%_libdir/wine/libdxerr9.a
%_libdir/wine/libdxguid.a
%_libdir/wine/libstrmiids.a
%_libdir/wine/libuuid.a

%_man1dir/wmc.1*
%_man1dir/wrc.1*
%_man1dir/widl.1*
%_man1dir/winebuild*
%_man1dir/winedump.1.*
%_man1dir/wineg++.1.*
%_man1dir/winegcc.1.*
%_man1dir/winemaker.1.*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin