3 %bcond_without ansi # only unicode packages
4 %bcond_without odbc # without ODBC support
5 %bcond_without x11 # don't build wxX11 packages
6 %bcond_with gnomeprint # GNOME print support
7 %bcond_with debug # build with \--enable-debug
8 # (binary incompatible with non-debug)
10 Summary: wxWidgets library
11 Summary(pl.UTF-8): Biblioteka wxWidgets
15 License: wxWindows Library Licence 3.1 (LGPL v2+ with exception)
17 Source0: http://ftp.wxwidgets.org/pub/%{version}/%{name}-%{version}.tar.bz2
18 # Source0-md5: f1348f740a569ce2945512d5b0e70e87
19 Patch0: %{name}-samples.patch
20 Patch1: %{name}-ogl.patch
21 Patch2: %{name}-ac.patch
22 Patch3: %{name}-x11unicode.patch
23 Patch4: %{name}-link.patch
24 Patch5: %{name}-build.patch
25 URL: http://www.wxWidgets.org/
26 BuildRequires: OpenGL-GLU-devel
27 #BuildRequires: SDL-devel
28 BuildRequires: autoconf >= 2.59-9
29 BuildRequires: automake
30 #BuildRequires: bakefile >= 0.2.1
31 BuildRequires: cppunit-devel
32 BuildRequires: expat-devel
34 BuildRequires: gettext-devel
35 BuildRequires: gtk+2-devel >= 2.0.0
36 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.8.0}
37 BuildRequires: libjpeg-devel
38 BuildRequires: libmng-devel
39 BuildRequires: libmspack-devel
40 BuildRequires: libpng-devel
41 BuildRequires: libstdc++-devel
42 BuildRequires: libtiff-devel
43 BuildRequires: libtool
44 BuildRequires: pkgconfig
45 %{?with_x11:BuildRequires: xorg-lib-libXext-devel}
46 # these are not supported by wxWidgets
47 Obsoletes: LDAPExplorerTool <= 0.6-1
48 Obsoletes: abridge <= 0.4.0-1
49 # and these are replaced
51 Obsoletes: wxGTK-devel
53 Obsoletes: wxGTK-gl-devel
55 Obsoletes: wxGTK-univ-devel
56 Obsoletes: wxGTK-univ-gl
57 Obsoletes: wxGTK-univ-gl-devel
58 Obsoletes: wxGTK2-univ
59 Obsoletes: wxGTK2-univ-devel
60 Obsoletes: wxGTK2-univ-gl
61 Obsoletes: wxGTK2-univ-gl-devel
62 Obsoletes: wxGTK2-univ-unicode
63 Obsoletes: wxGTK2-univ-unicode-devel
64 Obsoletes: wxGTK2-univ-unicode-gl
65 Obsoletes: wxGTK2-univ-unicode-gl-devel
67 Obsoletes: wxMotif-devel
69 Obsoletes: wxMotif-gl-devel
70 Obsoletes: wxWidgets-afm
72 Obsoletes: wxWindows-afm
74 Obsoletes: wxwin-common
75 Conflicts: wxGTK2 < 2.6.0
76 Conflicts: wxGTK2-unicode < 2.6.0
77 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79 %define _sysconfdir %{_datadir}
80 %define _noautoreqdep libGL.so.1 libGLU.so.1
82 # do not check for unresolved symbols (couldn't fix that)
83 %define no_install_post_check_so 1
86 wxWidgets is a free C++ library for cross-platform GUI development.
87 With wxWidgets, you can create applications for different GUIs (GTK+,
88 Motif/LessTif, MS Windows, Mac) from the same source code.
90 %description -l pl.UTF-8
91 wxWidgets to wolnodostępna biblioteka napisana w C++ umożliwiająca
92 rozwijanie wieloplatformowych programów GUI. Przy użyciu wxWidgets
93 można tworzyć aplikacje dla różnych GUI (GTK+, Motif/LessTif, MS
94 Windows, Mac) z tego samego kodu źródłowego.
97 Summary: wxWidgets header files and development documentation
98 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do wxWidgets
99 Group: X11/Development/Libraries
100 Requires: libstdc++-devel
101 %{?with_odbc:Requires: unixODBC-devel}
102 Obsoletes: wxWindows-devel
105 Header files and development documentation for the wxWidgets
108 %description devel -l pl.UTF-8
109 Pliki nagłówkowe i dokumentacja do bibliotek wxWidgets.
111 %package -n bakefile-wxWidgets
112 Summary: Files for Bakefile to generate wxWidgets project files
113 Summary(pl.UTF-8): Pliki dla Bakefile generujące pliki projektów wxWidgets
114 Group: Development/Tools
117 %description -n bakefile-wxWidgets
118 Additional files for Bakefile to generate wxWidgets project files.
120 %description -n bakefile-wxWidgets -l pl.UTF-8
121 Dodatkowe pliki dla programu Bakefile umożliwiające wygenerowanie
122 projektów opartych na bibliotece wxWidgets.
125 Summary: wxWidgets example programs
126 Summary(pl.UTF-8): Przykładowe programy wxWidgets
127 Group: X11/Development/Libraries
128 Requires: %{name}-devel = %{version}-%{release}
129 Obsoletes: wxWindows-examples
131 %description examples
132 wxWidgets example programs.
134 %description examples -l pl.UTF-8
135 Przykładowe programy wxWidgets.
138 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit
139 Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI
141 Requires: %{name} = %{version}-%{release}
143 %description -n wxBase
144 wxBase is a collection of C++ classes providing basic data structures
145 (strings, lists, arrays), powerful wxDateTime class for date
146 manipulations, portable wrappers around many OS-specific functions
147 allowing to build the same program under all supported folders,
148 wxThread class for writing multithreaded programs using either Win32
149 or POSIX threads and much more. wxBase currently supports the
150 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
151 HP-UX, ...) and BeOS.
153 %description -n wxBase -l pl.UTF-8
154 wxBase jest zestawem klas C++ obsługujących podstawowe struktury
155 danych (stringi, listy, tablice), klasę wxDateTime do operacji na
156 datach, przenośne wrappery do wielu funkcji zależnych od systemu
157 operacyjnego pozwalające na zbudowanie tego samego programu w różnych
158 środowiskach, klasę wxThread do pisania programów wielowątkowych
159 używających wątków Win32 albo POSIX i inne. wxBase obsługuje
160 platformy: Win32, Unix i BeOS.
162 %package -n wxBase-devel
163 Summary: wxBase headers needed for developping with wxBase
164 Summary(pl.UTF-8): Pliki nagłówkowe do wxBase
165 Group: X11/Development/Libraries
166 Requires: %{name}-devel = %{version}-%{release}
167 Requires: wxBase = %{version}-%{release}
169 %description -n wxBase-devel
170 Header files for wxBase. You need them to develop programs using
173 %description -n wxBase-devel -l pl.UTF-8
174 Pliki nagłówkowe do biblioteki wxBase.
176 %package -n wxBase-unicode
177 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit with UNICODE support
178 Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI ze wsparciem dla UNICODE
180 Requires: %{name} = %{version}-%{release}
182 %description -n wxBase-unicode
183 wxBase is a collection of C++ classes providing basic data structures
184 (strings, lists, arrays), powerful wxDateTime class for date
185 manipulations, portable wrappers around many OS-specific functions
186 allowing to build the same program under all supported folders,
187 wxThread class for writing multithreaded programs using either Win32
188 or POSIX threads and much more. wxBase currently supports the
189 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
190 HP-UX, ...) and BeOS. This version is build with UNICODE support.
192 %description -n wxBase-unicode -l pl.UTF-8
193 wxBase jest zestawem klas C++ obsługujących podstawowe struktury
194 danych (stringi, listy, tablice), klasę wxDateTime do operacji na
195 datach, przenośne wrappery do wielu funkcji zależnych od systemu
196 operacyjnego pozwalające na zbudowanie tego samego programu w różnych
197 środowiskach, klasę wxThread do pisania programów wielowątkowych
198 używających wątków Win32 albo POSIX i inne. wxBase obsługuje
199 platformy: Win32, Unix i BeOS. Ta wersja jest zbudowana z obsługą
202 %package -n wxBase-unicode-devel
203 Summary: wxBase headers needed for developping with UNICODE-enabled wxBase
204 Summary(pl.UTF-8): Pliki nagłówkowe do wxBase z obsługą UNICODE
205 Group: X11/Development/Libraries
206 Requires: %{name}-devel = %{version}-%{release}
207 Requires: wxBase-unicode = %{version}-%{release}
209 %description -n wxBase-unicode-devel
210 Header files for wxBase. You need them to develop programs using
211 UNICODE-enabled wxBase.
213 %description -n wxBase-unicode-devel -l pl.UTF-8
214 Pliki nagłówkowe do biblioteki wxBase z obsługą UNICODE.
217 Summary: wxGTK2 library
218 Summary(pl.UTF-8): Biblioteka wxGTK2
220 Requires: %{name} = %{version}-%{release}
221 Obsoletes: wxGTK2-univ
223 %description -n wxGTK2
224 wxWidgets library using GTK2 widgets.
226 %description -n wxGTK2 -l pl.UTF-8
227 Biblioteka wxWidgets używająca widgetów GTK2.
229 %package -n wxGTK2-devel
230 Summary: Header files for wxGTK2 library
231 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2
232 Group: X11/Development/Libraries
233 Requires: wxBase-devel = %{version}-%{release}
234 Requires: wxGTK2 = %{version}-%{release}
235 Obsoletes: wxGTK2-univ-devel
237 %description -n wxGTK2-devel
238 Header files for wxWidgets library using GTK2 widgets.
240 %description -n wxGTK2-devel -l pl.UTF-8
241 Pliki nagłówkowe dla biblioteki wxWidgets używającej widgetów GTK2.
243 %package -n wxGTK2-gl
244 Summary: GL canvas library for wxGTK2
245 Summary(pl.UTF-8): Biblioteka GL dla wxGTK2
247 Requires: wxGTK2 = %{version}-%{release}
248 Obsoletes: wxGTK2-univ-gl
250 %description -n wxGTK2-gl
251 wxGTK2 GL canvas library.
253 %description -n wxGTK2-gl -l pl.UTF-8
254 Biblioteka GL dla wxGTK2.
256 %package -n wxGTK2-gl-devel
257 Summary: Development files for GL canvas library for wxGTK2
258 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2
259 Group: X11/Development/Libraries
260 Requires: OpenGL-GLU-devel
261 Requires: wxGTK2-devel = %{version}-%{release}
262 Requires: wxGTK2-gl = %{version}-%{release}
263 Obsoletes: wxGTK2-univ-gl-devel
265 %description -n wxGTK2-gl-devel
266 Development files for wxGTK2 GL canvas library.
268 %description -n wxGTK2-gl-devel -l pl.UTF-8
269 Pliki programistyczne biblioteki GL dla wxGTK2.
271 %package -n wxGTK2-unicode
272 Summary: wxGTK2 library with UNICODE support
273 Summary(pl.UTF-8): Biblioteka wxGTK2 z obsługą UNICODE
275 Requires: %{name} = %{version}-%{release}
276 Obsoletes: wxGTK2-univ-unicode
278 %description -n wxGTK2-unicode
279 wxWidgets library using GTK2 widgets with UNICODE support.
281 %description -n wxGTK2-unicode -l pl.UTF-8
282 Biblioteka wxWidgets używająca widgetów GTK2 z obsługą UNICODE.
284 %package -n wxGTK2-unicode-devel
285 Summary: Header files for wxGTK2 library with UNICODE support
286 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2 z obsługą UNICODE
287 Group: X11/Development/Libraries
288 Requires: wxBase-unicode-devel = %{version}-%{release}
289 Requires: wxGTK2-unicode = %{version}-%{release}
290 Obsoletes: wxGTK2-univ-unicode-devel
292 %description -n wxGTK2-unicode-devel
293 Header files for wxWidgets library using GTK2 widgets with UNICODE
296 %description -n wxGTK2-unicode-devel -l pl.UTF-8
297 Pliki nagłówkowe biblioteki wxWidgets używającej widgetów GTK2 z
300 %package -n wxGTK2-unicode-gl
301 Summary: GL canvas library for wxGTK2 with UNICODE support
302 Summary(pl.UTF-8): Biblioteka GL dla wxGTK2 z obsługą UNICODE
304 Requires: wxGTK2-unicode = %{version}-%{release}
305 Obsoletes: wxGTK2-univ-unicode-gl
307 %description -n wxGTK2-unicode-gl
308 GL canvas library for wxGTK2 with UNICODE support.
310 %description -n wxGTK2-unicode-gl -l pl.UTF-8
311 Biblioteka GL dla wxGTK2 z obsługą UNICODE.
313 %package -n wxGTK2-unicode-gl-devel
314 Summary: Development files for GL canvas library for wxGTK2 with UNICODE support
315 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE
316 Group: X11/Development/Libraries
317 Requires: OpenGL-GLU-devel
318 Requires: wxGTK2-unicode-devel = %{version}-%{release}
319 Requires: wxGTK2-unicode-gl = %{version}-%{release}
320 Obsoletes: wxGTK2-univ-unicode-gl-devel
322 %description -n wxGTK2-unicode-gl-devel
323 Development files for GL canvas library for wxGTK2 with UNICODE
326 %description -n wxGTK2-unicode-gl-devel -l pl.UTF-8
327 Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE.
330 Summary: Misc utils from wxWidgets project
331 Summary(pl.UTF-8): Różne narzędzia z projektu wxWidgets
332 Group: X11/Development/Tools
333 Requires: wxX11 = %{version}-%{release}
334 Obsoletes: wxWindows-utils
337 Misc utils from wxWidgets project: wxemulator, wxrc, etc.
339 %description utils -l pl.UTF-8
340 Różne narzędzia z projektu wxWidgets: wxemulator, wxrc itp.
343 Summary: wxUniversal-based wxX11 library
344 Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11
346 Requires: %{name} = %{version}-%{release}
347 Obsoletes: wxX11-univ
349 %description -n wxX11
350 wxUniversal-based wxX11 library.
352 %description -n wxX11 -l pl.UTF-8
353 Oparta na wxUniversal biblioteka wxX11.
355 %package -n wxX11-devel
356 Summary: Header files for wxUniversal-based wxX11 library
357 Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11
359 Requires: %{name}-devel = %{version}-%{release}
360 Requires: wxX11 = %{version}-%{release}
361 Obsoletes: wxX11-univ-devel
363 %description -n wxX11-devel
364 Header files for wxUniversal-based wxX11 library.
366 %description -n wxX11-devel -l pl.UTF-8
367 Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11.
370 Summary: GL canvas library for wxUniversal-based wxX11
371 Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11
373 Requires: wxX11 = %{version}-%{release}
374 Obsoletes: wxX11-univ-gl
376 %description -n wxX11-gl
377 GL canvas library for wxUniversal-based wxX11.
379 %description -n wxX11-gl -l pl.UTF-8
380 Biblioteka GL dla opartej na wxUniversal wxX11.
382 %package -n wxX11-gl-devel
383 Summary: Development files for GL canvas library for wxUniversal-based wxX11
384 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11
385 Group: X11/Development/Libraries
386 Requires: OpenGL-GLU-devel
387 Requires: wxX11-devel = %{version}-%{release}
388 Requires: wxX11-gl = %{version}-%{release}
389 Obsoletes: wxX11-univ-gl-devel
391 %description -n wxX11-gl-devel
392 Development files for GL canvas library for wxUniversal-based wxX11.
394 %description -n wxX11-gl-devel -l pl.UTF-8
395 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11.
397 %package -n wxX11-unicode
398 Summary: wxUniversal-based wxX11 library with UNICODE support
399 Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE
401 Requires: %{name} = %{version}-%{release}
402 Obsoletes: wxX11-univ-unicode
404 %description -n wxX11-unicode
405 wxUniversal-based wxX11 library with UNICODE support.
407 %description -n wxX11-unicode -l pl.UTF-8
408 Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE.
410 %package -n wxX11-unicode-devel
411 Summary: Header files for wxUniversal-based wxX11 library with UNICODE support
412 Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą UNICODE
413 Group: X11/Development/Libraries
414 Requires: %{name}-devel = %{version}-%{release}
415 Requires: wxX11-unicode = %{version}-%{release}
416 Obsoletes: wxX11-univ-unicode-devel
418 %description -n wxX11-unicode-devel
419 Header files for wxUniversal-based wxX11 library with UNICODE support.
421 %description -n wxX11-unicode-devel -l pl.UTF-8
422 Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą
425 %package -n wxX11-unicode-gl
426 Summary: GL canvas library for wxUniversal-based wxX11 with UNICODE support
427 Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE
429 Requires: wxX11-unicode = %{version}-%{release}
430 Obsoletes: wxX11-univ-unicode-gl
432 %description -n wxX11-unicode-gl
433 GL canvas library for wxUniversal-based wxX11 with UNICODE support.
435 %description -n wxX11-unicode-gl -l pl.UTF-8
436 Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE.
438 %package -n wxX11-unicode-gl-devel
439 Summary: Development files for GL canvas library for wxX11 with UNICODE support
440 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxX11 z obsługą UNICODE
441 Group: X11/Development/Libraries
442 Requires: OpenGL-GLU-devel
443 Requires: wxX11-unicode-devel = %{version}-%{release}
444 Requires: wxX11-unicode-gl = %{version}-%{release}
445 Obsoletes: wxX11-univ-unicode-gl-devel
447 %description -n wxX11-unicode-gl-devel
448 Development files for GL canvas library for wxUniversal-based wxX11
449 with UNICODE support.
451 %description -n wxX11-unicode-gl-devel -l pl.UTF-8
452 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11 z
458 # is this still needed?
466 # if bakefiles rebuild is needed:
467 #%if "%(rpm -q bakefile --qf '%%{VERSION}')" != "0.2.1"
469 #bakefile_gen -f autoconf
472 cp -f /usr/share/automake/config.sub .
473 %{__aclocal} -I build/aclocal
476 CPPFLAGS="%{rpmcppflags} %{rpmcflags} -I`pwd`/include -fPIC"; export CPPFLAGS
477 # avoid adding -s to LDFLAGS
478 LDFLAGS=" "; export LDFLAGS
479 args="%{?with_debug:--enable-debug}%{!?with_debug:--disable-debug} \
481 --enable-std_iostreams \
489 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
490 '--enable-unicode' ; do
491 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
497 --disable-universal \
499 %{!?with_gnomeprint:--without-gnomeprint}
506 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
507 '--enable-unicode' ; do
508 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
517 if echo $objdir| grep -q disable-unicode ; then
519 %{__make} -C utils/emulator
520 %{__make} -C utils/hhp2cached
530 rm -rf $RPM_BUILD_ROOT
531 install -d $RPM_BUILD_ROOT%{_bindir}
534 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
535 '--enable-unicode' ; do
536 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
539 prefix=$RPM_BUILD_ROOT%{_prefix} \
540 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
541 bindir=$RPM_BUILD_ROOT%{_bindir} \
542 datadir=$RPM_BUILD_ROOT%{_datadir} \
543 libdir=$RPM_BUILD_ROOT%{_libdir} \
544 mandir=$RPM_BUILD_ROOT%{_mandir} \
545 includedir=$RPM_BUILD_ROOT%{_includedir} \
552 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
553 '--enable-unicode' ; do
554 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
557 prefix=$RPM_BUILD_ROOT%{_prefix} \
558 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
559 bindir=$RPM_BUILD_ROOT%{_bindir} \
560 datadir=$RPM_BUILD_ROOT%{_datadir} \
561 libdir=$RPM_BUILD_ROOT%{_libdir} \
562 mandir=$RPM_BUILD_ROOT%{_mandir} \
563 includedir=$RPM_BUILD_ROOT%{_includedir} \
565 if echo $objdir| grep -q disable-unicode ; then
566 # TODO: install default config files and default backgrouds
567 install utils/emulator/src/wxemulator $RPM_BUILD_ROOT%{_bindir}
568 install utils/hhp2cached/hhp2cached $RPM_BUILD_ROOT%{_bindir}
569 install utils/wxrc/wxrc $RPM_BUILD_ROOT%{_bindir}
575 for i in $RPM_BUILD_ROOT%{_libdir}/wx/config/*
578 cp $i $RPM_BUILD_ROOT%{_bindir}/wx-`echo $b|sed -e 's/\(.*\)-release-.*/\1/'`-config
581 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
582 cp -a demos samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
583 cp -f docs/x11/readme.txt docs/wxX11-readme.txt
588 rm -rf $RPM_BUILD_ROOT
590 %post -n wxBase -p /sbin/ldconfig
591 %postun -n wxBase -p /sbin/ldconfig
593 %post -n wxBase-unicode -p /sbin/ldconfig
594 %postun -n wxBase-unicode -p /sbin/ldconfig
596 %post -n wxGTK2 -p /sbin/ldconfig
597 %postun -n wxGTK2 -p /sbin/ldconfig
599 %post -n wxGTK2-gl -p /sbin/ldconfig
600 %postun -n wxGTK2-gl -p /sbin/ldconfig
602 %post -n wxGTK2-unicode -p /sbin/ldconfig
603 %postun -n wxGTK2-unicode -p /sbin/ldconfig
605 %post -n wxGTK2-unicode-gl -p /sbin/ldconfig
606 %postun -n wxGTK2-unicode-gl -p /sbin/ldconfig
608 %post -n wxX11 -p /sbin/ldconfig
609 %postun -n wxX11 -p /sbin/ldconfig
611 %post -n wxX11-unicode -p /sbin/ldconfig
612 %postun -n wxX11-unicode -p /sbin/ldconfig
614 %define _libf %{?with_debug:d}
615 %define _configf %{?with_debug:-debug}-2.9
618 %defattr(644,root,root,755)
619 %doc docs/{changes,licence,licendoc,preamble,readme}.txt
622 %defattr(644,root,root,755)
623 %doc docs/tech docs/univ
626 %dir %{_libdir}/wx/include
627 %dir %{_libdir}/wx/config
628 %{_aclocaldir}/wxwin.m4
630 %files -n bakefile-wxWidgets
631 %defattr(644,root,root,755)
632 %{_datadir}/bakefile/presets/wx*.bkl
635 %defattr(644,root,root,755)
636 %{_examplesdir}/%{name}-%{version}
640 %defattr(644,root,root,755)
641 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}-*.so.*.*
642 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}_*.so.*.*
643 #%attr(755,root,root) %{_libdir}/wx/%{version}/sound_sdl-*.so
644 %attr(755,root,root) %ghost %{_libdir}/libwx_base%{_libf}-*.so.4
645 %attr(755,root,root) %ghost %{_libdir}/libwx_base%{_libf}_*.so.4
647 %files -n wxBase-devel
648 %defattr(644,root,root,755)
649 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}-*.so
650 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}_*.so
653 %files -n wxBase-unicode
654 %defattr(644,root,root,755)
655 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}-*.so.*.*
656 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}_*.so.*.*
657 #%attr(755,root,root) %{_libdir}/wx/%{version}/sound_sdlu-*.so
658 %attr(755,root,root) %ghost %{_libdir}/libwx_baseu%{_libf}-*.so.4
659 %attr(755,root,root) %ghost %{_libdir}/libwx_baseu%{_libf}_*.so.4
661 %files -n wxBase-unicode-devel
662 %defattr(644,root,root,755)
663 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}-*.so
664 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}_*.so
668 %defattr(644,root,root,755)
669 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_*.so.*.*
670 %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.*.*
671 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2%{_libf}_*.so.4
672 %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.4
674 %files -n wxGTK2-devel
675 %defattr(644,root,root,755)
676 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_*-*.so
677 %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so
678 %attr(755,root,root) %{_libdir}/wx/config/gtk2-ansi-*
679 %{_libdir}/wx/include/gtk2-ansi-*
680 %attr(755,root,root) %{_bindir}/wx-gtk2-ansi%{_configf}-config
683 %defattr(644,root,root,755)
684 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.*.*
685 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.4
687 %files -n wxGTK2-gl-devel
688 %defattr(644,root,root,755)
689 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_gl-*.so
692 %files -n wxGTK2-unicode
693 %defattr(644,root,root,755)
694 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_*-*.so.*.*
695 %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.*.*
696 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2u%{_libf}_*-*.so.4
697 %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.4
699 %files -n wxGTK2-unicode-devel
700 %defattr(644,root,root,755)
701 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_*-*.so
702 %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so
703 %attr(755,root,root) %{_libdir}/wx/config/gtk2-unicode-*
704 %{_libdir}/wx/include/gtk2-unicode-*
705 %attr(755,root,root) %{_bindir}/wx-gtk2-unicode%{_configf}-config
707 %files -n wxGTK2-unicode-gl
708 %defattr(644,root,root,755)
709 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.*.*
710 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.4
712 %files -n wxGTK2-unicode-gl-devel
713 %defattr(644,root,root,755)
714 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so
719 %defattr(644,root,root,755)
720 %attr(755,root,root) %{_bindir}/hhp2cached
721 %attr(755,root,root) %{_bindir}/wxemulator
722 %attr(755,root,root) %{_bindir}/wxrc
723 %attr(755,root,root) %{_bindir}/wxrc-*
726 %defattr(644,root,root,755)
727 %doc docs/wxX11-readme.txt
728 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_*-*.so.*.*
729 %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.*.*
730 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univ%{_libf}_*-*.so.4
731 %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.4
733 %files -n wxX11-devel
734 %defattr(644,root,root,755)
735 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_*-*.so
736 %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so
737 %attr(755,root,root) %{_libdir}/wx/config/x11univ-ansi-*
738 %{_libdir}/wx/include/x11univ-ansi-*
739 %attr(755,root,root) %{_bindir}/wx-x11univ-ansi%{_configf}-config
742 %defattr(644,root,root,755)
743 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.*.*
744 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.4
746 %files -n wxX11-gl-devel
747 %defattr(644,root,root,755)
748 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_gl-*.so
751 %files -n wxX11-unicode
752 %defattr(644,root,root,755)
753 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_*-*.so.*.*
754 %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.*.*
755 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univu%{_libf}_*-*.so.4
756 %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.4
758 %files -n wxX11-unicode-devel
759 %defattr(644,root,root,755)
760 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_*-*.so
761 %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so
762 %attr(755,root,root) %{_libdir}/wx/config/x11univ-unicode-*
763 %{_libdir}/wx/include/x11univ-unicode-*
764 %attr(755,root,root) %{_bindir}/wx-x11univ-unicode%{_configf}-config
766 %files -n wxX11-unicode-gl
767 %defattr(644,root,root,755)
768 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.*.*
769 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.4
771 %files -n wxX11-unicode-gl-devel
772 %defattr(644,root,root,755)
773 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_gl-*.so