]>
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 | # 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 | # | |
16 | ||
17 | Summary: wxWidgets library | |
18 | Summary(pl): Biblioteka wxWidgets | |
19 | Name: wxWidgets | |
20 | Version: 2.8.0 | |
21 | Release: 0.2 | |
22 | License: wxWidgets Licence (LGPL with exception) | |
23 | Group: X11/Libraries | |
24 | Source0: http://ftp.wxwidgets.org/pub/%{version}/%{name}-%{version}.tar.bz2 | |
25 | # Source0-md5: 4bf9c66cdb7cda1d2fe51376c211b9e1 | |
26 | Patch0: %{name}-samples.patch | |
27 | Patch1: %{name}-ogl.patch | |
28 | Patch2: %{name}-ac.patch | |
29 | Patch3: %{name}-gif0delay.patch | |
30 | Patch4: %{name}-x11unicode.patch | |
31 | Patch5: %{name}-gcc4.patch | |
32 | Patch6: %{name}-cvs20061218.patch | |
33 | URL: http://www.wxWidgets.org/ | |
34 | BuildRequires: OpenGL-GLU-devel | |
35 | #BuildRequires: SDL-devel | |
36 | BuildRequires: autoconf >= 2.59-9 | |
37 | BuildRequires: automake | |
38 | #BuildRequires: bakefile >= 0.1.9 | |
39 | BuildRequires: cppunit-devel | |
40 | BuildRequires: esound-devel | |
41 | BuildRequires: expat-devel | |
42 | BuildRequires: flex | |
43 | BuildRequires: gettext-devel | |
44 | BuildRequires: gtk+2-devel >= 2.0.0 | |
45 | BuildRequires: libjpeg-devel | |
46 | BuildRequires: libmng-devel | |
47 | BuildRequires: libmspack-devel | |
48 | BuildRequires: libpng-devel | |
49 | BuildRequires: libstdc++-devel | |
50 | BuildRequires: libtiff-devel | |
51 | BuildRequires: libtool | |
52 | BuildRequires: pkgconfig | |
53 | %{?with_x11:BuildRequires: xorg-lib-libXext-devel} | |
54 | # these are not supported by wxWidgets | |
55 | Obsoletes: LDAPExplorerTool <= 0.6-1 | |
56 | Obsoletes: abridge <= 0.4.0-1 | |
57 | # and these are replaced | |
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 | |
78 | Obsoletes: wxWidgets-afm | |
79 | Obsoletes: wxWindows | |
80 | Obsoletes: wxWindows-afm | |
81 | Obsoletes: wxwin-afm | |
82 | Obsoletes: wxwin-common | |
83 | Conflicts: wxGTK2 < 2.6.0 | |
84 | Conflicts: wxGTK2-unicode < 2.6.0 | |
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 | ||
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 |