]>
Commit | Line | Data |
---|---|---|
d9dc75ca AF |
1 | # |
2 | # Conditional build: | |
5849de56 | 3 | %bcond_without ansi # only unicode packages |
d9dc75ca | 4 | %bcond_without odbc # without ODBC support |
4eb55aaa | 5 | %bcond_without x11 # don't build wxX11 packages |
d9dc75ca AF |
6 | %bcond_with debug # build with \--enable-debug |
7 | # (binary incompatible with non-debug) | |
203d941b | 8 | |
d9dc75ca AF |
9 | Summary: wxWidgets library |
10 | Summary(pl): Biblioteka wxWidgets | |
11 | Name: wxWidgets | |
4b70d75c | 12 | Version: 2.6.2 |
9adf2bf5 | 13 | Release: 3 |
203d941b | 14 | License: wxWidgets Licence (LGPL with exception) |
d9dc75ca | 15 | Group: X11/Libraries |
b540502d | 16 | Source0: http://dl.sourceforge.net/wxwindows/%{name}-%{version}.tar.bz2 |
4b70d75c | 17 | # Source0-md5: ee0aa211febd992c8540e6c9df749b51 |
d9dc75ca | 18 | Patch0: %{name}-samples.patch |
6768fb1a JB |
19 | Patch1: %{name}-ogl.patch |
20 | Patch2: %{name}-ac.patch | |
21 | Patch3: %{name}-gif0delay.patch | |
4b70d75c | 22 | Patch4: %{name}-x11unicode.patch |
55908bc3 | 23 | Patch5: %{name}-intl.patch |
7d14979c | 24 | Patch6: %{name}-gcc4.patch |
d9dc75ca | 25 | URL: http://www.wxWidgets.org/ |
9adf2bf5 | 26 | BuildRequires: OpenGL-GLU-devel |
b10dc2fa | 27 | #BuildRequires: SDL-devel |
9c4b058b | 28 | BuildRequires: autoconf >= 2.58 |
d9dc75ca | 29 | BuildRequires: automake |
4b70d75c | 30 | #BuildRequires: bakefile >= 0.1.9 |
d9dc75ca AF |
31 | BuildRequires: cppunit-devel |
32 | BuildRequires: esound-devel | |
41d9a000 | 33 | BuildRequires: expat-devel |
d9dc75ca AF |
34 | BuildRequires: flex |
35 | BuildRequires: gettext-devel | |
b10dc2fa | 36 | BuildRequires: gtk+2-devel >= 2.0.0 |
d9dc75ca AF |
37 | BuildRequires: libjpeg-devel |
38 | BuildRequires: libmng-devel | |
3b9ceb22 | 39 | BuildRequires: libmspack-devel |
d9dc75ca AF |
40 | BuildRequires: libpng-devel |
41 | BuildRequires: libstdc++-devel | |
42 | BuildRequires: libtiff-devel | |
43 | BuildRequires: libtool | |
a250eaad | 44 | BuildRequires: pkgconfig |
9adf2bf5 | 45 | %{?with_x11:BuildRequires: xorg-lib-libXext-devel} |
f4daef86 | 46 | # these are not supported by wxWidgets |
9981217a | 47 | Obsoletes: LDAPExplorerTool <= 0.6-1 |
48 | Obsoletes: abridge <= 0.4.0-1 | |
f4daef86 | 49 | # and these are replaced |
203d941b | 50 | Obsoletes: wxGTK |
51 | Obsoletes: wxGTK-devel | |
52 | Obsoletes: wxGTK-gl | |
53 | Obsoletes: wxGTK-gl-devel | |
54 | Obsoletes: wxGTK-univ | |
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 | |
66 | Obsoletes: wxMotif | |
67 | Obsoletes: wxMotif-devel | |
68 | Obsoletes: wxMotif-gl | |
69 | Obsoletes: wxMotif-gl-devel | |
4eb55aaa | 70 | Obsoletes: wxWidgets-afm |
203d941b | 71 | Obsoletes: wxWindows |
4eb55aaa JB |
72 | Obsoletes: wxWindows-afm |
73 | Obsoletes: wxwin-afm | |
6768fb1a | 74 | Obsoletes: wxwin-common |
d0e6c8ca | 75 | Conflicts: wxGTK2 < 2.6.0 |
76 | Conflicts: wxGTK2-unicode < 2.6.0 | |
d9dc75ca AF |
77 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
78 | ||
79 | %define _sysconfdir %{_datadir} | |
80 | ||
81 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
82 | ||
d9dc75ca AF |
83 | %description |
84 | wxWidgets is a free C++ library for cross-platform GUI development. | |
85 | With wxWidgets, you can create applications for different GUIs (GTK+, | |
86 | Motif/LessTif, MS Windows, Mac) from the same source code. | |
87 | ||
88 | %description -l pl | |
89 |