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