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://downloads.sourceforge.net/wxwindows/%{name}-%{version}.tar.bz2
18 # Source0-md5: 241998efc12205172ed24c18788ea2cd
19 Patch0: %{name}-samples.patch
20 Patch1: %{name}-ac.patch
21 Patch2: %{name}-link.patch
22 URL: http://www.wxWidgets.org/
23 BuildRequires: OpenGL-GLU-devel
24 #BuildRequires: SDL-devel
25 BuildRequires: autoconf >= 2.59-9
26 BuildRequires: automake
28 BuildRequires: bakefile >= 0.2.9
29 BuildRequires: cairo-devel
30 BuildRequires: cppunit-devel >= 1.8.0
31 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: libmspack-devel
37 BuildRequires: libpng-devel
38 BuildRequires: libstdc++-devel
39 BuildRequires: libtiff-devel
40 BuildRequires: libtool
41 BuildRequires: p7zip-standalone
42 %{?with_x11:BuildRequires: pangox-compat-devel}
43 BuildRequires: pkgconfig
44 %{?with_odbc:BuildRequires: unixODBC-devel}
45 %{?with_x11:BuildRequires: xorg-lib-libXext-devel}
46 %{?with_x11:BuildRequires: xorg-lib-libXt-devel}
47 # these are not supported by wxWidgets
48 Obsoletes: LDAPExplorerTool <= 0.6-1
49 Obsoletes: abridge <= 0.4.0-1
50 # and these are replaced
52 Obsoletes: wxGTK-devel
54 Obsoletes: wxGTK-gl-devel
56 Obsoletes: wxGTK-univ-devel
57 Obsoletes: wxGTK-univ-gl
58 Obsoletes: wxGTK-univ-gl-devel
59 Obsoletes: wxGTK2-univ
60 Obsoletes: wxGTK2-univ-devel
61 Obsoletes: wxGTK2-univ-gl
62 Obsoletes: wxGTK2-univ-gl-devel
63 Obsoletes: wxGTK2-univ-unicode
64 Obsoletes: wxGTK2-univ-unicode-devel
65 Obsoletes: wxGTK2-univ-unicode-gl
66 Obsoletes: wxGTK2-univ-unicode-gl-devel
68 Obsoletes: wxMotif-devel
70 Obsoletes: wxMotif-gl-devel
71 Obsoletes: wxWidgets-afm
73 Obsoletes: wxWindows-afm
75 Obsoletes: wxwin-common
76 Conflicts: wxGTK2 < 2.6.0
77 Conflicts: wxGTK2-unicode < 2.6.0
78 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
80 %define _sysconfdir %{_datadir}
81 %define _noautoreqdep libGL.so.1 libGLU.so.1
83 # do not check for unresolved symbols (couldn't fix that)
84 %define no_install_post_check_so 1
87 wxWidgets is a free C++ library for cross-platform GUI development.
88 With wxWidgets, you can create applications for different GUIs (GTK+,
89 Motif/LessTif, MS Windows, Mac) from the same source code.
91 %description -l pl.UTF-8
92 wxWidgets to wolnodostępna biblioteka napisana w C++ umożliwiająca
93 rozwijanie wieloplatformowych programów GUI. Przy użyciu wxWidgets
94 można tworzyć aplikacje dla różnych GUI (GTK+, Motif/LessTif, MS
95 Windows, Mac) z tego samego kodu źródłowego.
98 Summary: wxWidgets header files and development documentation
99 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do wxWidgets
100 Group: X11/Development/Libraries
101 Requires: libstdc++-devel
102 %{?with_odbc:Requires: unixODBC-devel}
103 Obsoletes: wxWindows-devel
106 Header files and development documentation for the wxWidgets
109 %description devel -l pl.UTF-8
110 Pliki nagłówkowe i dokumentacja do bibliotek wxWidgets.
112 %package -n bakefile-wxWidgets
113 Summary: Files for Bakefile to generate wxWidgets project files
114 Summary(pl.UTF-8): Pliki dla Bakefile generujące pliki projektów wxWidgets
115 Group: Development/Tools
118 %description -n bakefile-wxWidgets
119 Additional files for Bakefile to generate wxWidgets project files.
121 %description -n bakefile-wxWidgets -l pl.UTF-8
122 Dodatkowe pliki dla programu Bakefile umożliwiające wygenerowanie
123 projektów opartych na bibliotece wxWidgets.
126 Summary: wxWidgets example programs
127 Summary(pl.UTF-8): Przykładowe programy wxWidgets
128 Group: X11/Development/Libraries
129 Requires: %{name}-devel = %{version}-%{release}
130 Obsoletes: wxWindows-examples
132 %description examples
133 wxWidgets example programs.
135 %description examples -l pl.UTF-8
136 Przykładowe programy wxWidgets.
139 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit
140 Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI
142 Requires: %{name} = %{version}-%{release}
144 %description -n wxBase
145 wxBase is a collection of C++ classes providing basic data structures
146 (strings, lists, arrays), powerful wxDateTime class for date
147 manipulations, portable wrappers around many OS-specific functions
148 allowing to build the same program under all supported folders,
149 wxThread class for writing multithreaded programs using either Win32
150 or POSIX threads and much more. wxBase currently supports the
151 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
152 HP-UX, ...) and BeOS.
154 %description -n wxBase -l pl.UTF-8
155 wxBase jest zestawem klas C++ obsługujących podstawowe struktury
156 danych (stringi, listy, tablice), klasę wxDateTime do operacji na
157 datach, przenośne wrappery do wielu funkcji zależnych od systemu
158 operacyjnego pozwalające na zbudowanie tego samego programu w różnych
159 środowiskach, klasę wxThread do pisania programów wielowątkowych
160 używających wątków Win32 albo POSIX i inne. wxBase obsługuje
161 platformy: Win32, Unix i BeOS.
163 %package -n wxBase-devel
164 Summary: wxBase headers needed for developping with wxBase
165 Summary(pl.UTF-8): Pliki nagłówkowe do wxBase
166 Group: X11/Development/Libraries
167 Requires: %{name}-devel = %{version}-%{release}
168 Requires: wxBase = %{version}-%{release}
170 %description -n wxBase-devel
171 Header files for wxBase. You need them to develop programs using
174 %description -n wxBase-devel -l pl.UTF-8
175 Pliki nagłówkowe do biblioteki wxBase.
177 %package -n wxBase-unicode
178 Summary: wxBase library - non-GUI support classes of wxWidgets toolkit with UNICODE support
179 Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI ze wsparciem dla UNICODE
181 Requires: %{name} = %{version}-%{release}
183 %description -n wxBase-unicode
184 wxBase is a collection of C++ classes providing basic data structures
185 (strings, lists, arrays), powerful wxDateTime class for date
186 manipulations, portable wrappers around many OS-specific functions
187 allowing to build the same program under all supported folders,
188 wxThread class for writing multithreaded programs using either Win32
189 or POSIX threads and much more. wxBase currently supports the
190 following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris,
191 HP-UX, ...) and BeOS. This version is build with UNICODE support.
193 %description -n wxBase-unicode -l pl.UTF-8
194 wxBase jest zestawem klas C++ obsługujących podstawowe struktury
195 danych (stringi, listy, tablice), klasę wxDateTime do operacji na
196 datach, przenośne wrappery do wielu funkcji zależnych od systemu
197 operacyjnego pozwalające na zbudowanie tego samego programu w różnych
198 środowiskach, klasę wxThread do pisania programów wielowątkowych
199 używających wątków Win32 albo POSIX i inne. wxBase obsługuje
200 platformy: Win32, Unix i BeOS. Ta wersja jest zbudowana z obsługą
203 %package -n wxBase-unicode-devel
204 Summary: wxBase headers needed for developping with UNICODE-enabled wxBase
205 Summary(pl.UTF-8): Pliki nagłówkowe do wxBase z obsługą UNICODE
206 Group: X11/Development/Libraries
207 Requires: %{name}-devel = %{version}-%{release}
208 Requires: wxBase-unicode = %{version}-%{release}
210 %description -n wxBase-unicode-devel
211 Header files for wxBase. You need them to develop programs using
212 UNICODE-enabled wxBase.
214 %description -n wxBase-unicode-devel -l pl.UTF-8
215 Pliki nagłówkowe do biblioteki wxBase z obsługą UNICODE.
218 Summary: wxGTK2 library
219 Summary(pl.UTF-8): Biblioteka wxGTK2
221 Requires: %{name} = %{version}-%{release}
222 Obsoletes: wxGTK2-univ
224 %description -n wxGTK2
225 wxWidgets library using GTK2 widgets.
227 %description -n wxGTK2 -l pl.UTF-8
228 Biblioteka wxWidgets używająca widgetów GTK2.
230 %package -n wxGTK2-devel
231 Summary: Header files for wxGTK2 library
232 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2
233 Group: X11/Development/Libraries
234 Requires: wxBase-devel = %{version}-%{release}
235 Requires: wxGTK2 = %{version}-%{release}
236 Obsoletes: wxGTK2-univ-devel
238 %description -n wxGTK2-devel
239 Header files for wxWidgets library using GTK2 widgets.
241 %description -n wxGTK2-devel -l pl.UTF-8
242 Pliki nagłówkowe dla biblioteki wxWidgets używającej widgetów GTK2.
244 %package -n wxGTK2-gl
245 Summary: GL canvas library for wxGTK2
246 Summary(pl.UTF-8): Biblioteka GL dla wxGTK2
248 Requires: wxGTK2 = %{version}-%{release}
249 Obsoletes: wxGTK2-univ-gl
251 %description -n wxGTK2-gl
252 wxGTK2 GL canvas library.
254 %description -n wxGTK2-gl -l pl.UTF-8
255 Biblioteka GL dla wxGTK2.
257 %package -n wxGTK2-gl-devel
258 Summary: Development files for GL canvas library for wxGTK2
259 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2
260 Group: X11/Development/Libraries
261 Requires: OpenGL-GLU-devel
262 Requires: wxGTK2-devel = %{version}-%{release}
263 Requires: wxGTK2-gl = %{version}-%{release}
264 Obsoletes: wxGTK2-univ-gl-devel
266 %description -n wxGTK2-gl-devel
267 Development files for wxGTK2 GL canvas library.
269 %description -n wxGTK2-gl-devel -l pl.UTF-8
270 Pliki programistyczne biblioteki GL dla wxGTK2.
272 %package -n wxGTK2-unicode
273 Summary: wxGTK2 library with UNICODE support
274 Summary(pl.UTF-8): Biblioteka wxGTK2 z obsługą UNICODE
276 Requires: %{name} = %{version}-%{release}
277 Obsoletes: wxGTK2-univ-unicode
279 %description -n wxGTK2-unicode
280 wxWidgets library using GTK2 widgets with UNICODE support.
282 %description -n wxGTK2-unicode -l pl.UTF-8
283 Biblioteka wxWidgets używająca widgetów GTK2 z obsługą UNICODE.
285 %package -n wxGTK2-unicode-devel
286 Summary: Header files for wxGTK2 library with UNICODE support
287 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2 z obsługą UNICODE
288 Group: X11/Development/Libraries
289 Requires: wxBase-unicode-devel = %{version}-%{release}
290 Requires: wxGTK2-unicode = %{version}-%{release}
291 Obsoletes: wxGTK2-univ-unicode-devel
293 %description -n wxGTK2-unicode-devel
294 Header files for wxWidgets library using GTK2 widgets with UNICODE
297 %description -n wxGTK2-unicode-devel -l pl.UTF-8
298 Pliki nagłówkowe biblioteki wxWidgets używającej widgetów GTK2 z
301 %package -n wxGTK2-unicode-gl
302 Summary: GL canvas library for wxGTK2 with UNICODE support
303 Summary(pl.UTF-8): Biblioteka GL dla wxGTK2 z obsługą UNICODE
305 Requires: wxGTK2-unicode = %{version}-%{release}
306 Obsoletes: wxGTK2-univ-unicode-gl
308 %description -n wxGTK2-unicode-gl
309 GL canvas library for wxGTK2 with UNICODE support.
311 %description -n wxGTK2-unicode-gl -l pl.UTF-8
312 Biblioteka GL dla wxGTK2 z obsługą UNICODE.
314 %package -n wxGTK2-unicode-gl-devel
315 Summary: Development files for GL canvas library for wxGTK2 with UNICODE support
316 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE
317 Group: X11/Development/Libraries
318 Requires: OpenGL-GLU-devel
319 Requires: wxGTK2-unicode-devel = %{version}-%{release}
320 Requires: wxGTK2-unicode-gl = %{version}-%{release}
321 Obsoletes: wxGTK2-univ-unicode-gl-devel
323 %description -n wxGTK2-unicode-gl-devel
324 Development files for GL canvas library for wxGTK2 with UNICODE
327 %description -n wxGTK2-unicode-gl-devel -l pl.UTF-8
328 Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE.
331 Summary: Misc utils from wxWidgets project
332 Summary(pl.UTF-8): Różne narzędzia z projektu wxWidgets
333 Group: X11/Development/Tools
334 Requires: wxX11 = %{version}-%{release}
335 Obsoletes: wxWindows-utils
338 Misc utils from wxWidgets project: wxemulator, wxrc, etc.
340 %description utils -l pl.UTF-8
341 Różne narzędzia z projektu wxWidgets: wxemulator, wxrc itp.
344 Summary: wxUniversal-based wxX11 library
345 Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11
347 Requires: %{name} = %{version}-%{release}
348 Obsoletes: wxX11-univ
350 %description -n wxX11
351 wxUniversal-based wxX11 library.
353 %description -n wxX11 -l pl.UTF-8
354 Oparta na wxUniversal biblioteka wxX11.
356 %package -n wxX11-devel
357 Summary: Header files for wxUniversal-based wxX11 library
358 Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11
360 Requires: %{name}-devel = %{version}-%{release}
361 Requires: wxX11 = %{version}-%{release}
362 Obsoletes: wxX11-univ-devel
364 %description -n wxX11-devel
365 Header files for wxUniversal-based wxX11 library.
367 %description -n wxX11-devel -l pl.UTF-8
368 Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11.
371 Summary: GL canvas library for wxUniversal-based wxX11
372 Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11
374 Requires: wxX11 = %{version}-%{release}
375 Obsoletes: wxX11-univ-gl
377 %description -n wxX11-gl
378 GL canvas library for wxUniversal-based wxX11.
380 %description -n wxX11-gl -l pl.UTF-8
381 Biblioteka GL dla opartej na wxUniversal wxX11.
383 %package -n wxX11-gl-devel
384 Summary: Development files for GL canvas library for wxUniversal-based wxX11
385 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11
386 Group: X11/Development/Libraries
387 Requires: OpenGL-GLU-devel
388 Requires: wxX11-devel = %{version}-%{release}
389 Requires: wxX11-gl = %{version}-%{release}
390 Obsoletes: wxX11-univ-gl-devel
392 %description -n wxX11-gl-devel
393 Development files for GL canvas library for wxUniversal-based wxX11.
395 %description -n wxX11-gl-devel -l pl.UTF-8
396 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11.
398 %package -n wxX11-unicode
399 Summary: wxUniversal-based wxX11 library with UNICODE support
400 Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE
402 Requires: %{name} = %{version}-%{release}
403 Obsoletes: wxX11-univ-unicode
405 %description -n wxX11-unicode
406 wxUniversal-based wxX11 library with UNICODE support.
408 %description -n wxX11-unicode -l pl.UTF-8
409 Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE.
411 %package -n wxX11-unicode-devel
412 Summary: Header files for wxUniversal-based wxX11 library with UNICODE support
413 Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą UNICODE
414 Group: X11/Development/Libraries
415 Requires: %{name}-devel = %{version}-%{release}
416 Requires: wxX11-unicode = %{version}-%{release}
417 Obsoletes: wxX11-univ-unicode-devel
419 %description -n wxX11-unicode-devel
420 Header files for wxUniversal-based wxX11 library with UNICODE support.
422 %description -n wxX11-unicode-devel -l pl.UTF-8
423 Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą
426 %package -n wxX11-unicode-gl
427 Summary: GL canvas library for wxUniversal-based wxX11 with UNICODE support
428 Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE
430 Requires: wxX11-unicode = %{version}-%{release}
431 Obsoletes: wxX11-univ-unicode-gl
433 %description -n wxX11-unicode-gl
434 GL canvas library for wxUniversal-based wxX11 with UNICODE support.
436 %description -n wxX11-unicode-gl -l pl.UTF-8
437 Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE.
439 %package -n wxX11-unicode-gl-devel
440 Summary: Development files for GL canvas library for wxX11 with UNICODE support
441 Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxX11 z obsługą UNICODE
442 Group: X11/Development/Libraries
443 Requires: OpenGL-GLU-devel
444 Requires: wxX11-unicode-devel = %{version}-%{release}
445 Requires: wxX11-unicode-gl = %{version}-%{release}
446 Obsoletes: wxX11-univ-unicode-gl-devel
448 %description -n wxX11-unicode-gl-devel
449 Development files for GL canvas library for wxUniversal-based wxX11
450 with UNICODE support.
452 %description -n wxX11-unicode-gl-devel -l pl.UTF-8
453 Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11 z
462 %{__rm} build/aclocal/bakefile*.m4
465 # if bakefiles rebuild is needed:
466 #%if "%(rpm -q bakefile --qf '%%{VERSION}')" != "0.2.1"
468 #bakefile_gen -f autoconf
471 cp -f /usr/share/automake/config.sub .
472 %{__aclocal} -I build/aclocal
475 CPPFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC -I`pwd`/include"; export CPPFLAGS
476 # avoid adding -s to LDFLAGS
477 LDFLAGS=" "; export LDFLAGS
478 args="%{?with_debug:--enable-debug}%{!?with_debug:--disable-debug} \
479 ac_cv_lib_iodbc_SQLAllocEnv=no \
480 ac_cv_lib_unixodbc_SQLAllocEnv=no \
484 --enable-std_iostreams \
490 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
491 '--enable-unicode' ; do
492 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
498 --enable-graphics_ctx \
499 --disable-universal \
503 %{!?with_gnomeprint:--without-gnomeprint}
510 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
511 '--enable-unicode' ; do
512 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
521 if echo $objdir| grep -q disable-unicode ; then
523 %{__make} -C utils/emulator
524 %{__make} -C utils/hhp2cached
525 # %{__make} -C contrib/utils
535 rm -rf $RPM_BUILD_ROOT
536 install -d $RPM_BUILD_ROOT%{_bindir}
539 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
540 '--enable-unicode' ; do
541 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
544 prefix=$RPM_BUILD_ROOT%{_prefix} \
545 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
546 bindir=$RPM_BUILD_ROOT%{_bindir} \
547 datadir=$RPM_BUILD_ROOT%{_datadir} \
548 libdir=$RPM_BUILD_ROOT%{_libdir} \
549 mandir=$RPM_BUILD_ROOT%{_mandir} \
550 includedir=$RPM_BUILD_ROOT%{_includedir} \
557 for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \
558 '--enable-unicode' ; do
559 objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
562 prefix=$RPM_BUILD_ROOT%{_prefix} \
563 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
564 bindir=$RPM_BUILD_ROOT%{_bindir} \
565 datadir=$RPM_BUILD_ROOT%{_datadir} \
566 libdir=$RPM_BUILD_ROOT%{_libdir} \
567 mandir=$RPM_BUILD_ROOT%{_mandir} \
568 includedir=$RPM_BUILD_ROOT%{_includedir} \
570 if echo $objdir| grep -q disable-unicode ; then
571 # TODO: install default config files and default backgrouds
572 install utils/emulator/src/wxemulator $RPM_BUILD_ROOT%{_bindir}
573 install utils/hhp2cached/hhp2cached $RPM_BUILD_ROOT%{_bindir}
574 install utils/wxrc/wxrc $RPM_BUILD_ROOT%{_bindir}
580 for i in $RPM_BUILD_ROOT%{_libdir}/wx/config/*
583 cp $i $RPM_BUILD_ROOT%{_bindir}/wx-`echo $b|sed -e 's/\(.*\)-release-.*/\1/'`-config
586 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
587 cp -a demos samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
588 cp -f docs/x11/readme.txt docs/wxX11-readme.txt
593 rm -rf $RPM_BUILD_ROOT
595 %post -n wxBase -p /sbin/ldconfig
596 %postun -n wxBase -p /sbin/ldconfig
598 %post -n wxBase-unicode -p /sbin/ldconfig
599 %postun -n wxBase-unicode -p /sbin/ldconfig
601 %post -n wxGTK2 -p /sbin/ldconfig
602 %postun -n wxGTK2 -p /sbin/ldconfig
604 %post -n wxGTK2-gl -p /sbin/ldconfig
605 %postun -n wxGTK2-gl -p /sbin/ldconfig
607 %post -n wxGTK2-unicode -p /sbin/ldconfig
608 %postun -n wxGTK2-unicode -p /sbin/ldconfig
610 %post -n wxGTK2-unicode-gl -p /sbin/ldconfig
611 %postun -n wxGTK2-unicode-gl -p /sbin/ldconfig
613 %post -n wxX11 -p /sbin/ldconfig
614 %postun -n wxX11 -p /sbin/ldconfig
616 %post -n wxX11-unicode -p /sbin/ldconfig
617 %postun -n wxX11-unicode -p /sbin/ldconfig
619 %define _libf %{?with_debug:d}
620 %define _configf %{?with_debug:-debug}-3.0
623 %defattr(644,root,root,755)
624 %doc docs/{changes,licence,licendoc,preamble,readme}.txt
627 %defattr(644,root,root,755)
628 %doc docs/tech docs/univ
631 %dir %{_libdir}/wx/include
632 %dir %{_libdir}/wx/config
633 %{_aclocaldir}/wxwin.m4
635 %files -n bakefile-wxWidgets
636 %defattr(644,root,root,755)
637 %{_datadir}/bakefile/presets/wx*.bkl
640 %defattr(644,root,root,755)
641 %{_examplesdir}/%{name}-%{version}
645 %defattr(644,root,root,755)
646 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}-*.so.*.*
647 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}_*.so.*.*
648 #%attr(755,root,root) %{_libdir}/wx/%{version}/sound_sdl-*.so
649 %attr(755,root,root) %ghost %{_libdir}/libwx_base%{_libf}-*.so.0
650 %attr(755,root,root) %ghost %{_libdir}/libwx_base%{_libf}_*.so.0
652 %files -n wxBase-devel
653 %defattr(644,root,root,755)
654 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}-*.so
655 %attr(755,root,root) %{_libdir}/libwx_base%{_libf}_*.so
658 %files -n wxBase-unicode
659 %defattr(644,root,root,755)
660 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}-*.so.*.*
661 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}_*.so.*.*
662 #%attr(755,root,root) %{_libdir}/wx/%{version}/sound_sdlu-*.so
663 %attr(755,root,root) %ghost %{_libdir}/libwx_baseu%{_libf}-*.so.0
664 %attr(755,root,root) %ghost %{_libdir}/libwx_baseu%{_libf}_*.so.0
666 %files -n wxBase-unicode-devel
667 %defattr(644,root,root,755)
668 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}-*.so
669 %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}_*.so
673 %defattr(644,root,root,755)
674 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_*.so.*.*
675 %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.*.*
676 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2%{_libf}_*.so.0
677 %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.0
679 %files -n wxGTK2-devel
680 %defattr(644,root,root,755)
681 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_*-*.so
682 %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so
683 %attr(755,root,root) %{_libdir}/wx/config/gtk2-ansi-*
684 %{_libdir}/wx/include/gtk2-ansi-*
685 %attr(755,root,root) %{_bindir}/wx-gtk2-ansi%{_configf}-config
688 %defattr(644,root,root,755)
689 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.*.*
690 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.0
692 %files -n wxGTK2-gl-devel
693 %defattr(644,root,root,755)
694 %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_gl-*.so
697 %files -n wxGTK2-unicode
698 %defattr(644,root,root,755)
699 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_*-*.so.*.*
700 %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.*.*
701 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2u%{_libf}_*-*.so.0
702 %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.0
704 %files -n wxGTK2-unicode-devel
705 %defattr(644,root,root,755)
706 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_*-*.so
707 %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so
708 %attr(755,root,root) %{_libdir}/wx/config/gtk2-unicode-*
709 %{_libdir}/wx/include/gtk2-unicode-*
710 %attr(755,root,root) %{_bindir}/wx-gtk2-unicode%{_configf}-config
712 %files -n wxGTK2-unicode-gl
713 %defattr(644,root,root,755)
714 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.*.*
715 %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.0
717 %files -n wxGTK2-unicode-gl-devel
718 %defattr(644,root,root,755)
719 %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so
724 %defattr(644,root,root,755)
725 %attr(755,root,root) %{_bindir}/hhp2cached
726 %attr(755,root,root) %{_bindir}/wxemulator
727 %attr(755,root,root) %{_bindir}/wxrc
728 %attr(755,root,root) %{_bindir}/wxrc-*
731 %defattr(644,root,root,755)
732 %doc docs/wxX11-readme.txt
733 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_*-*.so.*.*
734 %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.*.*
735 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univ%{_libf}_*-*.so.0
736 %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.0
738 %files -n wxX11-devel
739 %defattr(644,root,root,755)
740 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_*-*.so
741 %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so
742 %attr(755,root,root) %{_libdir}/wx/config/x11univ-ansi-*
743 %{_libdir}/wx/include/x11univ-ansi-*
744 %attr(755,root,root) %{_bindir}/wx-x11univ-ansi%{_configf}-config
747 %defattr(644,root,root,755)
748 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.*.*
749 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.0
751 %files -n wxX11-gl-devel
752 %defattr(644,root,root,755)
753 %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_gl-*.so
756 %files -n wxX11-unicode
757 %defattr(644,root,root,755)
758 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_*-*.so.*.*
759 %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.*.*
760 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univu%{_libf}_*-*.so.0
761 %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.0
763 %files -n wxX11-unicode-devel
764 %defattr(644,root,root,755)
765 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_*-*.so
766 %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so
767 %attr(755,root,root) %{_libdir}/wx/config/x11univ-unicode-*
768 %{_libdir}/wx/include/x11univ-unicode-*
769 %attr(755,root,root) %{_bindir}/wx-x11univ-unicode%{_configf}-config
771 %files -n wxX11-unicode-gl
772 %defattr(644,root,root,755)
773 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.*.*
774 %attr(755,root,root) %ghost %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.0
776 %files -n wxX11-unicode-gl-devel
777 %defattr(644,root,root,755)
778 %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_gl-*.so