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