]>
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) | |
b79373fd | 8 | # |
9 | # Unpackaged files: | |
10 | # /usr/bin/wxrc-2.6 | |
11 | # /usr/share/bakefile/presets/wx.bkl | |
12 | # /usr/share/bakefile/presets/wx_unix.bkl | |
13 | # /usr/share/bakefile/presets/wx_win32.bkl | |
14 | # /usr/share/locale/it/LC_MESSAGES/wxmsw.mo | |
15 | # | |
203d941b | 16 | |
d9dc75ca AF |
17 | Summary: wxWidgets library |
18 | Summary(pl): Biblioteka wxWidgets | |
19 | Name: wxWidgets | |
e3a37a68 | 20 | Version: 2.8.0 |
0f6ef970 | 21 | Release: 0.2 |
203d941b | 22 | License: wxWidgets Licence (LGPL with exception) |
d9dc75ca | 23 | Group: X11/Libraries |
9eb86dc9 JK |
24 | Source0: http://ftp.wxwidgets.org/pub/%{version}/%{name}-%{version}.tar.bz2 |
25 | # Source0-md5: 4bf9c66cdb7cda1d2fe51376c211b9e1 | |
d9dc75ca | 26 | Patch0: %{name}-samples.patch |
6768fb1a JB |
27 | Patch1: %{name}-ogl.patch |
28 | Patch2: %{name}-ac.patch | |
29 | Patch3: %{name}-gif0delay.patch | |
4b70d75c | 30 | Patch4: %{name}-x11unicode.patch |
89b92526 | 31 | Patch5: %{name}-gcc4.patch |
0f6ef970 | 32 | Patch6: %{name}-cvs20061218.patch |
d9dc75ca | 33 | URL: http://www.wxWidgets.org/ |
9adf2bf5 | 34 | BuildRequires: OpenGL-GLU-devel |
b10dc2fa | 35 | #BuildRequires: SDL-devel |
08873616 | 36 | BuildRequires: autoconf >= 2.59-9 |
d9dc75ca | 37 | BuildRequires: automake |
4b70d75c | 38 | #BuildRequires: bakefile >= 0.1.9 |
d9dc75ca AF |
39 | BuildRequires: cppunit-devel |
40 | BuildRequires: esound-devel | |
41d9a000 | 41 | BuildRequires: expat-devel |
d9dc75ca AF |
42 | BuildRequires: flex |
43 | BuildRequires: gettext-devel | |
b10dc2fa | 44 | BuildRequires: gtk+2-devel >= 2.0.0 |
d9dc75ca AF |
45 | BuildRequires: libjpeg-devel |
46 | BuildRequires: libmng-devel | |
3b9ceb22 | 47 | BuildRequires: libmspack-devel |
d9dc75ca AF |
48 | BuildRequires: libpng-devel |
49 | BuildRequires: libstdc++-devel | |
50 | BuildRequires: libtiff-devel | |
51 | BuildRequires: libtool | |
a250eaad | 52 | BuildRequires: pkgconfig |
9adf2bf5 | 53 | %{?with_x11:BuildRequires: xorg-lib-libXext-devel} |
f4daef86 | 54 | # these are not supported by wxWidgets |
9981217a | 55 | Obsoletes: LDAPExplorerTool <= 0.6-1 |
56 | Obsoletes: abridge <= 0.4.0-1 | |
f4daef86 | 57 | # and these are replaced |
203d941b | 58 | Obsoletes: wxGTK |
59 | Obsoletes: wxGTK-devel | |
60 | Obsoletes: wxGTK-gl | |
61 | Obsoletes: wxGTK-gl-devel | |
62 | Obsoletes: wxGTK-univ | |
63 | Obsoletes: wxGTK-univ-devel | |
64 | Obsoletes: wxGTK-univ-gl | |
65 | Obsoletes: wxGTK-univ-gl-devel | |
66 | Obsoletes: wxGTK2-univ | |
67 | Obsoletes: wxGTK2-univ-devel | |
68 | Obsoletes: wxGTK2-univ-gl | |
69 | Obsoletes: wxGTK2-univ-gl-devel | |
70 | Obsoletes: wxGTK2-univ-unicode | |
71 | Obsoletes: wxGTK2-univ-unicode-devel | |
72 | Obsoletes: wxGTK2-univ-unicode-gl | |
73 | Obsoletes: wxGTK2-univ-unicode-gl-devel | |
74 | Obsoletes: wxMotif | |
75 | Obsoletes: wxMotif-devel | |
76 | Obsoletes: wxMotif-gl | |
77 | Obsoletes: wxMotif-gl-devel | |
4eb55aaa | 78 | Obsoletes: wxWidgets-afm |
203d941b | 79 | Obsoletes: wxWindows |
4eb55aaa JB |
80 | Obsoletes: wxWindows-afm |
81 | Obsoletes: wxwin-afm | |
6768fb1a | 82 | Obsoletes: wxwin-common |
d0e6c8ca | 83 | Conflicts: wxGTK2 < 2.6.0 |
84 | Conflicts: wxGTK2-unicode < 2.6.0 | |
d9dc75ca AF |
85 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
86 | ||
87 | %define _sysconfdir %{_datadir} | |
88 | ||
89 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
90 | ||
d9dc75ca AF |
91 | %description |
92 | wxWidgets is a free C++ library for cross-platform GUI development. | |
93 | With wxWidgets, you can create applications for different GUIs (GTK+, | |
94 | Motif/LessTif, MS Windows, Mac) from the same source code. | |
95 | ||
96 | %description -l pl | |
97 |