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