]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
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 debug # build with \--enable-debug | |
7 | # (binary incompatible with non-debug) | |
8 | ||
9 | Summary: wxWidgets library | |
10 | Summary(pl): Biblioteka wxWidgets | |
11 | Name: wxWidgets | |
12 | Version: 2.6.2 | |
13 | Release: 3 | |
14 | License: wxWidgets Licence (LGPL with exception) | |
15 | Group: X11/Libraries | |
16 | Source0: http://dl.sourceforge.net/wxwindows/%{name}-%{version}.tar.bz2 | |
17 | # Source0-md5: ee0aa211febd992c8540e6c9df749b51 | |
18 | Patch0: %{name}-samples.patch | |
19 | Patch1: %{name}-ogl.patch | |
20 | Patch2: %{name}-ac.patch | |
21 | Patch3: %{name}-gif0delay.patch | |
22 | Patch4: %{name}-x11unicode.patch | |
23 | Patch5: %{name}-intl.patch | |
24 | Patch6: %{name}-gcc4.patch | |
25 | URL: http://www.wxWidgets.org/ | |
26 | BuildRequires: OpenGL-GLU-devel | |
27 | #BuildRequires: SDL-devel | |
28 | BuildRequires: autoconf >= 2.58 | |
29 | BuildRequires: automake | |
30 | #BuildRequires: bakefile >= 0.1.9 | |
31 | BuildRequires: cppunit-devel | |
32 | BuildRequires: esound-devel | |
33 | BuildRequires: expat-devel | |
34 | BuildRequires: flex | |
35 | BuildRequires: gettext-devel | |
36 | BuildRequires: gtk+2-devel >= 2.0.0 | |
37 | BuildRequires: libjpeg-devel | |
38 | BuildRequires: libmng-devel | |
39 | BuildRequires: libmspack-devel | |
40 | BuildRequires: libpng-devel | |
41 | BuildRequires: libstdc++-devel | |
42 | BuildRequires: libtiff-devel | |
43 | BuildRequires: libtool | |
44 | BuildRequires: pkgconfig | |
45 | %{?with_x11:BuildRequires: xorg-lib-libXext-devel} | |
46 | # these are not supported by wxWidgets | |
47 | Obsoletes: LDAPExplorerTool <= 0.6-1 | |
48 | Obsoletes: abridge <= 0.4.0-1 | |
49 | # and these are replaced | |
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 | |
70 | Obsoletes: wxWidgets-afm | |
71 | Obsoletes: wxWindows | |
72 | Obsoletes: wxWindows-afm | |
73 | Obsoletes: wxwin-afm | |
74 | Obsoletes: wxwin-common | |
75 | Conflicts: wxGTK2 < 2.6.0 | |
76 | Conflicts: wxGTK2-unicode < 2.6.0 | |
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 | ||
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 |