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