3 %bcond_without odbc # without ODBC support
4 %bcond_without gtk # without wxGTK packages
5 %bcond_without gtk2 # without wxGTK2 packages
6 %bcond_without x11 # without wxX11 packages
7 %bcond_without gl # without *-gl* packages
8 %bcond_without unicode # without *-unicode* packages
9 %bcond_without nounicode # only unicode packages
10 %bcond_without univ # without *-univ* packages
11 %bcond_without nouniv # only univ packages
12 %bcond_with debug # build with \--enable-debug
13 # (binary incompatible with non-debug)
14 %bcond_with motif # without wxMotif packages
19 # - use external stc for contrib/src/stc
20 # - use system iODBC or unixODBC (--with-odbc=sys but this prefer iODBC and if not found uses unixODBC)
21 # - check ODBC in unicode build
22 # - separate contrib extensions
23 # - review all Summary and %%description
24 # - fix %%_with_debug build (filenames with 'd')
26 # - build demos for X11,unicode,univ (smallest deps)
28 # contrib/utils/wxrc build fine with gtk2-nounicode
29 # contrib/utils/wxrcedit segvfaults on gtk2-nounicode (wxPen::operator==)
30 # utils/HelpGen build fine on gtk2-nounicode (depend only on base lib)
31 # utils/emulator build and work fine on gtk2-nounicode
32 # utils/helpview build and work fine on gtk2-nounicode
33 # utils/hhp2cached build fine on gtk2-nounicode
34 # utils/tex2rtf build fine on gtk2-nounicode (depend only on base lib)
35 # but not in gtk2-unicode
36 # ../../../.././utils/tex2rtf/src/tex2any.cpp:2716:1: converting to execution character set: Invalid or incomplete multibyte or wide character
37 # this line contains £ aka POUNDS, probably changing it to octal value fix this issue
38 Summary: wxWidgets library
39 Summary(pl): Biblioteka wxWidgets
43 License: wxWidgets Licence
45 Source0: http://dl.sourceforge.net/wxwindows/wxAll-%{version}.tar.gz
46 # Source0-md5: 33994e85efc06307977d2ddb9cbd91a1
47 #Source1: ftp://biolpc22.york.ac.uk/pub/2.5.2/wxWidgets-2.5.2-Patch01.tar.gz
48 ## Source1-md5: 22f8177c509c058685146b295d9de866
49 Patch0: %{name}-samples.patch
50 Patch1: %{name}-eggtrayicon.patch
51 Patch2: %{name}-utils.patch
52 URL: http://www.wxWidgets.org/
53 %{?with_gl:BuildRequires: OpenGL-devel}
54 # FIXME: only for sdl.m4
55 BuildRequires: SDL-devel
56 BuildRequires: autoconf
57 BuildRequires: automake
58 BuildRequires: bakefile >= 0.1.4
60 BuildRequires: cppunit-devel
61 BuildRequires: esound-devel
62 BuildRequires: expat-devel
64 BuildRequires: gettext-devel
65 BuildRequires: gtk+-devel >= 1.2.7
66 BuildRequires: libjpeg-devel
67 BuildRequires: libmng-devel
68 BuildRequires: libpng-devel
69 BuildRequires: libstdc++-devel
70 BuildRequires: libtiff-devel
71 BuildRequires: libtool
72 %{?with_gtk2:BuildRequires: gtk+2-devel}
73 %{?with_motif:BuildRequires: motif-devel}
74 %{?with_unicode:BuildRequires: pango-devel}
75 Obsoletes: wxwin-common
76 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78 %define _sysconfdir %{_datadir}
80 %define _noautoreqdep libGL.so.1 libGLU.so.1
82 # detect bcond conflicts (don't move this)
83 %{!?with_unicode:%{!?with_nounicode:%{error: --without unicode + --without nounicode = NULL} exit 1}}
84 %{!?with_univ:%{!?with_nouniv:%{error: --without univ + --without nouniv = NULL} exit 1}}
85 %{!?with_motif:%{!?with_x11:%{!?with_gtk:%{!?with_gtk2:%{error:bconds conflit detected} exit 1}}}}
88 wxWidgets is a free C++ library for cross-platform GUI development.
89 With wxWidgets, you can create applications for different GUIs (GTK+,
90 Motif/LessTif, MS Windows, Mac) from the same source code.
93 wxWidgets to wolnodostêpna biblioteka napisana w C++ umo¿liwiaj±ca
94 rozwijanie wieloplatformowych programów GUI. Przy u¿yciu wxWidgets
95 mo¿na tworzyæ aplikacje dla ró¿nych GUI (GTK+, Motif/LessTif, MS
96 Windows, Mac) z tego samego kodu ¼ród³owego.
99 Summary: Font metrics common for wxGTK, wxGTK2, wxMotif i wxX11
100 Summary(pl): Metryki fontów wspólne dla wxGTK, wxGTK2, wxMotif i wxX11
102 Requires: %{name} = %{version}-%{release}
106 Font metrics (in AFM format) common for wxGTK, wxGTK2, wxMotif and
109 %description afm -l pl
110 Metryki fontów (w formacie AFM) wspólne dla bibliotek wxGTK, wxGTK2,
114 Summary: wxWidgets header files and development documentation
115 Summary(pl): Pliki nag³ówkowe i dokumentacja do wxWidgets
116 Group: X11/Development/Libraries
117 Requires: libstdc++-devel
120 Header files and development documentation for the wxWidgets
123 %description devel -l pl
124 Pliki nag³ówkowe i dokumentacja do bibliotek wxWidgets.
127 Summary: wxWidgets example programs
128 Summary(pl): Przyk³adowe programy wxWidgets
129 Group: X11/Development/Libraries
130 Requires: %{name}-devel = %{version}-%{release}
132 %description examples
133 wxWidgets example programs.
135 %description examples -l pl
136 Przyk³adowe programy wxWidgets.
139 Summary: Help file generator for wxWidgets programs
140 Summary(pl): Generator plików pomocy dla programów wxWidgets
141 Group: Development/Tools
142 Requires: wxBase = %{version}-%{release}
145 Help file generator for wxWidgets programs.
147 %description HelpGen -l pl
148 Generator plików pomocy dla programów wxWidgets.
151 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit
152 Summary(pl): wxBase - biblioteka klas wxWidgets nie zwi±zanych z GUI
154 Requires: %{name} = %{version}-%{release}
156 %description -n wxBase
157 wxBase is a collection of C++ classes providing basic data structures
158 (strings, lists, arrays), powerful wxDateTime class for date
159 manipulations, portable wrappers around many OS-specific functions
160 allowing to build the same program under all supported folders,
161 wxThread class for writing multithreaded programs using either Win32
162 or POSIX threads and much more. wxBase currently supports the
163 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
164 HP-UX, ...) and BeOS.
166 %description -n wxBase -l pl
167 wxBase jest zestawem klas C++ obs³uguj±cych podstawowe struktury
168 danych (stringi, listy, tablice), klasê wxDateTime do operacji na
169 datach, przeno¶ne wrappery do wielu funkcji zale¿nych od systemu
170 operacyjnego pozwalaj±ce na zbudowanie tego samego programu w ró¿nych
171 ¶rodowiskach, klasê wxThread do pisania programów wielow±tkowych
172 u¿ywaj±cych w±tków Win32 albo POSIX i inne. wxBase obs³uguje
173 platformy: Win32, Unix i BeOS.
175 %package -n wxBase-devel
176 Summary: wxBase headers needed for developping with wxBase
177 Summary(pl): Pliki nag³ówkowe do wxBase
178 Group: X11/Development/Libraries
179 Requires: %{name}-devel = %{version}-%{release}
180 Requires: wxBase = %{version}-%{release}
182 %description -n wxBase-devel
183 Header files for wxBase. You need them to develop programs using
186 %description -n wxBase-devel -l pl
187 Pliki nag³ówkowe do biblioteki wxBase.
189 %package -n wxBase-unicode
190 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit with UNICODE support
191 Summary(pl): wxBase - biblioteka klas wxWidgets nie zwi±zanych z GUI ze wsparciem dla UNICODE
193 Requires: %{name} = %{version}-%{release}
195 %description -n wxBase-unicode
196 wxBase is a collection of C++ classes providing basic data structures
197 (strings, lists, arrays), powerful wxDateTime class for date
198 manipulations, portable wrappers around many OS-specific functions
199 allowing to build the same program under all supported folders,
200 wxThread class for writing multithreaded programs using either Win32
201 or POSIX threads and much more. wxBase currently supports the
202 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
203 HP-UX, ...) and BeOS. This version is build with UNICODE support.
205 %description -n wxBase-unicode -l pl
206 wxBase jest zestawem klas C++ obs³uguj±cych podstawowe struktury
207 danych (stringi, listy, tablice), klasê wxDateTime do operacji na
208 datach, przeno¶ne wrappery do wielu funkcji zale¿nych od systemu
209 operacyjnego pozwalaj±ce na zbudowanie tego samego programu w ró¿nych
210 ¶rodowiskach, klasê wxThread do pisania programów wielow±tkowych
211 u¿ywaj±cych w±tków Win32 albo POSIX i inne. wxBase obs³uguje
212 platformy: Win32, Unix i BeOS. Ta wersja jest zbudowana z obs³ug±
215 %package -n wxBase-unicode-devel
216 Summary: wxBase headers needed for developping with UNICODE-enabled wxBase
217 Summary(pl): Pliki nag³ówkowe do wxBase z obs³ug± UNICODE
218 Group: X11/Development/Libraries
219 Requires: %{name}-devel = %{version}-%{release}
220 Requires: wxBase-unicode = %{version}-%{release}
222 %description -n wxBase-unicode-devel
223 Header files for wxBase. You need them to develop programs using
224 UNICODE-enabled wxBase.
226 %description -n wxBase-unicode-devel -l pl
227 Pliki nag³ówkowe do biblioteki wxBase z obs³ug± UNICODE.
230 Summary: wxGTK library
231 Summary(pl): Biblioteka wxGTK
233 Requires: %{name} = %{version}-%{release}
234 Requires: %{name}-afm = %{version}-%{release}
236 %description -n wxGTK
237 wxWidgets library using GTK+ widgets.
239 %description -n wxGTK -l pl
240 Biblioteka wxWidgets u¿ywaj±ca widgetów GTK+.
242 %package -n wxGTK-devel
243 Summary: Header files for wxGTK library
244 Summary(pl): Pliki nag³ówkowe biblioteki wxGTK
245 Group: X11/Development/Libraries
246 Requires: wxGTK = %{version}-%{release}
247 Requires: %{name}-devel = %{version}-%{release}
249 %description -n wxGTK-devel
250 Header files for wxWidgets library using GTK+ widgets.
252 %description -n wxGTK-devel -l pl
253 Pliki nag³ówkowe dla biblioteki wxWidgets u¿ywaj±cej widgetów GTK+.
256 Summary: GL canvas library for wxGTK
257 Summary(pl): Biblioteka GL dla wxGTK
259 Requires: wxGTK = %{version}-%{release}
262 %description -n wxGTK-gl
263 GL canvas library for wxGTK.
265 %description -n wxGTK-gl -l pl
266 Biblioteka GL dla wxGTK.
268 %package -n wxGTK-gl-devel
269 Summary: Development files for GL canvas library for wxGTK
270 Summary(pl): Pliki programistyczne biblioteki GL dla wxGTK
271 Group: X11/Development/Libraries
272 Requires: wxGTK-devel = %{version}-%{release}
273 Requires: wxGTK-gl = %{version}-%{release}
274 Requires: OpenGL-devel
276 %description -n wxGTK-gl-devel
277 Development files for GL canvas library for wxGTK.
279 %description -n wxGTK-gl-devel -l pl
280 Pliki programistyczne biblioteki GL dla wxGTK.
282 %package -n wxGTK-univ
283 Summary: wxUniversal-based wxGTK library
284 Summary(pl): Oparta na wxUniversal biblioteka wxGTK
286 Requires: %{name} = %{version}-%{release}
287 Requires: %{name}-afm = %{version}-%{release}
289 %description -n wxGTK-univ
290 wxUniversal-based wxWidgets library using GTK+ widgets.
292 %description -n wxGTK-univ -l pl
293 Oparta na wxUniversal biblioteka wxWidgets u¿ywaj±ca widgetów GTK.
295 %package -n wxGTK-univ-devel
296 Summary: Header files for wxUniversal-based wxGTK library
297 Summary(pl): Pliki nag³ówkowe opartej na wxUniversal biblioteki wxGTK
298 Group: X11/Development/Libraries
299 Requires: wxGTK-univ = %{version}-%{release}
300 Requires: %{name}-devel = %{version}-%{release}
302 %description -n wxGTK-univ-devel
303 Header files for wxUniversal-based wxWidgets library using GTK
306 %description -n wxGTK-univ-devel -l pl
307 Pliki nag³ówkowe opartej na wxUniversal biblioteki wxWidgets
308 u¿ywaj±cej widgetów GTK.
310 %package -n wxGTK-univ-gl
311 Summary: GL canvas library for wxUniversal-based wxGTK
312 Summary(pl): Biblioteka GL dla opartej na wxUniversal wxGTK
314 Requires: wxGTK-univ = %{version}-%{release}
317 %description -n wxGTK-univ-gl
318 GL canvas library for wxUniversal-based wxGTK.
320 %description -n wxGTK-univ-gl -l pl
321 Biblioteka GL dla opartej na wxUniversal wxGTK.
323 %package -n wxGTK-univ-gl-devel
324 Summary: Development files for GL canvas library for wxUniversal-based wxGTK2
325 Summary(pl): Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxGTK2
326 Group: X11/Development/Libraries
327 Requires: wxGTK-univ-devel = %{version}-%{release}
328 Requires: wxGTK-univ-gl = %{version}-%{release}
329 Requires: OpenGL-devel
331 %description -n wxGTK-univ-gl-devel
332 Development files for GL canvas library for wxUniversal-based wxGTK2.
334 %description -n wxGTK-univ-gl-devel -l pl
335 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxGTK2.
338 Summary: wxGTK2 library
339 Summary(pl): Biblioteka wxGTK2
341 Requires: %{name} = %{version}-%{release}
342 Requires: %{name}-afm = %{version}-%{release}
344 %description -n wxGTK2
345 wxWidgets library using GTK2 widgets.
347 %description -n wxGTK2 -l pl
348 Biblioteka wxWidgets u¿ywaj±ca widgetów GTK2.
350 %package -n wxGTK2-devel
351 Summary: Header files for wxGTK2 library
352 Summary(pl): Pliki nag³ówkowe biblioteki wxGTK2
353 Group: X11/Development/Libraries
354 Requires: wxGTK2 = %{version}-%{release}
355 Requires: %{name}-devel = %{version}-%{release}
357 %description -n wxGTK2-devel
358 Header files for wxWidgets library using GTK2 widgets.
360 %description -n wxGTK2-devel -l pl
361 Pliki nag³ówkowe dla biblioteki wxWidgets u¿ywaj±cej widgetów GTK2.
363 %package -n wxGTK2-gl
364 Summary: GL canvas library for wxGTK2
365 Summary(pl): Biblioteka GL dla wxGTK2
367 Requires: wxGTK2 = %{version}-%{release}
370 %description -n wxGTK2-gl
371 wxGTK2 GL canvas library.
373 %description -n wxGTK2-gl -l pl
374 Biblioteka GL dla wxGTK2.
376 %package -n wxGTK2-gl-devel
377 Summary: Development files for GL canvas library for wxGTK2
378 Summary(pl): Pliki programistyczne biblioteki GL dla wxGTK2
379 Group: X11/Development/Libraries
380 Requires: wxGTK2-devel = %{version}-%{release}
381 Requires: wxGTK2-gl = %{version}-%{release}
382 Requires: OpenGL-devel
384 %description -n wxGTK2-gl-devel
385 Development files for wxGTK2 GL canvas library.
387 %description -n wxGTK2-gl-devel -l pl
388 Pliki programistyczne biblioteki GL dla wxGTK2.
390 %package -n wxGTK2-unicode
391 Summary: wxGTK2 library with UNICODE support
392 Summary(pl): Biblioteka wxGTK2 z obs³ug± UNICODE
394 Requires: %{name} = %{version}-%{release}
395 Requires: %{name}-afm = %{version}-%{release}
397 %description -n wxGTK2-unicode
398 wxWidgets library using GTK2 widgets with UNICODE support.
400 %description -n wxGTK2-unicode -l pl
401 Biblioteka wxWidgets u¿ywaj±ca widgetów GTK2 z obs³ug± UNICODE.
403 %package -n wxGTK2-unicode-devel
404 Summary: Header files for wxGTK2 library with UNICODE support
405 Summary(pl): Pliki nag³ówkowe biblioteki wxGTK2 z obs³ug± UNICODE
406 Group: X11/Development/Libraries
407 Requires: wxGTK2-unicode = %{version}-%{release}
408 Requires: %{name}-devel = %{version}-%{release}
410 %description -n wxGTK2-unicode-devel
411 Header files for wxWidgets library using GTK2 widgets with UNICODE
414 %description -n wxGTK2-unicode-devel -l pl
415 Pliki nag³ówkowe biblioteki wxWidgets u¿ywaj±cej widgetów GTK2 z
418 %package -n wxGTK2-unicode-gl
419 Summary: GL canvas library for wxGTK2 with UNICODE support
420 Summary(pl): Biblioteka GL dla wxGTK2 z obs³ug± UNICODE
422 Requires: wxGTK2-unicode = %{version}-%{release}
425 %description -n wxGTK2-unicode-gl
426 GL canvas library for wxGTK2 with UNICODE support.
428 %description -n wxGTK2-unicode-gl -l pl
429 Biblioteka GL dla wxGTK2 z obs³ug± UNICODE.
431 %package -n wxGTK2-unicode-gl-devel
432 Summary: Development files for GL canvas library for wxGTK2 with UNICODE support
433 Summary(pl): Pliki programistyczne biblioteki GL dla wxGTK2 z obs³ug± UNICODE
434 Group: X11/Development/Libraries
435 Requires: wxGTK2-unicode-devel = %{version}-%{release}
436 Requires: wxGTK2-unicode-gl = %{version}-%{release}
437 Requires: OpenGL-devel
439 %description -n wxGTK2-unicode-gl-devel
440 Development files for GL canvas library for wxGTK2 with UNICODE
443 %description -n wxGTK2-unicode-gl-devel -l pl
444 Pliki programistyczne biblioteki GL dla wxGTK2 z obs³ug± UNICODE.
446 %package -n wxGTK2-univ
447 Summary: wxUniversal-based wxGTK2 library
448 Summary(pl): Oparta na wxUniversal biblioteka wxGTK2
450 Requires: %{name} = %{version}-%{release}
451 Requires: %{name}-afm = %{version}-%{release}
453 %description -n wxGTK2-univ
454 wxUniversal-based wxWidgets library using GTK2 widgets.
456 %description -n wxGTK2-univ -l pl
457 Oparta na wxUniversal biblioteka wxWidgets u¿ywaj±ca widgetów GTK2.
459 %package -n wxGTK2-univ-devel
460 Summary: Header files for wxUniversal-based wxGTK2 library
461 Summary(pl): Pliki nag³ówkowe opartej na wxUniversal biblioteki wxGTK2
462 Group: X11/Development/Libraries
463 Requires: wxGTK2-univ = %{version}-%{release}
464 Requires: %{name}-devel = %{version}-%{release}
466 %description -n wxGTK2-univ-devel
467 Header files for wxUniversal-based wxWidgets library using GTK2
470 %description -n wxGTK2-univ-devel -l pl
471 Pliki nag³ówkowe opartej na wxUniversal biblioteki wxWidgets
472 u¿ywaj±cej widgetów GTK2.
474 %package -n wxGTK2-univ-gl
475 Summary: GL canvas library for wxUniversal-based wxGTK2
476 Summary(pl): Biblioteka GL dla opartej na wxUniversal wxGTK2
478 Requires: wxGTK2-univ = %{version}-%{release}
481 %description -n wxGTK2-univ-gl
482 GL canvas library for wxUniversal-based wxGTK2.
484 %description -n wxGTK2-univ-gl -l pl
485 Biblioteka GL dla opartej na wxUniversal wxGTK2.
487 %package -n wxGTK2-univ-gl-devel
488 Summary: Development files for GL canvas library for wxUniversal-based wxGTK2
489 Summary(pl): Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxGTK2
491 Group: X11/Development/Libraries
492 Requires: wxGTK2-univ-devel = %{version}-%{release}
493 Requires: wxGTK2-univ-gl = %{version}-%{release}
494 Requires: OpenGL-devel
496 %description -n wxGTK2-univ-gl-devel
497 Development files for GL canvas library for wxUniversal-based wxGTK2.
499 %description -n wxGTK2-univ-gl-devel -l pl
500 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxGTK2.
502 %package -n wxGTK2-univ-unicode
503 Summary: wxUniversal-based wxGTK2 library with UNICODE support
504 Summary(pl): Oparta na wxUniversal biblioteka wxGTK2 z obs³ug± UNICODE
506 Requires: %{name} = %{version}-%{release}
507 Requires: %{name}-afm = %{version}-%{release}
509 %description -n wxGTK2-univ-unicode
510 wxUniversal-based wxWidgets library using GTK2 widgets with UNICODE
513 %description -n wxGTK2-univ-unicode -l pl
514 Oparta na wxUniversal biblioteka wxWidgets u¿ywaj±ca widgetów GTK2 z
517 %package -n wxGTK2-univ-unicode-devel
518 Summary: Header files for wxUniversal-based wxGTK2 library with UNICODE support
519 Summary(pl): Pliki nag³ówkowe opartej na wxUniversal biblioteki wxGTK2 z obs³ug± UNICODE
520 Group: X11/Development/Libraries
521 Requires: wxGTK2-univ-unicode = %{version}-%{release}
522 Requires: %{name}-devel = %{version}-%{release}
524 %description -n wxGTK2-univ-unicode-devel
525 Header files for wxUniversal-based wxWidgets library using GTK2
526 widgets with UNICODE support.
528 %description -n wxGTK2-univ-unicode-devel -l pl
529 Pliki nag³ówkowe opartej na wxUniversal biblioteki wxWidgets
530 u¿ywaj±cej widgetów GTK2 z obs³ug± UNICODE.
532 %package -n wxGTK2-univ-unicode-gl
533 Summary: GL canvas library for wxUniversal-based wxGTK2 with UNICODE support
534 Summary(pl): Biblioteka GL dla opartej na wxUniversal wxGTK2 z obs³ug± UNICODE
536 Requires: wxGTK2-univ-unicode = %{version}-%{release}
539 %description -n wxGTK2-univ-unicode-gl
540 GL canvas library for wxUniversal-based wxGTK2 with UNICODE support.
542 %description -n wxGTK2-univ-unicode-gl -l pl
543 Biblioteka GL dla opartej na wxUniversal wxGTK2 z obs³ug± UNICODE.
545 %package -n wxGTK2-univ-unicode-gl-devel
546 Summary: Development files for GL canvas library for wxGTK2-univ with UNICODE support
547 Summary(pl): Pliki programistyczne biblioteki GL dla wxGTK2-univ z obs³ug± UNICODE
549 Group: X11/Development/Libraries
550 Requires: wxGTK2-univ-unicode-devel = %{version}-%{release}
551 Requires: wxGTK2-univ-unicode-gl = %{version}-%{release}
552 Requires: OpenGL-devel
554 %description -n wxGTK2-univ-unicode-gl-devel
555 Development files for GL canvas library for wxUnicode-based wxGTK2
556 with UNICODE support.
558 %description -n wxGTK2-univ-unicode-gl-devel -l pl
559 Pliki programistyczne biblioteki GL dla opartej na wxUnicode wxGTK2 z
563 Summary: wxWidgets library - Motif port
564 Summary(pl): biblioteka wxWidgets - port Motif
566 Requires: %{name} = %{version}-%{release}
567 Requires: %{name}-afm = %{version}-%{release}
569 %description -n wxMotif
570 wxWidgets is a free C++ library for cross-platform GUI development.
571 With wxWidgets, you can create applications for different GUIs (GTK+,
572 Motif/LessTif, MS Windows, Mac) from the same source code. This
573 package contains wxWidgets library using Motif widgets.
575 %description -n wxMotif -l pl
576 wxWidgets to darmowa biblioteka napisana w C++ umi¿liwiaj±ca
577 rozwijanie wielo-platformowych programów GUI. Z wxWidgets mo¿esz
578 tworzyæ aplikacje dla ró¿nych GUI (GTK+, Motif/LessTif, MS Windows,
579 Mac) z tego samego kodu ¼ród³owego. Ten pakiet zawiera bibliotekê
580 wxWidgets u¿ywaj±c± widgetów Motif.
582 %package -n wxMotif-devel
583 Summary: wxMotif header files and development documentation
584 Summary(pl): Pliki nag³ówkowe i dokumentacja do wxMotif
585 Group: X11/Development/Libraries
586 Requires: %{name}-devel = %{version}-%{release}
587 Requires: wxMotif = %{version}-%{release}
589 %description -n wxMotif-devel
590 Header files and development documentation for the wxMotif library.
592 %description -n wxMotif-devel -l pl
593 Pliki nag³ówkowe i dokumentacja do biblioteki wxMotif.
595 %package -n wxMotif-gl
596 Summary: GL canvas library for wxMotif
597 Summary(pl): Biblioteka GL dla wxMotif
599 Requires: wxMotif = %{version}-%{release}
602 %description -n wxMotif-gl
603 GL canvas library for wxMotif.
605 %description -n wxMotif-gl -l pl
606 Biblioteka GL dla wxMotif.
608 %package -n wxMotif-gl-devel
609 Summary: Development files for GL canvas library for wxMotif
610 Summary(pl): Pliki programistyczne biblioteki GL dla wxMotif
612 Requires: wxMotif-devel = %{version}-%{release}
613 Requires: wxMotif-gl = %{version}-%{release}
614 Requires: OpenGL-devel
616 %description -n wxMotif-gl-devel
617 Development files for GL canvas library for wxMotif.
619 %description -n wxMotif-gl-devel -l pl
620 Pliki programistyczne biblioteki GL dla wxMotif.
623 Summary: Misc utils from wxWidgets project
624 Summary(pl): Ró¿ne narzêdzia z projektu wxWidgets
625 Group: X11/Development/Tools
626 Requires: wxX11-univ = %{version}-%{release}
629 Misc utils from wxWidgets project: helpviewer, makegen, etc.
631 %description utils -l pl
632 Ró¿ne narzêdzia z projektu wxWidgets: helpviewer, makegen itp.
634 %package -n wxX11-univ
635 Summary: wxUniversal-based wxX11 library
636 Summary(pl): Oparta na wxUniversal biblioteka wxX11
638 Requires: %{name} = %{version}-%{release}
639 Requires: %{name}-afm = %{version}-%{release}
641 %description -n wxX11-univ
642 wxUniversal-based wxX11 library.
644 %description -n wxX11-univ -l pl
645 Oparta na wxUniversal biblioteka wxX11.
647 %package -n wxX11-univ-devel
648 Summary: Header files for wxUniversal-based wxX11 library
649 Summary(pl): Pliki nag³ówkowe opartej na wxUniversal biblioteki wxX11
651 Requires: %{name}-devel = %{version}-%{release}
652 Requires: wxX11-univ = %{version}-%{release}
654 %description -n wxX11-univ-devel
655 Header files for wxUniversal-based wxX11 library.
657 %description -n wxX11-univ-devel -l pl
658 Pliki nag³ówkowe opartej na wxUniversal biblioteki wxX11.
660 %package -n wxX11-univ-gl
661 Summary: GL canvas library for wxUniversal-based wxX11
662 Summary(pl): Biblioteka GL dla opartej na wxUniversal wxX11
664 Requires: wxX11-univ = %{version}-%{release}
667 %description -n wxX11-univ-gl
668 GL canvas library for wxUniversal-based wxX11.
670 %description -n wxX11-univ-gl -l pl
671 Biblioteka GL dla opartej na wxUniversal wxX11.
673 %package -n wxX11-univ-gl-devel
674 Summary: Development files for GL canvas library for wxUniversal-based wxX11
675 Summary(pl): Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11
676 Group: X11/Development/Libraries
677 Requires: wxX11-univ-gl = %{version}-%{release}
678 Requires: wxX11-univ-devel = %{version}-%{release}
679 Requires: OpenGL-devel
681 %description -n wxX11-univ-gl-devel
682 Development files for GL canvas library for wxUniversal-based wxX11.
684 %description -n wxX11-univ-gl-devel -l pl
685 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11.
687 %package -n wxX11-univ-unicode
688 Summary: wxUniversal-based wxX11 library with UNICODE support
689 Summary(pl): Oparta na wxUniversal biblioteka wxX11 z obs³ug± UNICODE
691 Requires: %{name} = %{version}-%{release}
692 Requires: %{name}-afm = %{version}-%{release}
694 %description -n wxX11-univ-unicode
695 wxUniversal-based wxX11 library with UNICODE support.
697 %description -n wxX11-univ-unicode -l pl
698 Oparta na wxUniversal biblioteka wxX11 z obs³ug± UNICODE.
700 %package -n wxX11-univ-unicode-devel
701 Summary: Header files for wxUniversal-based wxX11 library with UNICODE support
702 Summary(pl): Pliki nag³ówkowe opartej na wxUniversal biblioteki wxX11 z obs³ug± UNICODE
703 Group: X11/Development/Libraries
704 Requires: %{name}-devel = %{version}-%{release}
705 Requires: wxX11-univ-unicode = %{version}-%{release}
707 %description -n wxX11-univ-unicode-devel
708 Header files for wxUniversal-based wxX11 library with UNICODE support.
710 %description -n wxX11-univ-unicode-devel -l pl
711 Pliki nag³ówkowe opartej na wxUniversal biblioteki wxX11 z obs³ug± UNICODE.
713 %package -n wxX11-univ-unicode-gl
714 Summary: GL canvas library for wxUniversal-based wxX11 with UNICODE support
715 Summary(pl): Biblioteka GL dla opartej na wxUniversal wxX11 z obs³ug± UNICODE
717 Requires: wxX11-univ-unicode = %{version}-%{release}
720 %description -n wxX11-univ-unicode-gl
721 GL canvas library for wxUniversal-based wxX11 with UNICODE support.
723 %description -n wxX11-univ-unicode-gl -l pl
724 Biblioteka GL dla opartej na wxUniversal wxX11 z obs³ug± UNICODE.
726 %package -n wxX11-univ-unicode-gl-devel
727 Summary: Development files for GL canvas library for wxX11-univ with UNICODE support
728 Summary(pl): Pliki programistyczne biblioteki GL dla wxX11-univ z obs³ug± UNICODE
729 Group: X11/Development/Libraries
730 Requires: wxX11-univ-unicode-gl = %{version}-%{release}
731 Requires: wxX11-univ-unicode-devel = %{version}-%{release}
732 Requires: OpenGL-devel
734 %description -n wxX11-univ-unicode-gl-devel
735 Development files for GL canvas library for wxUniversal-based wxX11
736 with UNICODE support.
738 %description -n wxX11-univ-unicode-gl-devel -l pl
739 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11 z
768 cp /usr/share/automake/config.sub .
785 CPPFLAGS="-I`pwd`/include -I/usr/X11R6/include"; export CPPFLAGS
786 # avoid adding -s to LDFLAGS
787 LDFLAGS=" "; export LDFLAGS
788 common_args="%{?with_debug:--enable-debug}%{!?with_debug:--disable-debug} \
789 --disable-monolithic \
795 --enable-permissive \
798 --enable-std_iostreams \
802 gui_args="--with-libjpeg=sys \
805 %{?with_gl:--with-opengl} \
815 gui='--with-gtk --enable-gtk2'
816 for unicode in %{?with_nounicode:'--disable-unicode %{?with_odbc:--with-odbc}'} \
817 %{?with_unicode:'--enable-unicode'} ; do
818 for univ in %{?with_univ:'--enable-universal'} %{?with_nouniv:'--disable-universal'}; do
819 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
829 %{__make} -C contrib/src
835 %if %{with x11} && %{with univ}
836 univ='--enable-universal'
838 for unicode in %{?with_nounicode:'--disable-unicode %{?with_odbc:--with-odbc}'} \
839 %{?with_unicode:'--enable-unicode'} ; do
840 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
850 %{__make} -C contrib/src
851 if echo $objdir| grep -q disable-unicode ; then
853 %{__make} -C utils/emulator
854 %{__make} -C contrib/utils
860 %if %{with gtk} && %{with nounicode}
861 unicode='--disable-unicode %{?with_odbc:--with-odbc}'
863 for univ in %{?with_univ:'--enable-universal'} %{?with_nouniv:'--disable-universal'}; do
864 # think about wine and nanox
865 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
875 %{__make} -C contrib/src
880 %if %{with motif} && %{with nounicode} && %{with nouniv}
881 unicode='--disable-unicode %{?with_odbc:--with-odbc}'
883 univ='--disable-universal'
884 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
894 %{__make} -C contrib/src
903 rm -rf $RPM_BUILD_ROOT
904 install -d $RPM_BUILD_ROOT%{_bindir}
907 gui='--with-gtk --enable-gtk2'
908 for unicode in %{?with_nounicode:'--disable-unicode %{?with_odbc:--with-odbc}'} \
909 %{?with_unicode:'--enable-unicode'} ; do
910 for univ in %{?with_univ:'--enable-universal'} %{?with_nouniv:'--disable-universal'}; do
911 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
914 prefix=$RPM_BUILD_ROOT%{_prefix} \
915 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
916 bindir=$RPM_BUILD_ROOT%{_bindir} \
917 datadir=$RPM_BUILD_ROOT%{_datadir} \
918 libdir=$RPM_BUILD_ROOT%{_libdir} \
919 mandir=$RPM_BUILD_ROOT%{_mandir} \
920 includedir=$RPM_BUILD_ROOT%{_includedir}
922 %{__make} -C contrib/src install \
923 prefix=$RPM_BUILD_ROOT%{_prefix} \
924 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
925 bindir=$RPM_BUILD_ROOT%{_bindir} \
926 datadir=$RPM_BUILD_ROOT%{_datadir} \
927 libdir=$RPM_BUILD_ROOT%{_libdir} \
928 mandir=$RPM_BUILD_ROOT%{_mandir} \
929 includedir=$RPM_BUILD_ROOT%{_includedir}
936 %if %{with x11} && %{with univ}
937 univ='--enable-universal'
939 for unicode in %{?with_nounicode:'--disable-unicode %{?with_odbc:--with-odbc}'} \
940 %{?with_unicode:'--enable-unicode'} ; do
941 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
944 prefix=$RPM_BUILD_ROOT%{_prefix} \
945 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
946 bindir=$RPM_BUILD_ROOT%{_bindir} \
947 datadir=$RPM_BUILD_ROOT%{_datadir} \
948 libdir=$RPM_BUILD_ROOT%{_libdir} \
949 mandir=$RPM_BUILD_ROOT%{_mandir} \
950 includedir=$RPM_BUILD_ROOT%{_includedir}
951 if echo $objdir| grep -q disable-unicode ; then
952 install utils/dialoged/src/DialogEd $RPM_BUILD_ROOT%{_bindir}
953 # TODO: install default config files and default backgrouds
954 install utils/emulator/src/emulator $RPM_BUILD_ROOT%{_bindir}
955 install utils/tex2rtf/src/tex2rtf $RPM_BUILD_ROOT%{_bindir}
956 install utils/hhp2cached/hhp2cached $RPM_BUILD_ROOT%{_bindir}
957 install utils/makegen/makegen $RPM_BUILD_ROOT%{_bindir}
958 install -d $RPM_BUILD_ROOT%{_datadir}/wx/makegen/templates
959 install -m644 utils/makegen/templates/* \
960 $RPM_BUILD_ROOT%{_datadir}/wx/makegen/templates
961 install contrib/utils/wxrc/wxrc $RPM_BUILD_ROOT%{_bindir}
962 install contrib/utils/wxrcedit/wxrcedit $RPM_BUILD_ROOT%{_bindir}
963 install -d $RPM_BUILD_ROOT%{_datadir}/wx/wxrcedit
964 install contrib/utils/wxrcedit/df/* \
965 $RPM_BUILD_ROOT%{_datadir}/wx/wxrcedit/
968 %{__make} -C contrib/src install \
969 prefix=$RPM_BUILD_ROOT%{_prefix} \
970 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
971 bindir=$RPM_BUILD_ROOT%{_bindir} \
972 datadir=$RPM_BUILD_ROOT%{_datadir} \
973 libdir=$RPM_BUILD_ROOT%{_libdir} \
974 mandir=$RPM_BUILD_ROOT%{_mandir} \
975 includedir=$RPM_BUILD_ROOT%{_includedir}
981 %if %{with gtk} && %{with nounicode}
982 unicode='--disable-unicode %{?with_odbc:--with-odbc}'
984 for univ in %{?with_univ:'--enable-universal'} %{?with_nouniv:'--disable-universal'}; do
985 # think about wine and nanox
986 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
989 prefix=$RPM_BUILD_ROOT%{_prefix} \
990 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
991 bindir=$RPM_BUILD_ROOT%{_bindir} \
992 datadir=$RPM_BUILD_ROOT%{_datadir} \
993 libdir=$RPM_BUILD_ROOT%{_libdir} \
994 mandir=$RPM_BUILD_ROOT%{_mandir} \
995 includedir=$RPM_BUILD_ROOT%{_includedir}
997 %{__make} -C contrib/src install \
998 prefix=$RPM_BUILD_ROOT%{_prefix} \
999 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
1000 bindir=$RPM_BUILD_ROOT%{_bindir} \
1001 datadir=$RPM_BUILD_ROOT%{_datadir} \
1002 libdir=$RPM_BUILD_ROOT%{_libdir} \
1003 mandir=$RPM_BUILD_ROOT%{_mandir} \
1004 includedir=$RPM_BUILD_ROOT%{_includedir}
1010 %if %{with motif} && %{with nounicode} && %{with nouniv}
1011 unicode='--disable-unicode %{?with_odbc:--with-odbc}'
1013 univ='--disable-universal'
1014 objdir=`echo obj${gui}${unicode}${univ}|sed 's/ /_/g'`
1017 prefix=$RPM_BUILD_ROOT%{_prefix} \
1018 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
1019 bindir=$RPM_BUILD_ROOT%{_bindir} \
1020 datadir=$RPM_BUILD_ROOT%{_datadir} \
1021 libdir=$RPM_BUILD_ROOT%{_libdir} \
1022 mandir=$RPM_BUILD_ROOT%{_mandir} \
1023 includedir=$RPM_BUILD_ROOT%{_includedir}
1025 %{__make} -C contrib/src install \
1026 prefix=$RPM_BUILD_ROOT%{_prefix} \
1027 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
1028 bindir=$RPM_BUILD_ROOT%{_bindir} \
1029 datadir=$RPM_BUILD_ROOT%{_datadir} \
1030 libdir=$RPM_BUILD_ROOT%{_libdir} \
1031 mandir=$RPM_BUILD_ROOT%{_mandir} \
1032 includedir=$RPM_BUILD_ROOT%{_includedir}
1036 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
1037 cp -a demos samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
1038 for file in todo.txt readme.txt changes.txt ; do
1039 cp -f docs/gtk/$file docs/wxGTK-$file
1041 for file in issues.txt readme.txt todo.txt ; do
1042 cp -f docs/motif/$file docs/wxMotif-$file
1044 cp -f docs/x11/readme.txt docs/wxX11-readme.txt
1049 rm -rf $RPM_BUILD_ROOT
1051 %post -n wxBase -p /sbin/ldconfig
1052 %postun -n wxBase -p /sbin/ldconfig
1054 %post -n wxBase-unicode -p /sbin/ldconfig
1055 %postun -n wxBase-unicode -p /sbin/ldconfig
1057 %post -n wxGTK -p /sbin/ldconfig
1058 %postun -n wxGTK -p /sbin/ldconfig
1060 %post -n wxGTK-gl -p /sbin/ldconfig
1061 %postun -n wxGTK-gl -p /sbin/ldconfig
1063 %post -n wxGTK-univ -p /sbin/ldconfig
1064 %postun -n wxGTK-univ -p /sbin/ldconfig
1066 %post -n wxGTK-univ-gl -p /sbin/ldconfig
1067 %postun -n wxGTK-univ-gl -p /sbin/ldconfig
1069 %post -n wxGTK2 -p /sbin/ldconfig
1070 %postun -n wxGTK2 -p /sbin/ldconfig
1072 %post -n wxGTK2-gl -p /sbin/ldconfig
1073 %postun -n wxGTK2-gl -p /sbin/ldconfig
1075 %post -n wxGTK2-univ -p /sbin/ldconfig
1076 %postun -n wxGTK2-univ -p /sbin/ldconfig
1078 %post -n wxGTK2-univ-gl -p /sbin/ldconfig
1079 %postun -n wxGTK2-univ-gl -p /sbin/ldconfig
1081 %post -n wxGTK2-unicode -p /sbin/ldconfig
1082 %postun -n wxGTK2-unicode -p /sbin/ldconfig
1084 %post -n wxGTK2-unicode-gl -p /sbin/ldconfig
1085 %postun -n wxGTK2-unicode-gl -p /sbin/ldconfig
1087 %post -n wxGTK2-univ-unicode -p /sbin/ldconfig
1088 %postun -n wxGTK2-univ-unicode -p /sbin/ldconfig
1090 %post -n wxGTK2-univ-unicode-gl -p /sbin/ldconfig
1091 %postun -n wxGTK2-univ-unicode-gl -p /sbin/ldconfig
1093 %post -n wxMotif -p /sbin/ldconfig
1094 %postun -n wxMotif -p /sbin/ldconfig
1096 %post -n wxMotif-gl -p /sbin/ldconfig
1097 %postun -n wxMotif-gl -p /sbin/ldconfig
1099 %post -n wxX11-univ -p /sbin/ldconfig
1100 %postun -n wxX11-univ -p /sbin/ldconfig
1102 %post -n wxX11-univ-unicode -p /sbin/ldconfig
1103 %postun -n wxX11-univ-unicode -p /sbin/ldconfig
1105 %files -f wxstd.lang
1106 %defattr(644,root,root,755)
1107 %doc docs/{changes,licence,licendoc,preamble,readme,todo}.txt
1108 %doc docs/wxGTK-{todo,readme,changes}.txt
1109 %doc docs/wxMotif-{issues,readme,todo}.txt
1110 %doc docs/wxX11-readme.txt
1112 %dir %{_datadir}/wx/2.4
1114 %if %{with x11} || %{with gtk} || %{with gtk2} || %{with motif}
1115 %files -n wxWidgets-afm
1116 %defattr(644,root,root,755)
1117 %{_datadir}/wx/2.4/afm
1118 %{_datadir}/wx/2.4/gs_afm
1122 %defattr(644,root,root,755)
1124 %doc docs/pdf/dialoged.pdf docs/tech docs/univ
1127 %dir %{_libdir}/wx/include
1131 %defattr(644,root,root,755)
1132 %{_examplesdir}/%{name}-%{version}
1134 %if %{with nounicode}
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) %{_bindir}/HelpGen
1140 %defattr(644,root,root,755)
1141 %attr(755,root,root) %{_libdir}/libwx_base-*.so.*.*
1143 %files -n wxBase-devel
1144 %defattr(644,root,root,755)
1145 %{_libdir}/libwx_base-*.so
1146 %{_libdir}/wx/include/base-*
1147 %attr(755,root,root) %{_bindir}/wxbase-*-config
1151 %files -n wxBase-unicode
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_libdir}/libwx_baseu-*.so.*.*
1155 %files -n wxBase-unicode-devel
1156 %defattr(644,root,root,755)
1157 %{_libdir}/libwx_baseu-*.so
1158 %{_libdir}/wx/include/baseu-*
1159 %attr(755,root,root) %{_bindir}/wxbaseu-*-config
1162 %if %{with gtk} && %{with nouniv} && %{with nounicode}
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) %{_libdir}/libwx_gtk-*.so.*.*
1166 %attr(755,root,root) %{_libdir}/libwx_gtk_*-*.so.*.*
1167 %{?with_gl:%exclude %{_libdir}/libwx_gtk_gl-*.so.*.*}
1169 %files -n wxGTK-devel
1170 %defattr(644,root,root,755)
1171 %{_libdir}/libwx_gtk-*.so
1172 %{_libdir}/libwx_gtk_*-*.so
1173 %{?with_gl:%exclude %{_libdir}/libwx_gtk_gl-*.so}
1174 %{_libdir}/wx/include/gtk-*
1175 %attr(755,root,root) %{_bindir}/wxgtk-*-config
1178 %if %{with gtk} && %{with nouniv} && %{with nounicode} && %{with gl}
1180 %defattr(644,root,root,755)
1181 %attr(755,root,root) %{_libdir}/libwx_gtk_gl-*.so.*.*
1183 %files -n wxGTK-gl-devel
1184 %defattr(644,root,root,755)
1185 %{_libdir}/libwx_gtk_gl-*.so
1188 %if %{with gtk} && %{with univ} && %{with nounicode}
1189 %files -n wxGTK-univ
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_libdir}/libwx_gtkuniv-*.so.*.*
1192 %attr(755,root,root) %{_libdir}/libwx_gtkuniv_*-*.so.*.*
1193 %{?with_gl:%exclude %{_libdir}/libwx_gtkuniv_gl-*.so.*.*}
1195 %files -n wxGTK-univ-devel
1196 %defattr(644,root,root,755)
1197 %{_libdir}/libwx_gtkuniv-*.so
1198 %{_libdir}/libwx_gtkuniv_*-*.so
1199 %{?with_gl:%exclude %{_libdir}/libwx_gtkuniv_gl-*.so}
1200 %{_libdir}/wx/include/gtkuniv-*
1201 %attr(755,root,root) %{_bindir}/wxgtkuniv-*-config
1204 %if %{with gtk} && %{with univ} && %{with nounicode} && %{with gl}
1205 %files -n wxGTK-univ-gl
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_libdir}/libwx_gtkuniv_gl-*.so.*.*
1209 %files -n wxGTK-univ-gl-devel
1210 %defattr(644,root,root,755)
1211 %{_libdir}/libwx_gtkuniv_gl-*.so
1214 %if %{with gtk2} && %{with nouniv} && %{with nounicode}
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/libwx_gtk2-*.so.*.*
1218 %attr(755,root,root) %{_libdir}/libwx_gtk2_*.so.*.*
1219 %{?with_gl:%exclude %{_libdir}/libwx_gtk2_gl-*.so.*.*}
1221 %files -n wxGTK2-devel
1222 %defattr(644,root,root,755)
1223 %{_libdir}/libwx_gtk2-*.so
1224 %{_libdir}/libwx_gtk2_*-*.so
1225 %{?with_gl:%exclude %{_libdir}/libwx_gtk2_gl-*.so}
1226 %{_libdir}/wx/include/gtk2-*
1227 %attr(755,root,root) %{_bindir}/wxgtk2-*-config
1230 %if %{with gtk2} && %{with nouniv} && %{with nounicode} && %{with gl}
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_libdir}/libwx_gtk2_gl-*.so.*.*
1235 %files -n wxGTK2-gl-devel
1236 %defattr(644,root,root,755)
1237 %{_libdir}/libwx_gtk2_gl-*.so
1240 %if %{with gtk2} && %{with nouniv} && %{with unicode}
1241 %files -n wxGTK2-unicode
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_libdir}/libwx_gtk2u-*.so.*.*
1244 %attr(755,root,root) %{_libdir}/libwx_gtk2u_*-*.so.*.*
1245 %{?with_gl:%exclude %{_libdir}/libwx_gtk2u_gl-*.so.*.*}
1247 %files -n wxGTK2-unicode-devel
1248 %defattr(644,root,root,755)
1249 %{_libdir}/libwx_gtk2u-*.so
1250 %{_libdir}/libwx_gtk2u_*-*.so
1251 %{?with_gl:%exclude %{_libdir}/libwx_gtk2u_gl-*.so}
1252 %{_libdir}/wx/include/gtk2u-*
1253 %attr(755,root,root) %{_bindir}/wxgtk2u-*-config
1256 %if %{with gtk2} && %{with nouniv} && %{with unicode} && %{with gl}
1257 %files -n wxGTK2-unicode-gl
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/libwx_gtk2u_gl-*.so.*.*
1261 %files -n wxGTK2-unicode-gl-devel
1262 %defattr(644,root,root,755)
1263 %{_libdir}/libwx_gtk2u_gl-*.so
1266 %if %{with gtk2} && %{with univ} && %{with nounicode}
1267 %files -n wxGTK2-univ
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libwx_gtk2univ-*.so.*.*
1270 %attr(755,root,root) %{_libdir}/libwx_gtk2univ_*-*.so.*.*
1271 %{?with_gl:%exclude %{_libdir}/libwx_gtk2univ_gl-*.so.*.*}
1273 %files -n wxGTK2-univ-devel
1274 %defattr(644,root,root,755)
1275 %{_libdir}/libwx_gtk2univ-*.so
1276 %{_libdir}/libwx_gtk2univ_*-*.so
1277 %{?with_gl:%exclude %{_libdir}/libwx_gtk2univ_gl-*.so}
1278 %{_libdir}/wx/include/gtk2univ-*
1279 %attr(755,root,root) %{_bindir}/wxgtk2univ-*-config
1282 %if %{with gtk2} && %{with univ} && %{with nounicode} && %{with gl}
1283 %files -n wxGTK2-univ-gl
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_libdir}/libwx_gtk2univ_gl-*.so.*.*
1287 %files -n wxGTK2-univ-gl-devel
1288 %defattr(644,root,root,755)
1289 %{_libdir}/libwx_gtk2univ_gl-*.so
1292 %if %{with gtk2} && %{with univ} && %{with unicode}
1293 %files -n wxGTK2-univ-unicode
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/libwx_gtk2univu-*.so.*.*
1296 %attr(755,root,root) %{_libdir}/libwx_gtk2univu_*-*.so.*.*
1297 %{?with_gl:%exclude %{_libdir}/libwx_gtk2univu_gl-*.so.*.*}
1299 %files -n wxGTK2-univ-unicode-devel
1300 %defattr(644,root,root,755)
1301 %{_libdir}/libwx_gtk2univu-*.so
1302 %{_libdir}/libwx_gtk2univu_*-*.so
1303 %{?with_gl:%exclude %{_libdir}/libwx_gtk2univu_gl-*.so}
1304 %{_libdir}/wx/include/gtk2univu-*
1305 %attr(755,root,root) %{_bindir}/wxgtk2univu-*-config
1308 %if %{with gtk2} && %{with univ} && %{with unicode} && %{with gl}
1309 %files -n wxGTK2-univ-unicode-gl
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) %{_libdir}/libwx_gtk2univu_gl-*.so.*.*
1313 %files -n wxGTK2-univ-unicode-gl-devel
1314 %defattr(644,root,root,755)
1315 %{_libdir}/libwx_gtk2univu_gl-*.so
1318 %if %{with motif} && %{with nouniv} && %{with nounicode}
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_libdir}/libwx_motif-*.so.*.*
1322 %attr(755,root,root) %{_libdir}/libwx_motif_*-*.so.*.*
1323 %{?with_gl:%exclude %{_libdir}/libwx_motif_gl-*.so.*.*}
1325 %files -n wxMotif-devel
1326 %defattr(644,root,root,755)
1327 %{_libdir}/libwx_motif-*.so
1328 %{_libdir}/libwx_motif_*-*.so
1329 %{?with_gl:%exclude %{_libdir}/libwx_motif_gl-*.so}
1330 %{_libdir}/wx/include/motif-*
1331 %attr(755,root,root) %{_bindir}/wxmotif-*-config
1334 %if %{with motif} && %{with nouniv} && %{with nounicode} && %{with gl}
1335 %files -n wxMotif-gl
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/libwx_motif_gl-*.so.*.*
1339 %files -n wxMotif-gl-devel
1340 %defattr(644,root,root,755)
1341 %{_libdir}/libwx_motif_gl-*.so
1344 %if %{with x11} && %{with univ} && %{with nounicode}
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_bindir}/*
1348 %exclude %{_bindir}/HelpGen
1349 %exclude %{_bindir}/wx*-config
1350 %{_datadir}/wx/makegen
1351 %{_datadir}/wx/wxrcedit
1353 %files -n wxX11-univ
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_libdir}/libwx_x11univ-*.so.*.*
1356 %attr(755,root,root) %{_libdir}/libwx_x11univ_*-*.so.*.*
1357 %{?with_gl:%exclude %{_libdir}/libwx_x11univ_gl-*.so.*.*}
1359 %files -n wxX11-univ-devel
1360 %defattr(644,root,root,755)
1361 %{_libdir}/libwx_x11univ-*.so
1362 %{_libdir}/libwx_x11univ_*-*.so
1363 %{?with_gl:%exclude %{_libdir}/libwx_x11univ_gl-*.so}
1364 %{_libdir}/wx/include/x11univ-*
1365 %attr(755,root,root) %{_bindir}/wxx11univ-*-config
1368 %if %{with x11} && %{with univ} && %{with nounicode} && %{with gl}
1369 %files -n wxX11-univ-gl
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_libdir}/libwx_x11univ_gl-*.so.*.*
1373 %files -n wxX11-univ-gl-devel
1374 %defattr(644,root,root,755)
1375 %{_libdir}/libwx_x11univ_gl-*.so
1378 %if %{with x11} && %{with univ} && %{with unicode}
1379 %files -n wxX11-univ-unicode
1380 %defattr(644,root,root,755)
1381 %attr(755,root,root) %{_libdir}/libwx_x11univu-*.so.*.*
1382 %attr(755,root,root) %{_libdir}/libwx_x11univu_*-*.so.*.*
1383 %{?with_gl:%exclude %{_libdir}/libwx_x11univu_gl-*.so.*.*}
1385 %files -n wxX11-univ-unicode-devel
1386 %defattr(644,root,root,755)
1387 %{_libdir}/libwx_x11univu-*.so
1388 %{_libdir}/libwx_x11univu_*-*.so
1389 %{?with_gl:%exclude %{_libdir}/libwx_x11univu_gl-*.so}
1390 %{_libdir}/wx/include/x11univu-*
1391 %attr(755,root,root) %{_bindir}/wxx11univu-*-config
1394 %if %{with x11} && %{with univ} && %{with unicode} && %{with gl}
1395 %files -n wxX11-univ-unicode-gl
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_libdir}/libwx_x11univu_gl-*.so.*.*
1399 %files -n wxX11-univ-unicode-gl-devel
1400 %defattr(644,root,root,755)
1401 %{_libdir}/libwx_x11univu_gl-*.so