]> git.pld-linux.org Git - packages/wine.git/blame - wine.spec
- up to wine 7.0 plus gecko 2.47.2
[packages/wine.git] / wine.spec
CommitLineData
7a30e9d7 1#
2# Conditional build:
931f130b 3%bcond_without alsa # don't build ALSA mm driver
beafc810
MM
4%bcond_without capi # don't build CAPI 2.0 (ISDN) support
5%bcond_without gstreamer # don't build GStreamer filters support
16e36f25 6%bcond_without sane # don't build TWAIN DLL with scanning support (through SANE)
5b49e814 7%bcond_with hal # HAL dynamic device support [deprecated]
9d6715c4 8%bcond_without ldap # don't build LDAP DLL
16e36f25 9%bcond_without cups # without CUPS printing support in winspool,wineps DLLs
d7296a19 10%bcond_without netapi # don't use the Samba NetAPI library
7a30e9d7 11#
546bbb82 12# NOTE: wine detects the following SONAMES for dlopen at build time:
5b49e814
JB
13# libGL (winex11.drv.so)
14# libOSMesa (gdi32.dll.so)
15# libX11 libXcomposite libXcursor libXext libXi libXinerama libXrandr libXrender libXxf86vm (winex11.drv.so)
16# libcapi20 (capi2032.dll.so)
17# libcups (winspool.drv.so)
18# libdbus (mountmgr.sys.so)
16e36f25 19# libfontconfig (gdi32.dll.so)
5b49e814
JB
20# libfreetype (gdi32.dll.so)
21# libgnutls (secur32.dll.so)
22# libhal (mountmgr.sys.so)
23# libjpeg (gphoto2.ds.so windowscodecs.dll.so)
24# libncurses (kernel32.dll.so)
25# libodbc (odbc32.dll.so)
26# libpng (windowscodecs.dll.so)
27# libsane (sane.ds.so)
28# libtiff (windowscodecs.dll.so)
29# libv4l1 (qcap.dll.so)
30# libxslt (msxml3.dll.so)
546bbb82 31# thus requires rebuild after change of any of the above.
db80a28e 32
4ce8abe1
ER
33# library qualifier in rpm generated deps
34%ifarch %{x8664} ia64 ppc64 s390x sparc64
35%define libqual ()(64bit)
36%else
37%define libqual %{nil}
38%endif
39
3e4a4fb9 40%define gecko_ver 2.47.2
698e86e7 41Summary: Program that lets you launch Win applications
93e41e44
ER
42Summary(es.UTF-8): Ejecuta programas Windows en Linux
43Summary(pl.UTF-8): Program pozwalający uruchamiać aplikacje Windows
44Summary(pt_BR.UTF-8): Executa programas Windows no Linux
5c4ec57b 45Name: wine
3e4a4fb9
BZ
46Version: 7.0
47Release: 0.1
46114a9a 48Epoch: 1
528c1138 49License: LGPL
5c4ec57b 50Group: Applications/Emulators
3e4a4fb9
BZ
51Source0: https://dl.winehq.org/wine/source/7.0/%{name}-%{version}.tar.xz
52# Source0-md5: a148a02826d9bcaa0ba631389cc522f2
53Source1: https://dl.winehq.org/wine/wine-gecko/%{gecko_ver}/%{name}-gecko-%{gecko_ver}-x86.msi
54# Source1-md5: e0a26e37397961b2c7f624575590ef66
55Source2: https://dl.winehq.org/wine/wine-gecko/%{gecko_ver}/%{name}-gecko-%{gecko_ver}-x86_64.msi
56# Source2-md5: ff7168b08fa901516fbaa8a66aa3cee6
beafc810 57Source3: %{name}-uninstaller.desktop
55061442 58Patch0: %{name}-gphoto2_bool.patch
a0ff0658 59Patch1: %{name}-makedep.patch
a4a10255 60Patch2: %{name}-ncurses.patch
8b4bf701 61Patch4: %{name}-disable-valgrind.patch
5312a936 62Patch5: %{name}-ca_certificates.patch
a26a3859
JK
63Patch6: desktop.patch
64Patch7: %{name}-wine64_man.patch
1b3d8891 65URL: http://www.winehq.org/
5b49e814 66BuildRequires: Mesa-libOSMesa-devel
0aac4f59 67BuildRequires: OpenAL-devel >= 1.1
5b49e814 68BuildRequires: OpenCL-devel
489ca66c 69BuildRequires: OpenGL-GLU-devel
6547534c
KK
70%{?with_alsa:BuildRequires: alsa-lib-devel}
71%{?with_arts:BuildRequires: artsc-devel}
5b49e814 72BuildRequires: autoconf >= 2.62
c7af491d 73BuildRequires: automake
d3c41437 74BuildRequires: bison
beafc810 75%{?with_capi:BuildRequires: capi4k-utils-devel}
5715e1d1 76%{?with_cups:BuildRequires: cups-devel}
5b49e814 77BuildRequires: dbus-devel
5b49e814 78BuildRequires: flex >= 2.5.33
16e36f25 79BuildRequires: fontconfig-devel
5fc34681 80BuildRequires: freetype-devel >= 2.0.5
05596b04 81BuildRequires: gettext-devel
5b49e814
JB
82%ifarch %{x8664}
83BuildRequires: gcc >= 6:4.4
84%endif
1f0c428e 85BuildRequires: gettext-tools
c57a98fe 86BuildRequires: gnutls-devel
f73ad4b6
JP
87%{?with_gstreamer:BuildRequires: gstreamer-devel >= 1.0}
88%{?with_gstreamer:BuildRequires: gstreamer-plugins-base-devel >= 1.0}
5b49e814
JB
89%{?with_hal:BuildRequires: hal-devel}
90# for icotool used in build
91BuildRequires: icoutils >= 0.29.0
92BuildRequires: lcms2-devel >= 2
3d0989c1 93BuildRequires: libcap-devel
beb8121e 94BuildRequires: libgphoto2-devel
d0d61ce7 95BuildRequires: libgsm-devel
c504380e 96BuildRequires: libjpeg-devel
2341e633 97BuildRequires: libmpg123-devel >= 1.5.0
05596b04 98BuildRequires: libpcap-devel
5b49e814
JB
99BuildRequires: libpng-devel >= 1.5
100BuildRequires: libtiff-devel
0aac4f59 101BuildRequires: libv4l-devel
5b49e814 102BuildRequires: libxml2-devel >= 2.0
fbb1220c 103BuildRequires: libxslt-devel
8a1d358f 104BuildRequires: ncurses-devel
9d6715c4 105%{?with_ldap:BuildRequires: openldap-devel}
beb8121e 106BuildRequires: pkgconfig
3d0989c1 107BuildRequires: pulseaudio-devel
d7296a19 108BuildRequires: samba-devel
5715e1d1 109%{?with_sane:BuildRequires: sane-backends-devel}
5b49e814 110BuildRequires: xorg-lib-libX11-devel
beb8121e 111BuildRequires: xorg-lib-libXcomposite-devel
112BuildRequires: xorg-lib-libXcursor-devel
5b49e814 113BuildRequires: xorg-lib-libXext-devel
c66c3406 114BuildRequires: xorg-lib-libXi-devel
beb8121e 115BuildRequires: xorg-lib-libXinerama-devel
beb8121e 116BuildRequires: xorg-lib-libXrandr-devel
c66c3406 117BuildRequires: xorg-lib-libXrender-devel
c66c3406 118BuildRequires: xorg-lib-libXxf86vm-devel
5b49e814 119BuildRequires: zlib-devel
4ce8abe1 120Requires: libfreetype.so.6%{libqual}
a85c8746 121Requires: libpng16.so.16%{libqual}
8df63af6 122Requires(post): /sbin/ldconfig
ae42c99e 123Suggests: binfmt-detector
be70b824 124Suggests: ca-certificates
beafc810 125Suggests: cabextract
a2f68044 126Conflicts: ca-certificates < 20080809-4
b3d3861d 127# for printing needs lpr
128Suggests: cups-clients
f96e197b 129# for winelauncher
3bddfbf2 130Suggests: xorg-app-xmessage
f96e197b 131# for ntlm_auth
14e95129 132Suggests: samba-common >= 1:3.0.25
52b6007b
JB
133# link to wine/ntdll.dll.so, without any SONAME
134Provides: libntdll.dll.so
7212da21 135Obsoletes: wine-doc-pdf
93b34e12 136Obsoletes: wine-drv-arts
beafc810
MM
137Obsoletes: wine-drv-jack
138Obsoletes: wine-drv-nas
5b49e814 139ExclusiveArch: %{ix86} %{x8664} arm
206eed29 140ExcludeArch: i386
0403821a 141BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5c4ec57b 142
e8f81a0a 143%define no_install_post_strip 1
b955dc60 144%define _noautoprov elf\\\\(buildid\\\\)
e8f81a0a 145
e8f81a0a 146%define _winedir %{_datadir}/%{name}
6731627f 147
5c4ec57b 148%description
6731627f 149Wine is a program which allows running Microsoft Windows programs
a519bc4f 150(including DOS, Windows 3.x and Win32 executables) on Unix. It
151consists of a program loader which loads and executes a Microsoft
152Windows binary, and a library that implements Windows API calls using
153their Unix or X11 equivalents. The library may also be used for
154porting Win32 code into native Unix executables.
5c4ec57b 155
c967e47d 156%description -l es.UTF-8
f33a1517 157Ejecuta programas Windows en Linux.
158
c967e47d
JR
159%description -l pl.UTF-8
160Wine jest programem dzięki któremu można uruchamiać programy napisane
161dla Microsoft Windows pod systemami uniksowymi. Składa się on z
162loadera, który pozwala wczytywać i uruchamiać programy w formacie
163Microsoft Windows, oraz z biblioteki, która implementuje API Windows
164przy użyciu odpowiedników uniksowych oraz z X11. Biblioteka może być
165także wykorzystana do przenoszenia aplikacji Win32 do Uniksa.
5c4ec57b 166
c967e47d
JR
167%description -l pt_BR.UTF-8
168O Wine é um programa que permite rodar programas MS-Windows no X11.
f33a1517 169Ele consiste de um carregador de programa, que carrega e executa um
c967e47d 170binário MS-Windows, e de uma biblioteca de emulação que traduz as
f33a1517 171chamadas da API para as equivalentes Unix/X11.
172
5c4ec57b 173%package devel
7a050f82 174Summary: Wine - header files
93e41e44
ER
175Summary(es.UTF-8): Biblioteca de desarrollo de wine
176Summary(pl.UTF-8): Wine - pliki nagłowkowe
177Summary(pt_BR.UTF-8): Biblioteca de desenvolvimento do wine
7a050f82 178Group: Development/Libraries
46114a9a 179Requires: %{name} = %{epoch}:%{version}-%{release}
6ab2e9fc 180
5c4ec57b 181%description devel
182Wine - header files.
183
c967e47d 184%description devel -l es.UTF-8
f33a1517 185Biblioteca de desarrollo de wine.
186
c967e47d
JR
187%description devel -l pl.UTF-8
188Wine - pliki nagłówkowe.
5c4ec57b 189
c967e47d
JR
190%description devel -l pt_BR.UTF-8
191Arquivos de inclusão e bibliotecas para desenvolver aplicações com o
f33a1517 192WINE.
193
e8f81a0a 194%package programs
195Summary: Wine - programs
93e41e44 196Summary(pl.UTF-8): Wine - programy
e8f81a0a 197Group: Applications
46114a9a 198Requires: %{name} = %{epoch}:%{version}-%{release}
e8f81a0a 199
200%description programs
0a7c5d50 201Wine - programs.
e8f81a0a 202
c967e47d 203%description programs -l pl.UTF-8
0a7c5d50 204Wine - programy.
e8f81a0a 205
beafc810
MM
206%package dll-capi
207Summary: CAPI 2.0 (ISDN) implementation DLLs for Wine
208Summary(pl.UTF-8): Biblioteki DLL z implementacją CAPI 2.0 (ISDN) dla Wine
209Group: Applications/Emulators
210Requires: %{name} = %{epoch}:%{version}-%{release}
211
212%description dll-capi
b1df4aa7 213CAPI 2.0 (ISDN) implementation DLLs for Wine.
beafc810
MM
214
215%description dll-capi -l pl.UTF-8
b1df4aa7 216Biblioteki DLL z implementacją CAPI 2.0 (ISDN) dla Wine.
beafc810 217
16e36f25
JB
218%package dll-d3d
219Summary: Direct3D implementation DLLs for Wine
93e41e44 220Summary(pl.UTF-8): Biblioteki DLL z implementacją Direct3D dla Wine
16e36f25 221Group: Applications/Emulators
46114a9a 222Requires: %{name} = %{epoch}:%{version}-%{release}
16e36f25
JB
223Requires: OpenGL
224
225%description dll-d3d
226Direct3D implementation DLLs for Wine (through OpenGL).
227
c967e47d
JR
228%description dll-d3d -l pl.UTF-8
229Biblioteki DLL z implementacją Direct3D dla Wine (poprzez OpenGL).
16e36f25
JB
230
231%package dll-gl
232Summary: OpenGL implementation DLLs for Wine
93e41e44 233Summary(pl.UTF-8): Biblioteki DLL z implementacją OpenGL dla Wine
16e36f25 234Group: Applications/Emulators
46114a9a 235Requires: %{name} = %{epoch}:%{version}-%{release}
16e36f25
JB
236Requires: OpenGL
237
238%description dll-gl
239OpenGL implementation DLLs for Wine.
240
c967e47d
JR
241%description dll-gl -l pl.UTF-8
242Biblioteki DLL z implementacją OpenGL dla Wine.
16e36f25
JB
243
244%package dll-twain
245Summary: TWAIN implementation DLL for Wine
93e41e44 246Summary(pl.UTF-8): Biblioteka DLL z implementacją TWAIN dla Wine
16e36f25 247Group: Applications/Emulators
46114a9a 248Requires: %{name} = %{epoch}:%{version}-%{release}
16e36f25
JB
249
250%description dll-twain
251TWAIN implementation DLL for Wine (through SANE).
252
c967e47d
JR
253%description dll-twain -l pl.UTF-8
254Biblioteka DLL z implementacją TWAIN dla Wine (poprzez SANE).
16e36f25 255
9d6715c4 256%package dll-ldap
db80a28e 257Summary: Win32 LDAP API DLL for Wine
b1df4aa7 258Summary(pl.UTF-8): Biblioteka DLL z implementacją API Win32 LDAP dla Wine
9d6715c4
ER
259Group: Applications/Emulators
260Requires: %{name} = %{epoch}:%{version}-%{release}
261
262%description dll-ldap
b1df4aa7
JB
263Lightweight Directory Access Protocol Library for Wine.
264
265%description dll-ldap -l pl.UTF-8
266Biblioteka LDAP (Lightweight Directory Access Protocol) dla Wine.
9d6715c4 267
16e36f25
JB
268%package drv-alsa
269Summary: ALSA driver for WINE mm.dll implementation
93e41e44 270Summary(pl.UTF-8): Sterownik ALSA dla implementacji mm.dll w Wine
16e36f25 271Group: Applications/Emulators
46114a9a 272Requires: %{name} = %{epoch}:%{version}-%{release}
16e36f25
JB
273
274%description drv-alsa
275ALSA driver for WINE mm.dll (multimedia system) implementation.
276
c967e47d
JR
277%description drv-alsa -l pl.UTF-8
278Sterownik ALSA dla implementacji mm.dll (systemu multimediów) w Wine.
16e36f25 279
5c4ec57b 280%prep
fec39f21 281%setup -q
2fbbb535 282%patch0 -p1
283%patch1 -p1
ab25825d 284%patch2 -p1
8b4bf701 285%patch4 -p1
5312a936 286%patch5 -p1
3bfef0cd 287%patch6 -p1
f6cf693b 288%ifarch %{x8664}
a26a3859 289%patch7 -p1
f6cf693b 290%endif
591d55ba 291
5c4ec57b 292%build
ebbd62c0
GP
293
294#workaround for icon extraction error.
295icotool -x -o . dlls/user32/resources/oic_winlogo.ico
296mv -f oic_winlogo_*32x32x32.png %{name}.png
297rm -f oic_winlogo_*.png
887fffcf 298
2fbbb535 299%{__autoconf}
103d8328 300%{__autoheader}
9d6a128d 301%configure \
f829f028
AM
302%ifarch %{x8664}
303 --enable-win64 \
304%endif
5b49e814
JB
305 --with-alsa%{!?with_alsa:=no} \
306 --with-capi%{!?with_capi:=no} \
beb8121e 307 --with-cms \
d0d61ce7 308 --with-coreaudio \
5b49e814 309 --with-cups%{!?with_cups:=no} \
c504380e 310 --with-curses \
d7296a19 311 --with-dbus \
c504380e 312 --with-fontconfig \
313 --with-freetype \
d7296a19 314 --with-gphoto \
c504380e 315 --with-glu \
d0d61ce7 316 --with-gnutls \
d0d61ce7 317 --with-gsm \
8ec65640
JK
318 %{__with_without gstreamer} \
319 %{__with_without hal} \
c504380e 320 --with-jpeg \
5b49e814 321 --with-ldap%{!?with_ldap:=no} \
d0d61ce7 322 --with-mpg123 \
d7296a19
JK
323 --with%{!?with_netapi:out}-netapi \
324 --with-openal \
325 --with-opencl \
c504380e 326 --with-opengl \
d7296a19 327 --with-osmesa \
c54d2750 328 --with-pcap \
c504380e 329 --with-png \
d0d61ce7 330 --with-pthread \
c54d2750 331 --with-pulse \
c504380e 332 --with%{!?with_sane:out}-sane \
d7296a19
JK
333 --with-tiff \
334 --with-v4l \
beb8121e 335 --with-xcomposite \
336 --with-xcursor \
337 --with-xinerama \
338 --with-xinput \
d7296a19 339 --with-xinput2 \
c504380e 340 --with-xml \
beb8121e 341 --with-xrandr \
c504380e 342 --with-xrender \
343 --with-xshape \
344 --with-xshm \
345 --with-xslt \
beb8121e 346 --with-xxf86vm \
d7296a19
JK
347 --with-x \
348 --with-zlib
05eb066b 349%{__make} depend
4aafdd81 350%{__make}
e8f81a0a 351
5c4ec57b 352%install
353rm -rf $RPM_BUILD_ROOT
ffb676e0 354install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
c7af491d
JB
355%{__make} install \
356 DESTDIR=$RPM_BUILD_ROOT
357
a26a3859 358install -p tools/sfnt2fon/sfnt2fon $RPM_BUILD_ROOT%{_bindir}
887fffcf 359cp -a aclocal.m4 $RPM_BUILD_ROOT%{_aclocaldir}/wine.m4
0b87866b 360
2a437456 361install -d \
65c325f6 362 $RPM_BUILD_ROOT%{_winedir}/windows/{system,Desktop,Favorites,Fonts} \
363 "$RPM_BUILD_ROOT%{_winedir}/windows/Start Menu/Programs/Startup" \
a91c2692 364 $RPM_BUILD_ROOT%{_winedir}/windows/{SendTo,ShellNew,system32,NetHood} \
365 $RPM_BUILD_ROOT%{_winedir}/windows/{Profiles/Administrator,Recent} \
366 $RPM_BUILD_ROOT%{_winedir}/{"Program Files/Common Files","My Documents"}
367
a91c2692 368touch $RPM_BUILD_ROOT%{_winedir}/{autoexec.bat,config.sys,windows/win.ini}
369touch $RPM_BUILD_ROOT%{_winedir}/windows/system/{shell.dll,shell32.dll}
370touch $RPM_BUILD_ROOT%{_winedir}/windows/system/{winsock.dll,wsock32.dll}
371
76055aa1 372cat > $RPM_BUILD_ROOT%{_winedir}/windows/system.ini <<'EOF'
a91c2692 373[mci]
374cdaudio=mcicda.drv
375sequencer=mciseq.drv
376waveaudio=mciwave.drv
377avivideo=mciavi.drv
378videodisc=mcipionr.drv
379vcr=mciviscd.drv
380MPEGVideo=mciqtz.drv
5c4ec57b 381EOF
382
80496098 383# /sbin/chstk -e $RPM_BUILD_ROOT%{_bindir}/wine
5c4ec57b 384
887fffcf
ER
385dir=$(pwd)
386> files.so
387> files.programs
55a96819 388cd $RPM_BUILD_ROOT%{_libdir}/wine
389for f in *.so; do
16e36f25 390 case $f in
ad4623a1 391 capi2032.dll.so|d3d8.dll.so|d3d9.dll.so|d3dx8.dll.so|glu32.dll.so|opengl32.dll.so|sane.ds.so|twain.dll.so|twain_32.dll.so|winealsa.drv.so|wined3d.dll.so|wldap32.dll.so)
887fffcf
ER
392 ;;
393 *)
394 echo "%attr(755,root,root) %{_libdir}/wine/$f" >> $dir/files.so
16e36f25 395 esac
55a96819 396done
397cd -
887fffcf
ER
398
399programs="notepad regedit regsvr32 wineconsole winefile winemine winepath"
2f6853f9 400for p in $programs; do
8d493411 401 echo "%attr(755,root,root) %{_bindir}/$p" >> files.programs
402 echo "%attr(755,root,root) %{_libdir}/wine/$p.exe.so" >> files.programs
da274952 403 echo "%{_mandir}/man1/$p.1*" >> files.programs
8d493411 404 grep -v "$p\.exe\.so$" files.so > files.so.
405 mv -f files.so. files.so
55a96819 406done
55a96819 407
a26a3859
JK
408for dir in $RPM_BUILD_ROOT%{_mandir}/*.UTF-8 ; do
409 mv "$dir" "${dir%.UTF-8}"
410done
411
f6cf693b 412%ifarch %{x8664}
c54d2750
JK
413install loader/wine.man $RPM_BUILD_ROOT%{_mandir}/man1/wine64.1
414for lang in de fr pl ; do
415install -d $RPM_BUILD_ROOT%{_mandir}/${lang}/man1
416install loader/wine.${lang}.UTF-8.man $RPM_BUILD_ROOT%{_mandir}/${lang}/man1/wine64.1
417done
418%else
419install loader/wine.man $RPM_BUILD_ROOT%{_mandir}/man1/wine.1
420for lang in de fr pl ; do
421install -d $RPM_BUILD_ROOT%{_mandir}/${lang}/man1
422install loader/wine.${lang}.UTF-8.man $RPM_BUILD_ROOT%{_mandir}/${lang}/man1/wine.1
f6cf693b
JK
423done
424%endif
425
f7357f09 426install -d $RPM_BUILD_ROOT%{_winedir}/gecko
beafc810 427%ifnarch %{x8664}
db80a28e 428cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_winedir}/gecko
beafc810 429%else
db80a28e 430cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_winedir}/gecko
beafc810 431%endif
f7357f09 432
887fffcf 433install -d $RPM_BUILD_ROOT%{_pixmapsdir}
db80a28e
ER
434cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
435cp -p %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
76055aa1 436
5c4ec57b 437%clean
438rm -rf $RPM_BUILD_ROOT
439
8df63af6 440%post
db80a28e 441/sbin/ldconfig
8df63af6
ER
442%update_desktop_database
443
f1f3af79
JB
444%postun -p /sbin/ldconfig
445
d142aa07 446%triggerpostun -- wine < 1:0.9.12-1.9
ccb219e0 447rm -f /var/lock/subsys/wine
d142aa07
JB
448if [ -x /sbin/chkconfig ]; then
449 /sbin/chkconfig --del wine
450fi
451
55a96819 452%files -f files.so
5c4ec57b 453%defattr(644,root,root,755)
47bd64d5 454%doc README AUTHORS ANNOUNCE
12b1296e 455%lang(de) %doc documentation/README.de
456%lang(es) %doc documentation/README.es
457%lang(fr) %doc documentation/README.fr
0aac4f59 458%lang(hu) %doc documentation/README.hu
12b1296e 459%lang(it) %doc documentation/README.it
7b9e958b 460%lang(ko) %doc documentation/README.ko
58a0e5f4 461%lang(nb) %doc documentation/README.no
12b1296e 462%lang(pt) %doc documentation/README.pt
74de5921 463%lang(pt_BR) %doc documentation/README.pt_br
0aac4f59
KK
464%lang(ru) %doc documentation/README.ru
465%lang(sv) %doc documentation/README.sv
466%lang(tr) %doc documentation/README.tr
82432451 467%attr(755,root,root) %{_bindir}/msiexec
beafc810
MM
468%ifnarch %{x8664}
469%attr(755,root,root) %{_bindir}/wine
470%else
471%attr(755,root,root) %{_bindir}/wine64
472%endif
d479f953 473%attr(755,root,root) %{_bindir}/wineboot
55a96819 474%attr(755,root,root) %{_bindir}/winedbg
0aac4f59 475%attr(755,root,root) %{_bindir}/winecfg
beafc810 476%ifnarch %{x8664}
f829f028 477%attr(755,root,root) %{_bindir}/wine-preloader
beafc810
MM
478%else
479%attr(755,root,root) %{_bindir}/wine64-preloader
f829f028 480%endif
beafc810 481%attr(755,root,root) %{_bindir}/wineserver
8a1d358f 482%attr(755,root,root) %{_libdir}/*.so*
861238d3 483%dir %{_libdir}/wine
61e39970 484%dir %{_libdir}/wine/fakedlls
485%{_libdir}/wine/fakedlls/*.acm
486%{_libdir}/wine/fakedlls/*.cpl
487%{_libdir}/wine/fakedlls/*.dll
beafc810
MM
488%ifarch %{ix86}
489%{_libdir}/wine/fakedlls/*.dll16
490%endif
61e39970 491%{_libdir}/wine/fakedlls/*.drv
beafc810
MM
492%ifarch %{ix86}
493%{_libdir}/wine/fakedlls/*.drv16
494%endif
61e39970 495%{_libdir}/wine/fakedlls/*.ds
496%{_libdir}/wine/fakedlls/*.exe
beafc810
MM
497%ifarch %{ix86}
498%{_libdir}/wine/fakedlls/*.exe16
499%{_libdir}/wine/fakedlls/*.mod16
500%endif
61e39970 501%{_libdir}/wine/fakedlls/*.ocx
502%{_libdir}/wine/fakedlls/*.sys
503%{_libdir}/wine/fakedlls/*.tlb
f829f028 504%ifarch %{ix86}
61e39970 505%{_libdir}/wine/fakedlls/*.vxd
f829f028 506%endif
f6cf693b 507%ifnarch %{x8664}
b86f1c34 508%{_mandir}/man1/wine.1*
47bd64d5
JK
509%lang(de) %{_mandir}/de/man1/wine.1*
510%lang(fr) %{_mandir}/fr/man1/wine.1*
511%lang(pl) %{_mandir}/pl/man1/wine.1*
f6cf693b
JK
512%else
513%{_mandir}/man1/wine64.1*
514%lang(de) %{_mandir}/de/man1/wine64.1*
515%lang(fr) %{_mandir}/fr/man1/wine64.1*
516%lang(pl) %{_mandir}/pl/man1/wine64.1*
517%endif
da274952
AG
518%{_mandir}/man1/msiexec.1*
519%{_mandir}/man1/wineboot.1*
520%{_mandir}/man1/winecfg.1*
72ede285 521%{_mandir}/man1/winedbg.1*
b86f1c34 522%{_mandir}/man1/wineserver.1*
ad4623a1
AM
523%lang(de) %{_mandir}/de/man1/wineserver.1*
524%lang(fr) %{_mandir}/fr/man1/wineserver.1*
a91c2692 525%{_winedir}
a6c536e0 526%{_desktopdir}/wine.desktop
76055aa1 527%{_desktopdir}/wine-uninstaller.desktop
887fffcf 528%{_pixmapsdir}/%{name}.png
5c4ec57b 529
55a96819 530%files programs -f files.programs
e8f81a0a 531%defattr(644,root,root,755)
e8f81a0a 532
5c4ec57b 533%files devel
534%defattr(644,root,root,755)
a26a3859 535%attr(755,root,root) %{_bindir}/sfnt2fon
d479f953 536%attr(755,root,root) %{_bindir}/function_grep.pl
d479f953 537%attr(755,root,root) %{_bindir}/widl
55a96819 538%attr(755,root,root) %{_bindir}/winebuild
55a96819 539%attr(755,root,root) %{_bindir}/winedump
1ae1bca2 540%attr(755,root,root) %{_bindir}/wineg++
d479f953 541%attr(755,root,root) %{_bindir}/winegcc
542%attr(755,root,root) %{_bindir}/winemaker
9a9c7643 543%attr(755,root,root) %{_bindir}/winecpp
55a96819 544%attr(755,root,root) %{_bindir}/wmc
d479f953 545%attr(755,root,root) %{_bindir}/wrc
7265d9f2
JB
546%{_libdir}/wine/lib*.def
547# no shared variants, so not separated
b93e474e 548%{_libdir}/wine/libadsiid.a
f73ad4b6 549%{_libdir}/wine/libdinput.a
ebbd62c0
GP
550%{_libdir}/wine/libdinput8.a
551%{_libdir}/wine/libdmoguids.a
7265d9f2 552%{_libdir}/wine/libdx*.a
f73ad4b6 553%{_libdir}/wine/libmfuuid.a
beafc810 554%{_libdir}/wine/libstrmbase.a
7265d9f2
JB
555%{_libdir}/wine/libstrmiids.a
556%{_libdir}/wine/libuuid.a
557%{_libdir}/wine/libwinecrt0.a
ebbd62c0 558%{_libdir}/wine/libwmcodecdspuuid.a
5c4ec57b 559%{_includedir}/wine
34f03014 560%{_mandir}/man1/widl.1*
0aac4f59 561%{_mandir}/man1/winebuild.1*
da274952 562%{_mandir}/man1/winecpp.1*
34f03014 563%{_mandir}/man1/winedump.1*
bff06719 564%{_mandir}/man1/winegcc.1*
5ec7e550 565%{_mandir}/man1/wineg++.1*
34f03014 566%{_mandir}/man1/winemaker.1*
0aac4f59 567%lang(de) %{_mandir}/de/man1/winemaker.1*
6ebf503e 568%lang(fr) %{_mandir}/fr/man1/winemaker.1*
34f03014
JB
569%{_mandir}/man1/wmc.1*
570%{_mandir}/man1/wrc.1*
2b5050a8 571%{_aclocaldir}/*.m4
f18f723c 572
beafc810
MM
573%files dll-capi
574%defattr(644,root,root,755)
575%attr(755,root,root) %{_libdir}/wine/capi2032.dll.so
576
16e36f25
JB
577%files dll-d3d
578%defattr(644,root,root,755)
579%attr(755,root,root) %{_libdir}/wine/d3d8.dll.so
580%attr(755,root,root) %{_libdir}/wine/d3d9.dll.so
16e36f25
JB
581%attr(755,root,root) %{_libdir}/wine/wined3d.dll.so
582
583%files dll-gl
584%defattr(644,root,root,755)
585%attr(755,root,root) %{_libdir}/wine/glu32.dll.so
586%attr(755,root,root) %{_libdir}/wine/opengl32.dll.so
587
588%if %{with sane}
589%files dll-twain
590%defattr(644,root,root,755)
b08b16bf 591%attr(755,root,root) %{_libdir}/wine/sane.ds.so
72878a4c 592%attr(755,root,root) %{_libdir}/wine/twain*.dll.so
16e36f25
JB
593%endif
594
9d6715c4
ER
595%if %{with ldap}
596%files dll-ldap
597%defattr(644,root,root,755)
598%attr(755,root,root) %{_libdir}/wine/wldap*.dll.so
599%endif
600
16e36f25
JB
601%if %{with alsa}
602%files drv-alsa
603%defattr(644,root,root,755)
604%attr(755,root,root) %{_libdir}/wine/winealsa.drv.so
605%endif
606
16e36f25 607# additional dependencies in *.so not separated (yet?) from main package
b1df4aa7
JB
608# ddraw.dll.so,winex11.drv.so depend on X11 libs
609# ole2disp.dll16.so,oleaut32.dll.so,typelib.dll16.so depend on libX11
This page took 0.574344 seconds and 4 git commands to generate.