]>
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 JB |
12 | Version: 2.6.2 |
13 | Release: 1 | |
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 |
d9dc75ca | 23 | URL: http://www.wxWidgets.org/ |
203d941b | 24 | BuildRequires: OpenGL-devel |
d9dc75ca | 25 | BuildRequires: SDL-devel |
9c4b058b | 26 | BuildRequires: autoconf >= 2.58 |
d9dc75ca | 27 | BuildRequires: automake |
4b70d75c | 28 | #BuildRequires: bakefile >= 0.1.9 |
d9dc75ca AF |
29 | BuildRequires: cppunit-devel |
30 | BuildRequires: esound-devel | |
41d9a000 | 31 | BuildRequires: expat-devel |
d9dc75ca AF |
32 | BuildRequires: flex |
33 | BuildRequires: gettext-devel | |
203d941b | 34 | BuildRequires: gtk+2-devel |
d9dc75ca AF |
35 | BuildRequires: libjpeg-devel |
36 | BuildRequires: libmng-devel | |
37 | BuildRequires: libpng-devel | |
38 | BuildRequires: libstdc++-devel | |
39 | BuildRequires: libtiff-devel | |
40 | BuildRequires: libtool | |
a250eaad | 41 | BuildRequires: pkgconfig |
f4daef86 | 42 | # these are not supported by wxWidgets |
9981217a | 43 | Obsoletes: LDAPExplorerTool <= 0.6-1 |
44 | Obsoletes: abridge <= 0.4.0-1 | |
f4daef86 | 45 | # and these are replaced |
203d941b | 46 | Obsoletes: wxGTK |
47 | Obsoletes: wxGTK-devel | |
48 | Obsoletes: wxGTK-gl | |
49 | Obsoletes: wxGTK-gl-devel | |
50 | Obsoletes: wxGTK-univ | |
51 | Obsoletes: wxGTK-univ-devel | |
52 | Obsoletes: wxGTK-univ-gl | |
53 | Obsoletes: wxGTK-univ-gl-devel | |
54 | Obsoletes: wxGTK2-univ | |
55 | Obsoletes: wxGTK2-univ-devel | |
56 | Obsoletes: wxGTK2-univ-gl | |
57 | Obsoletes: wxGTK2-univ-gl-devel | |
58 | Obsoletes: wxGTK2-univ-unicode | |
59 | Obsoletes: wxGTK2-univ-unicode-devel | |
60 | Obsoletes: wxGTK2-univ-unicode-gl | |
61 | Obsoletes: wxGTK2-univ-unicode-gl-devel | |
62 | Obsoletes: wxMotif | |
63 | Obsoletes: wxMotif-devel | |
64 | Obsoletes: wxMotif-gl | |
65 | Obsoletes: wxMotif-gl-devel | |
4eb55aaa | 66 | Obsoletes: wxWidgets-afm |
203d941b | 67 | Obsoletes: wxWindows |
4eb55aaa JB |
68 | Obsoletes: wxWindows-afm |
69 | Obsoletes: wxwin-afm | |
6768fb1a | 70 | Obsoletes: wxwin-common |
d0e6c8ca | 71 | Conflicts: wxGTK2 < 2.6.0 |
72 | Conflicts: wxGTK2-unicode < 2.6.0 | |
d9dc75ca AF |
73 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
74 | ||
75 | %define _sysconfdir %{_datadir} | |
76 | ||
77 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
78 | ||
d9dc75ca AF |
79 | %description |
80 | wxWidgets is a free C++ library for cross-platform GUI development. | |
81 | With wxWidgets, you can create applications for different GUIs (GTK+, | |
82 | Motif/LessTif, MS Windows, Mac) from the same source code. | |
83 | ||
84 | %description -l pl | |
85 |