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