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