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