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://dl.sourceforge.net/project/wxwindows/%{version}/%{name}-%{version}.7z
18 # Source0-md5: 294362f2a7407547b6819748896b1632
19 Patch0: %{name}-samples.patch
20 Patch1: %{name}-ogl.patch
21 Patch2: %{name}-ac.patch
22 Patch3: %{name}-link.patch
23 URL: http://www.wxWidgets.org/
24 BuildRequires: OpenGL-GLU-devel
25 #BuildRequires: SDL-devel
26 BuildRequires: autoconf >= 2.59-9
27 BuildRequires: automake
28 #BuildRequires: bakefile >= 0.2.1
29 BuildRequires: cppunit-devel
30 BuildRequires: expat-devel
32 BuildRequires: gettext-devel
33 BuildRequires: gtk+2-devel >= 2.0.0
34 %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.8.0}
35 BuildRequires: libjpeg-devel
36 BuildRequires: libmng-devel
37 BuildRequires: libmspack-devel
38 BuildRequires: libpng-devel
39 BuildRequires: libstdc++-devel
40 BuildRequires: libtiff-devel
41 BuildRequires: libtool
42 BuildRequires: p7zip-standalone
43 BuildRequires: pkgconfig
44 %{?with_x11:BuildRequires: xorg-lib-libXext-devel}
45 # these are not supported by wxWidgets
46 Obsoletes: LDAPExplorerTool <= 0.6-1
47 Obsoletes: abridge <= 0.4.0-1
48 # and these are replaced
50 Obsoletes: wxGTK-devel
52 Obsoletes: wxGTK-gl-devel
54 Obsoletes: wxGTK-univ-devel
55 Obsoletes: wxGTK-univ-gl
56 Obsoletes: wxGTK-univ-gl-devel
57 Obsoletes: wxGTK2-univ
58 Obsoletes: wxGTK2-univ-devel
59 Obsoletes: wxGTK2-univ-gl
60 Obsoletes: wxGTK2-univ-gl-devel
61 Obsoletes: wxGTK2-univ-unicode
62 Obsoletes: wxGTK2-univ-unicode-devel
63 Obsoletes: wxGTK2-univ-unicode-gl
64 Obsoletes: wxGTK2-univ-unicode-gl-devel
66 Obsoletes: wxMotif-devel
68 Obsoletes: wxMotif-gl-devel
69 Obsoletes: wxWidgets-afm
71 Obsoletes: wxWindows-afm
73 Obsoletes: wxwin-common
74 Conflicts: wxGTK2 < 2.6.0
75 Conflicts: wxGTK2-unicode < 2.6.0
76 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78 %define _sysconfdir %{_datadir}
79 %define _noautoreqdep libGL.so.1 libGLU.so.1
81 # do not check for unresolved symbols (couldn't fix that)
82 %define no_install_post_check_so 1
85 wxWidgets is a free C++ library for cross-platform GUI development.
86 With wxWidgets, you can create applications for different GUIs (GTK+,
87 Motif/LessTif, MS Windows, Mac) from the same source code.
89 %description -l pl.UTF-8
90 wxWidgets to wolnodostępna biblioteka napisana w C++ umożliwiająca
91 rozwijanie wieloplatformowych programów GUI. Przy użyciu wxWidgets
92 można tworzyć aplikacje dla różnych GUI (GTK+, Motif/LessTif, MS
93 Windows, Mac) z tego samego kodu źródłowego.
96 Summary: wxWidgets header files and development documentation
97 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do wxWidgets
98 Group: X11/Development/Libraries
99 Requires: libstdc++-devel
100 %{?with_odbc:Requires: unixODBC-devel}
101 Obsoletes: wxWindows-devel
104 Header files and development documentation for the wxWidgets
107 %description devel -l pl.UTF-8
108 Pliki nagłówkowe i dokumentacja do bibliotek wxWidgets.
110 %package -n bakefile-wxWidgets
111 Summary: Files for Bakefile to generate wxWidgets project files
112 Summary(pl.UTF-8): Pliki dla Bakefile generujące pliki projektów wxWidgets
113 Group: Development/Tools
116 %description -n bakefile-wxWidgets
117 Additional files for Bakefile to generate wxWidgets project files.
119 %description -n bakefile-wxWidgets -l pl.UTF-8
120 Dodatkowe pliki dla programu Bakefile umożliwiające wygenerowanie
121 projektów opartych na bibliotece wxWidgets.
124 Summary: wxWidgets example programs
125 Summary(pl.UTF-8): Przykładowe programy wxWidgets
126 Group: X11/Development/Libraries
127 Requires: %{name}-devel = %{version}-%{release}
128 Obsoletes: wxWindows-examples
130 %description examples
131 wxWidgets example programs.
133 %description examples -l pl.UTF-8
134 Przykładowe programy wxWidgets.
137 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit
138 Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI
140 Requires: %{name} = %{version}-%{release}
142 %description -n wxBase
143 wxBase is a collection of C++ classes providing basic data structures
144 (strings, lists, arrays), powerful wxDateTime class for date
145 manipulations, portable wrappers around many OS-specific functions
146 allowing to build the same program under all supported folders,
147 wxThread class for writing multithreaded programs using either Win32
148 or POSIX threads and much more. wxBase currently supports the
149 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
150 HP-UX, ...) and BeOS.
152 %description -n wxBase -l pl.UTF-8
153 wxBase jest zestawem klas C++ obsługujących podstawowe struktury
154 danych (stringi, listy, tablice), klasę wxDateTime do operacji na
155 datach, przenośne wrappery do wielu funkcji zależnych od systemu
156 operacyjnego pozwalające na zbudowanie tego samego programu w różnych
157 środowiskach, klasę wxThread do pisania programów wielowątkowych
158 używających wątków Win32 albo POSIX i inne. wxBase obsługuje
159 platformy: Win32, Unix i BeOS.
161 %package -n wxBase-devel
162 Summary: wxBase headers needed for developping with wxBase
163 Summary(pl.UTF-8): Pliki nagłówkowe do wxBase
164 Group: X11/Development/Libraries
165 Requires: %{name}-devel = %{version}-%{release}
166 Requires: wxBase = %{version}-%{release}
168 %description -n wxBase-devel
169 Header files for wxBase. You need them to develop programs using
172 %description -n wxBase-devel -l pl.UTF-8
173 Pliki nagłówkowe do biblioteki wxBase.
175 %package -n wxBase-unicode
176 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit with UNICODE support
177 Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI ze wsparciem dla UNICODE
179 Requires: %{name} = %{version}-%{release}
181 %description -n wxBase-unicode
182 wxBase is a collection of C++ classes providing basic data structures
183 (strings, lists, arrays), powerful wxDateTime class for date
184 manipulations, portable wrappers around many OS-specific functions
185 allowing to build the same program under all supported folders,
186 wxThread class for writing multithreaded programs using either Win32
187 or POSIX threads and much more. wxBase currently supports the
188 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
189 HP-UX, ...) and BeOS. This version is build with UNICODE support.
191 %description -n wxBase-unicode -l pl.UTF-8
192 wxBase jest zestawem klas C++ obsługujących podstawowe struktury
193 danych (stringi, listy, tablice), klasę wxDateTime do operacji na
194 datach, przenośne wrappery do wielu funkcji zależnych od systemu
195 operacyjnego pozwalające na zbudowanie tego samego programu w różnych
196 środowiskach, klasę wxThread do pisania programów wielowątkowych
197 używających wątków Win32 albo POSIX i inne. wxBase obsługuje
198 platformy: Win32, Unix i BeOS. Ta wersja jest zbudowana z obsługą
201 %package -n wxBase-unicode-devel
202 Summary: wxBase headers needed for developping with UNICODE-enabled wxBase
203 Summary(pl.UTF-8): Pliki nagłówkowe do wxBase z obsługą UNICODE
204 Group: X11/Development/Libraries
205 Requires: %{name}-devel = %{version}-%{release}
206 Requires: wxBase-unicode = %{version}-%{release}
208 %description -n wxBase-unicode-devel
209 Header files for wxBase. You need them to develop programs using
210 UNICODE-enabled wxBase.
212 %description -n wxBase-unicode-devel -l pl.UTF-8
213 Pliki nagłówkowe do biblioteki wxBase z obsługą UNICODE.
216 Summary: wxGTK2 library
217 Summary(pl.UTF-8): Biblioteka wxGTK2
219 Requires: %{name} = %{version}-%{release}
220 Obsoletes: wxGTK2-univ
222 %description -n wxGTK2
223 wxWidgets library using GTK2 widgets.
225 %description -n wxGTK2 -l pl.UTF-8
226 Biblioteka wxWidgets używająca widgetów GTK2.
228 %package -n wxGTK2-devel
229 Summary: Header files for wxGTK2 library
230 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2
231 Group: X11/Development/Libraries
232 Requires: wxBase-devel = %{version}-%{release}
233 Requires: wxGTK2 = %{version}-%{release}
234 Obsoletes: wxGTK2-univ-devel
236 %description -n wxGTK2-devel
237 Header files for wxWidgets library using GTK2 widgets.
239 %description -n wxGTK2-devel -l pl.UTF-8
240 Pliki nagłówkowe dla biblioteki wxWidgets używającej widgetów GTK2.
242 %package -n wxGTK2-gl
243 Summary: GL canvas library for wxGTK2
244 Summary(pl.UTF-8): Biblioteka GL dla wxGTK2
246 Requires: wxGTK2 = %{version}-%{release}
247 Obsoletes: wxGTK2-univ-gl
249 %description -n wxGTK2-gl
250 wxGTK2 GL canvas library.
252 %description -n wxGTK2-gl -l pl.UTF-8
253 Biblioteka GL dla wxGTK2.
255 %package -n wxGTK2-gl-devel
256 Summary: Development files for GL canvas library for wxGTK2
257 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2
258 Group: X11/Development/Libraries
259 Requires: OpenGL-GLU-devel
260 Requires: wxGTK2-devel = %{version}-%{release}
261 Requires: wxGTK2-gl = %{version}-%{release}
262 Obsoletes: wxGTK2-univ-gl-devel
264 %description -n wxGTK2-gl-devel
265 Development files for wxGTK2 GL canvas library.
267 %description -n wxGTK2-gl-devel -l pl.UTF-8
268 Pliki programistyczne biblioteki GL dla wxGTK2.
270 %package -n wxGTK2-unicode
271 Summary: wxGTK2 library with UNICODE support
272 Summary(pl.UTF-8): Biblioteka wxGTK2 z obsługą UNICODE
274 Requires: %{name} = %{version}-%{release}
275 Obsoletes: wxGTK2-univ-unicode
277 %description -n wxGTK2-unicode
278 wxWidgets library using GTK2 widgets with UNICODE support.
280 %description -n wxGTK2-unicode -l pl.UTF-8
281 Biblioteka wxWidgets używająca widgetów GTK2 z obsługą UNICODE.
283 %package -n wxGTK2-unicode-devel
284 Summary: Header files for wxGTK2 library with UNICODE support
285 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2 z obsługą UNICODE
286 Group: X11/Development/Libraries
287 Requires: wxBase-unicode-devel = %{version}-%{release}
288 Requires: wxGTK2-unicode = %{version}-%{release}
289 Obsoletes: wxGTK2-univ-unicode-devel
291 %description -n wxGTK2-unicode-devel
292 Header files for wxWidgets library using GTK2 widgets with UNICODE
295 %description -n wxGTK2-unicode-devel -l pl.UTF-8
296 Pliki nagłówkowe biblioteki wxWidgets używającej widgetów GTK2 z
299 %package -n wxGTK2-unicode-gl
300 Summary: GL canvas library for wxGTK2 with UNICODE support
301 Summary(pl.UTF-8): Biblioteka GL dla wxGTK2 z obsługą UNICODE
303 Requires: wxGTK2-unicode = %{version}-%{release}
304 Obsoletes: wxGTK2-univ-unicode-gl
306 %description -n wxGTK2-unicode-gl
307 GL canvas library for wxGTK2 with UNICODE support.
309 %description -n wxGTK2-unicode-gl -l pl.UTF-8
310 Biblioteka GL dla wxGTK2 z obsługą UNICODE.
312 %package -n wxGTK2-unicode-gl-devel
313 Summary: Development files for GL canvas library for wxGTK2 with UNICODE support
314 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE
315 Group: X11/Development/Libraries
316 Requires: OpenGL-GLU-devel
317 Requires: wxGTK2-unicode-devel = %{version}-%{release}
318 Requires: wxGTK2-unicode-gl = %{version}-%{release}
319 Obsoletes: wxGTK2-univ-unicode-gl-devel
321 %description -n wxGTK2-unicode-gl-devel
322 Development files for GL canvas library for wxGTK2 with UNICODE
325 %description -n wxGTK2-unicode-gl-devel -l pl.UTF-8
326 Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE.
329 Summary: Misc utils from wxWidgets project
330 Summary(pl.UTF-8): Różne narzędzia z projektu wxWidgets
331 Group: X11/Development/Tools
332 Requires: wxX11 = %{version}-%{release}
333 Obsoletes: wxWindows-utils
336 Misc utils from wxWidgets project: wxemulator, wxrc, etc.
338 %description utils -l pl.UTF-8
339 Różne narzędzia z projektu wxWidgets: wxemulator, wxrc itp.
342 Summary: wxUniversal-based wxX11 library
343 Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11
345 Requires: %{name} = %{version}-%{release}
346 Obsoletes: wxX11-univ
348 %description -n wxX11
349 wxUniversal-based wxX11 library.
351 %description -n wxX11 -l pl.UTF-8
352 Oparta na wxUniversal biblioteka wxX11.
354 %package -n wxX11-devel
355 Summary: Header files for wxUniversal-based wxX11 library
356 Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11
358 Requires: %{name}-devel = %{version}-%{release}
359 Requires: wxX11 = %{version}-%{release}
360 Obsoletes: wxX11-univ-devel
362 %description -n wxX11-devel
363 Header files for wxUniversal-based wxX11 library.
365 %description -n wxX11-devel -l pl.UTF-8
366 Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11.
369 Summary: GL canvas library for wxUniversal-based wxX11
370 Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11
372 Requires: wxX11 = %{version}-%{release}
373 Obsoletes: wxX11-univ-gl
375 %description -n wxX11-gl
376 GL canvas library for wxUniversal-based wxX11.
378 %description -n wxX11-gl -l pl.UTF-8
379 Biblioteka GL dla opartej na wxUniversal wxX11.
381 %package -n wxX11-gl-devel
382 Summary: Development files for GL canvas library for wxUniversal-based wxX11
383 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11
384 Group: X11/Development/Libraries
385 Requires: OpenGL-GLU-devel
386 Requires: wxX11-devel = %{version}-%{release}
387 Requires: wxX11-gl = %{version}-%{release}
388 Obsoletes: wxX11-univ-gl-devel
390 %description -n wxX11-gl-devel
391 Development files for GL canvas library for wxUniversal-based wxX11.
393 %description -n wxX11-gl-devel -l pl.UTF-8
394 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11.
396 %package -n wxX11-unicode
397 Summary: wxUniversal-based wxX11 library with UNICODE support
398 Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE
400 Requires: %{name} = %{version}-%{release}
401 Obsoletes: wxX11-univ-unicode
403 %description -n wxX11-unicode
404 wxUniversal-based wxX11 library with UNICODE support.
406 %description -n wxX11-unicode -l pl.UTF-8
407 Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE.
409 %package -n wxX11-unicode-devel
410 Summary: Header files for wxUniversal-based wxX11 library with UNICODE support
411 Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą UNICODE
412 Group: X11/Development/Libraries
413 Requires: %{name}-devel = %{version}-%{release}
414 Requires: wxX11-unicode = %{version}-%{release}
415 Obsoletes: wxX11-univ-unicode-devel
417 %description -n wxX11-unicode-devel
418 Header files for wxUniversal-based wxX11 library with UNICODE support.
420 %description -n wxX11-unicode-devel -l pl.UTF-8
421 Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą
424 %package -n wxX11-unicode-gl
425 Summary: GL canvas library for wxUniversal-based wxX11 with UNICODE support
426 Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE
428 Requires: wxX11-unicode = %{version}-%{release}
429 Obsoletes: wxX11-univ-unicode-gl
431 %description -n wxX11-unicode-gl
432 GL canvas library for wxUniversal-based wxX11 with UNICODE support.
434 %description -n wxX11-unicode-gl -l pl.UTF-8
435 Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE.
437 %package -n wxX11-unicode-gl-devel
438 Summary: Development files for GL canvas library for wxX11 with UNICODE support
439 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxX11 z obsługą UNICODE
440 Group: X11/Development/Libraries
441 Requires: OpenGL-GLU-devel
442 Requires: wxX11-unicode-devel = %{version}-%{release}
443 Requires: wxX11-unicode-gl = %{version}-%{release}
444 Obsoletes: wxX11-univ-unicode-gl-devel
446 %description -n wxX11-unicode-gl-devel
447 Development files for GL canvas library for wxUniversal-based wxX11
448 with UNICODE support.
450 %description -n wxX11-unicode-gl-devel -l pl.UTF-8
451 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11 z
461 %undos src/stc/gen_iface.py
464 # if bakefiles rebuild is needed:
465 #%if "%(rpm -q bakefile --qf '%%{VERSION}')" != "0.2.1"
467 #bakefile_gen -f autoconf
470 cp -f /usr/share/automake/config.sub .
471 %{__aclocal} -I build/aclocal
474 CPPFLAGS="%{rpmcppflags} %{rpmcflags} -I`pwd`/include -fPIC"; export CPPFLAGS
475 # avoid adding -s to LDFLAGS
476 LDFLAGS=" "; export LDFLAGS
477 args="%{?with_debug:--enable-debug}%{!?with_debug:--disable-debug} \
479 --enable-std_iostreams \
487 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
488 '--enable-unicode' ; do
489 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
495 --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}-3.0
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.0
645 %attr(755,root,root) %ghost %{_libdir}/libwx_base%{_libf}_*.so.0
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.0
659 %attr(755,root,root) %ghost %{_libdir}/libwx_baseu%{_libf}_*.so.0
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.0
672 %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.0
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.0
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.0
697 %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.0
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.0
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.0
731 %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.0
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.0
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.0
756 %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.0
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.0
771 %files -n wxX11-unicode-gl-devel
772 %defattr(644,root,root,755)
773 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_gl-*.so