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