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