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