]>
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 |
29edd735 | 6 | %bcond_with gnomeprint # GNOME print support |
d9dc75ca AF |
7 | %bcond_with debug # build with \--enable-debug |
8 | # (binary incompatible with non-debug) | |
b79373fd | 9 | # |
d9dc75ca | 10 | Summary: wxWidgets library |
b7739b8e | 11 | Summary(pl.UTF-8): Biblioteka wxWidgets |
d9dc75ca | 12 | Name: wxWidgets |
6c24c3f8 | 13 | Version: 3.0.0 |
be77b93a | 14 | Release: 1 |
d858cc4a | 15 | License: wxWindows Library Licence 3.1 (LGPL v2+ with exception) |
d9dc75ca | 16 | Group: X11/Libraries |
f7e4c3a8 AM |
17 | Source0: http://downloads.sourceforge.net/wxwindows/%{name}-%{version}.tar.bz2 |
18 | # Source0-md5: 241998efc12205172ed24c18788ea2cd | |
d9dc75ca | 19 | Patch0: %{name}-samples.patch |
f56994b7 AM |
20 | Patch1: %{name}-ac.patch |
21 | Patch2: %{name}-link.patch | |
d9dc75ca | 22 | URL: http://www.wxWidgets.org/ |
9adf2bf5 | 23 | BuildRequires: OpenGL-GLU-devel |
b10dc2fa | 24 | #BuildRequires: SDL-devel |
08873616 | 25 | BuildRequires: autoconf >= 2.59-9 |
d9dc75ca | 26 | BuildRequires: automake |
a485b266 AM |
27 | # for m4 files |
28 | BuildRequires: bakefile >= 0.2.9 | |
c5dbb1f5 | 29 | BuildRequires: cairo-devel |
f59ccd1e | 30 | BuildRequires: cppunit-devel >= 1.8.0 |
41d9a000 | 31 | BuildRequires: expat-devel |
d9dc75ca | 32 | BuildRequires: gettext-devel |
b10dc2fa | 33 | BuildRequires: gtk+2-devel >= 2.0.0 |
29edd735 | 34 | %{?with_gnomeprint:BuildRequires: libgnomeprintui-devel >= 2.8.0} |
d9dc75ca | 35 | BuildRequires: libjpeg-devel |
3b9ceb22 | 36 | BuildRequires: libmspack-devel |
d9dc75ca AF |
37 | BuildRequires: libpng-devel |
38 | BuildRequires: libstdc++-devel | |
39 | BuildRequires: libtiff-devel | |
40 | BuildRequires: libtool | |
6c24c3f8 | 41 | BuildRequires: p7zip-standalone |
8003fa30 | 42 | %{?with_x11:BuildRequires: pangox-compat-devel} |
a250eaad | 43 | BuildRequires: pkgconfig |
4e186edd | 44 | %{?with_odbc:BuildRequires: unixODBC-devel} |
9adf2bf5 | 45 | %{?with_x11:BuildRequires: xorg-lib-libXext-devel} |
dc53f591 | 46 | %{?with_x11:BuildRequires: xorg-lib-libXt-devel} |
f4daef86 | 47 | # these are not supported by wxWidgets |
9981217a | 48 | Obsoletes: LDAPExplorerTool <= 0.6-1 |
49 | Obsoletes: abridge <= 0.4.0-1 | |
f4daef86 | 50 | # and these are replaced |
203d941b | 51 | Obsoletes: wxGTK |
52 | Obsoletes: wxGTK-devel | |
53 | Obsoletes: wxGTK-gl | |
54 | Obsoletes: wxGTK-gl-devel | |
55 | Obsoletes: wxGTK-univ | |
56 | Obsoletes: wxGTK-univ-devel | |
57 | Obsoletes: wxGTK-univ-gl | |
58 | Obsoletes: wxGTK-univ-gl-devel | |
59 | Obsoletes: wxGTK2-univ | |
60 | Obsoletes: wxGTK2-univ-devel | |
61 | Obsoletes: wxGTK2-univ-gl | |
62 | Obsoletes: wxGTK2-univ-gl-devel | |
63 | Obsoletes: wxGTK2-univ-unicode | |
64 | Obsoletes: wxGTK2-univ-unicode-devel | |
65 | Obsoletes: wxGTK2-univ-unicode-gl | |
66 | Obsoletes: wxGTK2-univ-unicode-gl-devel | |
67 | Obsoletes: wxMotif | |
68 | Obsoletes: wxMotif-devel | |
69 | Obsoletes: wxMotif-gl | |
70 | Obsoletes: wxMotif-gl-devel | |
4eb55aaa | 71 | Obsoletes: wxWidgets-afm |
203d941b | 72 | Obsoletes: wxWindows |
4eb55aaa JB |
73 | Obsoletes: wxWindows-afm |
74 | Obsoletes: wxwin-afm | |
6768fb1a | 75 | Obsoletes: wxwin-common |
d0e6c8ca | 76 | Conflicts: wxGTK2 < 2.6.0 |
77 | Conflicts: wxGTK2-unicode < 2.6.0 | |
d9dc75ca AF |
78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
79 | ||
80 | %define _sysconfdir %{_datadir} | |
d9dc75ca AF |
81 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
82 | ||
cec9b475 | 83 | # do not check for unresolved symbols (couldn't fix that) |
84 | %define no_install_post_check_so 1 | |
d7ded50a | 85 | |
d9dc75ca AF |
86 | %description |
87 | wxWidgets is a free C++ library for cross-platform GUI development. | |
88 | With wxWidgets, you can create applications for different GUIs (GTK+, | |
89 | Motif/LessTif, MS Windows, Mac) from the same source code. | |
90 | ||
e5a23804 JR |
91 | %description -l pl.UTF-8 |
92 | wxWidgets to wolnodostępna biblioteka napisana w C++ umożliwiająca | |
93 | rozwijanie wieloplatformowych programów GUI. Przy użyciu wxWidgets | |
94 | można tworzyć aplikacje dla różnych GUI (GTK+, Motif/LessTif, MS | |
95 | Windows, Mac) z tego samego kodu źródłowego. | |
d9dc75ca | 96 | |
d9dc75ca AF |
97 | %package devel |
98 | Summary: wxWidgets header files and development documentation | |
b7739b8e | 99 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do wxWidgets |
d9dc75ca AF |
100 | Group: X11/Development/Libraries |
101 | Requires: libstdc++-devel | |
3dc973ca | 102 | %{?with_odbc:Requires: unixODBC-devel} |
203d941b | 103 | Obsoletes: wxWindows-devel |
d9dc75ca AF |
104 | |
105 | %description devel | |
106 | Header files and development documentation for the wxWidgets | |
107 | libraries. | |
108 | ||
e5a23804 JR |
109 | %description devel -l pl.UTF-8 |
110 | Pliki nagłówkowe i dokumentacja do bibliotek wxWidgets. | |
d9dc75ca | 111 | |
e877670e JK |
112 | %package -n bakefile-wxWidgets |
113 | Summary: Files for Bakefile to generate wxWidgets project files | |
b7739b8e | 114 | Summary(pl.UTF-8): Pliki dla Bakefile generujące pliki projektów wxWidgets |
e877670e JK |
115 | Group: Development/Tools |
116 | Requires: bakefile | |
117 | ||
118 | %description -n bakefile-wxWidgets | |
119 | Additional files for Bakefile to generate wxWidgets project files. | |
120 | ||
e5a23804 JR |
121 | %description -n bakefile-wxWidgets -l pl.UTF-8 |
122 | Dodatkowe pliki dla programu Bakefile umożliwiające wygenerowanie | |
123 | projektów opartych na bibliotece wxWidgets. | |
e877670e | 124 | |
d9dc75ca AF |
125 | %package examples |
126 | Summary: wxWidgets example programs | |
b7739b8e | 127 | Summary(pl.UTF-8): Przykładowe programy wxWidgets |
d9dc75ca AF |
128 | Group: X11/Development/Libraries |
129 | Requires: %{name}-devel = %{version}-%{release} | |
203d941b | 130 | Obsoletes: wxWindows-examples |
d9dc75ca AF |
131 | |
132 | %description examples | |
133 | wxWidgets example programs. | |
134 | ||
e5a23804 JR |
135 | %description examples -l pl.UTF-8 |
136 | Przykładowe programy wxWidgets. | |
d9dc75ca | 137 | |
d9dc75ca AF |
138 | %package -n wxBase |
139 | Summary: wxBase library - non-GUI support classes of wxWidgets toolkit | |
b7739b8e | 140 | Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI |
d9dc75ca AF |
141 | Group: X11/Libraries |
142 | Requires: %{name} = %{version}-%{release} | |
143 | ||
144 | %description -n wxBase | |
145 | wxBase is a collection of C++ classes providing basic data structures | |
146 | (strings, lists, arrays), powerful wxDateTime class for date | |
147 | manipulations, portable wrappers around many OS-specific functions | |
148 | allowing to build the same program under all supported folders, | |
149 | wxThread class for writing multithreaded programs using either Win32 | |
150 | or POSIX threads and much more. wxBase currently supports the | |
151 | following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris, | |
152 | HP-UX, ...) and BeOS. | |
153 | ||
e5a23804 JR |
154 | %description -n wxBase -l pl.UTF-8 |
155 | wxBase jest zestawem klas C++ obsługujących podstawowe struktury | |
156 | danych (stringi, listy, tablice), klasę wxDateTime do operacji na | |
157 | datach, przenośne wrappery do wielu funkcji zależnych od systemu | |
158 | operacyjnego pozwalające na zbudowanie tego samego programu w różnych | |
159 | środowiskach, klasę wxThread do pisania programów wielowątkowych | |
160 | używających wątków Win32 albo POSIX i inne. wxBase obsługuje | |
d9dc75ca AF |
161 | platformy: Win32, Unix i BeOS. |
162 | ||
163 | %package -n wxBase-devel | |
164 | Summary: wxBase headers needed for developping with wxBase | |
b7739b8e | 165 | Summary(pl.UTF-8): Pliki nagłówkowe do wxBase |
d9dc75ca AF |
166 | Group: X11/Development/Libraries |
167 | Requires: %{name}-devel = %{version}-%{release} | |
168 | Requires: wxBase = %{version}-%{release} | |
169 | ||
170 | %description -n wxBase-devel | |
171 | Header files for wxBase. You need them to develop programs using | |
172 | wxBase. | |
173 | ||
e5a23804 JR |
174 | %description -n wxBase-devel -l pl.UTF-8 |
175 | Pliki nagłówkowe do biblioteki wxBase. | |
d9dc75ca AF |
176 | |
177 | %package -n wxBase-unicode | |
178 | Summary: wxBase library - non-GUI support classes of wxWidgets toolkit with UNICODE support | |
b7739b8e | 179 | Summary(pl.UTF-8): wxBase - biblioteka klas wxWidgets nie związanych z GUI ze wsparciem dla UNICODE |
d9dc75ca AF |
180 | Group: X11/Libraries |
181 | Requires: %{name} = %{version}-%{release} | |
182 | ||
183 | %description -n wxBase-unicode | |
184 | wxBase is a collection of C++ classes providing basic data structures | |
185 | (strings, lists, arrays), powerful wxDateTime class for date | |
186 | manipulations, portable wrappers around many OS-specific functions | |
187 | allowing to build the same program under all supported folders, | |
188 | wxThread class for writing multithreaded programs using either Win32 | |
189 | or POSIX threads and much more. wxBase currently supports the | |
190 | following platforms: Win32, generic Unix (Linux, FreeBSD, Solaris, | |
191 | HP-UX, ...) and BeOS. This version is build with UNICODE support. | |
192 | ||
e5a23804 JR |
193 | %description -n wxBase-unicode -l pl.UTF-8 |
194 | wxBase jest zestawem klas C++ obsługujących podstawowe struktury | |
195 | danych (stringi, listy, tablice), klasę wxDateTime do operacji na | |
196 | datach, przenośne wrappery do wielu funkcji zależnych od systemu | |
197 | operacyjnego pozwalające na zbudowanie tego samego programu w różnych | |
198 | środowiskach, klasę wxThread do pisania programów wielowątkowych | |
199 | używających wątków Win32 albo POSIX i inne. wxBase obsługuje | |
200 | platformy: Win32, Unix i BeOS. Ta wersja jest zbudowana z obsługą | |
d9dc75ca AF |
201 | UNICODE. |
202 | ||
203 | %package -n wxBase-unicode-devel | |
204 | Summary: wxBase headers needed for developping with UNICODE-enabled wxBase | |
b7739b8e | 205 | Summary(pl.UTF-8): Pliki nagłówkowe do wxBase z obsługą UNICODE |
d9dc75ca AF |
206 | Group: X11/Development/Libraries |
207 | Requires: %{name}-devel = %{version}-%{release} | |
208 | Requires: wxBase-unicode = %{version}-%{release} | |
209 | ||
210 | %description -n wxBase-unicode-devel | |
211 | Header files for wxBase. You need them to develop programs using | |
212 | UNICODE-enabled wxBase. | |
213 | ||
e5a23804 JR |
214 | %description -n wxBase-unicode-devel -l pl.UTF-8 |
215 | Pliki nagłówkowe do biblioteki wxBase z obsługą UNICODE. | |
d9dc75ca | 216 | |
d9dc75ca AF |
217 | %package -n wxGTK2 |
218 | Summary: wxGTK2 library | |
b7739b8e | 219 | Summary(pl.UTF-8): Biblioteka wxGTK2 |
d9dc75ca AF |
220 | Group: X11/Libraries |
221 | Requires: %{name} = %{version}-%{release} | |
203d941b | 222 | Obsoletes: wxGTK2-univ |
d9dc75ca AF |
223 | |
224 | %description -n wxGTK2 | |
225 | wxWidgets library using GTK2 widgets. | |
226 | ||
e5a23804 JR |
227 | %description -n wxGTK2 -l pl.UTF-8 |
228 | Biblioteka wxWidgets używająca widgetów GTK2. | |
d9dc75ca AF |
229 | |
230 | %package -n wxGTK2-devel | |
231 | Summary: Header files for wxGTK2 library | |
b7739b8e | 232 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2 |
d9dc75ca | 233 | Group: X11/Development/Libraries |
e3374995 | 234 | Requires: wxBase-devel = %{version}-%{release} |
d9dc75ca | 235 | Requires: wxGTK2 = %{version}-%{release} |
203d941b | 236 | Obsoletes: wxGTK2-univ-devel |
d9dc75ca AF |
237 | |
238 | %description -n wxGTK2-devel | |
239 | Header files for wxWidgets library using GTK2 widgets. | |
240 | ||
e5a23804 JR |
241 | %description -n wxGTK2-devel -l pl.UTF-8 |
242 | Pliki nagłówkowe dla biblioteki wxWidgets używającej widgetów GTK2. | |
d9dc75ca AF |
243 | |
244 | %package -n wxGTK2-gl | |
245 | Summary: GL canvas library for wxGTK2 | |
b7739b8e | 246 | Summary(pl.UTF-8): Biblioteka GL dla wxGTK2 |
d9dc75ca AF |
247 | Group: X11/Libraries |
248 | Requires: wxGTK2 = %{version}-%{release} | |
203d941b | 249 | Obsoletes: wxGTK2-univ-gl |
d9dc75ca AF |
250 | |
251 | %description -n wxGTK2-gl | |
252 | wxGTK2 GL canvas library. | |
253 | ||
e5a23804 | 254 | %description -n wxGTK2-gl -l pl.UTF-8 |
d9dc75ca AF |
255 | Biblioteka GL dla wxGTK2. |
256 | ||
257 | %package -n wxGTK2-gl-devel | |
258 | Summary: Development files for GL canvas library for wxGTK2 | |
b7739b8e | 259 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2 |
d9dc75ca | 260 | Group: X11/Development/Libraries |
e877670e | 261 | Requires: OpenGL-GLU-devel |
d9dc75ca AF |
262 | Requires: wxGTK2-devel = %{version}-%{release} |
263 | Requires: wxGTK2-gl = %{version}-%{release} | |
203d941b | 264 | Obsoletes: wxGTK2-univ-gl-devel |
d9dc75ca AF |
265 | |
266 | %description -n wxGTK2-gl-devel | |
267 | Development files for wxGTK2 GL canvas library. | |
268 | ||
e5a23804 | 269 | %description -n wxGTK2-gl-devel -l pl.UTF-8 |
d9dc75ca AF |
270 | Pliki programistyczne biblioteki GL dla wxGTK2. |
271 | ||
272 | %package -n wxGTK2-unicode | |
273 | Summary: wxGTK2 library with UNICODE support | |
b7739b8e | 274 | Summary(pl.UTF-8): Biblioteka wxGTK2 z obsługą UNICODE |
d9dc75ca AF |
275 | Group: X11/Libraries |
276 | Requires: %{name} = %{version}-%{release} | |
203d941b | 277 | Obsoletes: wxGTK2-univ-unicode |
d9dc75ca AF |
278 | |
279 | %description -n wxGTK2-unicode | |
280 | wxWidgets library using GTK2 widgets with UNICODE support. | |
281 | ||
e5a23804 JR |
282 | %description -n wxGTK2-unicode -l pl.UTF-8 |
283 | Biblioteka wxWidgets używająca widgetów GTK2 z obsługą UNICODE. | |
d9dc75ca AF |
284 | |
285 | %package -n wxGTK2-unicode-devel | |
286 | Summary: Header files for wxGTK2 library with UNICODE support | |
b7739b8e | 287 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki wxGTK2 z obsługą UNICODE |
d9dc75ca | 288 | Group: X11/Development/Libraries |
e3374995 | 289 | Requires: wxBase-unicode-devel = %{version}-%{release} |
d9dc75ca | 290 | Requires: wxGTK2-unicode = %{version}-%{release} |
203d941b | 291 | Obsoletes: wxGTK2-univ-unicode-devel |
d9dc75ca AF |
292 | |
293 | %description -n wxGTK2-unicode-devel | |
294 | Header files for wxWidgets library using GTK2 widgets with UNICODE | |
295 | support. | |
296 | ||
e5a23804 JR |
297 | %description -n wxGTK2-unicode-devel -l pl.UTF-8 |
298 | Pliki nagłówkowe biblioteki wxWidgets używającej widgetów GTK2 z | |
299 | obsługą UNICODE. | |
d9dc75ca AF |
300 | |
301 | %package -n wxGTK2-unicode-gl | |
302 | Summary: GL canvas library for wxGTK2 with UNICODE support | |
b7739b8e | 303 | Summary(pl.UTF-8): Biblioteka GL dla wxGTK2 z obsługą UNICODE |
d9dc75ca AF |
304 | Group: X11/Libraries |
305 | Requires: wxGTK2-unicode = %{version}-%{release} | |
203d941b | 306 | Obsoletes: wxGTK2-univ-unicode-gl |
d9dc75ca AF |
307 | |
308 | %description -n wxGTK2-unicode-gl | |
309 | GL canvas library for wxGTK2 with UNICODE support. | |
310 | ||
e5a23804 JR |
311 | %description -n wxGTK2-unicode-gl -l pl.UTF-8 |
312 | Biblioteka GL dla wxGTK2 z obsługą UNICODE. | |
d9dc75ca AF |
313 | |
314 | %package -n wxGTK2-unicode-gl-devel | |
315 | Summary: Development files for GL canvas library for wxGTK2 with UNICODE support | |
b7739b8e | 316 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE |
d9dc75ca | 317 | Group: X11/Development/Libraries |
e877670e | 318 | Requires: OpenGL-GLU-devel |
d9dc75ca AF |
319 | Requires: wxGTK2-unicode-devel = %{version}-%{release} |
320 | Requires: wxGTK2-unicode-gl = %{version}-%{release} | |
203d941b | 321 | Obsoletes: wxGTK2-univ-unicode-gl-devel |
d9dc75ca AF |
322 | |
323 | %description -n wxGTK2-unicode-gl-devel | |
324 | Development files for GL canvas library for wxGTK2 with UNICODE | |
325 | support. | |
326 | ||
e5a23804 JR |
327 | %description -n wxGTK2-unicode-gl-devel -l pl.UTF-8 |
328 | Pliki programistyczne biblioteki GL dla wxGTK2 z obsługą UNICODE. | |
d9dc75ca | 329 | |
d9dc75ca AF |
330 | %package utils |
331 | Summary: Misc utils from wxWidgets project | |
b7739b8e | 332 | Summary(pl.UTF-8): Różne narzędzia z projektu wxWidgets |
d9dc75ca | 333 | Group: X11/Development/Tools |
203d941b | 334 | Requires: wxX11 = %{version}-%{release} |
335 | Obsoletes: wxWindows-utils | |
d9dc75ca AF |
336 | |
337 | %description utils | |
efd1cceb | 338 | Misc utils from wxWidgets project: wxemulator, wxrc, etc. |
d9dc75ca | 339 | |
e5a23804 | 340 | %description utils -l pl.UTF-8 |
efd1cceb | 341 | Różne narzędzia z projektu wxWidgets: wxemulator, wxrc itp. |
d9dc75ca | 342 | |
203d941b | 343 | %package -n wxX11 |
d9dc75ca | 344 | Summary: wxUniversal-based wxX11 library |
b7739b8e | 345 | Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11 |
d9dc75ca AF |
346 | Group: X11/Libraries |
347 | Requires: %{name} = %{version}-%{release} | |
203d941b | 348 | Obsoletes: wxX11-univ |
d9dc75ca | 349 | |
203d941b | 350 | %description -n wxX11 |
d9dc75ca AF |
351 | wxUniversal-based wxX11 library. |
352 | ||
e5a23804 | 353 | %description -n wxX11 -l pl.UTF-8 |
d9dc75ca AF |
354 | Oparta na wxUniversal biblioteka wxX11. |
355 | ||
203d941b | 356 | %package -n wxX11-devel |
d9dc75ca | 357 | Summary: Header files for wxUniversal-based wxX11 library |
b7739b8e | 358 | Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 |
d9dc75ca AF |
359 | Group: X11/Libraries |
360 | Requires: %{name}-devel = %{version}-%{release} | |
203d941b | 361 | Requires: wxX11 = %{version}-%{release} |
362 | Obsoletes: wxX11-univ-devel | |
d9dc75ca | 363 | |
203d941b | 364 | %description -n wxX11-devel |
d9dc75ca AF |
365 | Header files for wxUniversal-based wxX11 library. |
366 | ||
e5a23804 JR |
367 | %description -n wxX11-devel -l pl.UTF-8 |
368 | Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11. | |
d9dc75ca | 369 | |
203d941b | 370 | %package -n wxX11-gl |
d9dc75ca | 371 | Summary: GL canvas library for wxUniversal-based wxX11 |
b7739b8e | 372 | Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11 |
d9dc75ca | 373 | Group: X11/Libraries |
203d941b | 374 | Requires: wxX11 = %{version}-%{release} |
203d941b | 375 | Obsoletes: wxX11-univ-gl |
d9dc75ca | 376 | |
203d941b | 377 | %description -n wxX11-gl |
d9dc75ca AF |
378 | GL canvas library for wxUniversal-based wxX11. |
379 | ||
e5a23804 | 380 | %description -n wxX11-gl -l pl.UTF-8 |
d9dc75ca AF |
381 | Biblioteka GL dla opartej na wxUniversal wxX11. |
382 | ||
203d941b | 383 | %package -n wxX11-gl-devel |
d9dc75ca | 384 | Summary: Development files for GL canvas library for wxUniversal-based wxX11 |
b7739b8e | 385 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11 |
d9dc75ca | 386 | Group: X11/Development/Libraries |
9adf2bf5 | 387 | Requires: OpenGL-GLU-devel |
e877670e JK |
388 | Requires: wxX11-devel = %{version}-%{release} |
389 | Requires: wxX11-gl = %{version}-%{release} | |
203d941b | 390 | Obsoletes: wxX11-univ-gl-devel |
d9dc75ca | 391 | |
203d941b | 392 | %description -n wxX11-gl-devel |
d9dc75ca AF |
393 | Development files for GL canvas library for wxUniversal-based wxX11. |
394 | ||
e5a23804 | 395 | %description -n wxX11-gl-devel -l pl.UTF-8 |
d9dc75ca AF |
396 | Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11. |
397 | ||
203d941b | 398 | %package -n wxX11-unicode |
d9dc75ca | 399 | Summary: wxUniversal-based wxX11 library with UNICODE support |
b7739b8e | 400 | Summary(pl.UTF-8): Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE |
d9dc75ca AF |
401 | Group: X11/Libraries |
402 | Requires: %{name} = %{version}-%{release} | |
203d941b | 403 | Obsoletes: wxX11-univ-unicode |
d9dc75ca | 404 | |
203d941b | 405 | %description -n wxX11-unicode |
d9dc75ca AF |
406 | wxUniversal-based wxX11 library with UNICODE support. |
407 | ||
e5a23804 JR |
408 | %description -n wxX11-unicode -l pl.UTF-8 |
409 | Oparta na wxUniversal biblioteka wxX11 z obsługą UNICODE. | |
d9dc75ca | 410 | |
203d941b | 411 | %package -n wxX11-unicode-devel |
d9dc75ca | 412 | Summary: Header files for wxUniversal-based wxX11 library with UNICODE support |
b7739b8e | 413 | Summary(pl.UTF-8): Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą UNICODE |
d9dc75ca AF |
414 | Group: X11/Development/Libraries |
415 | Requires: %{name}-devel = %{version}-%{release} | |
203d941b | 416 | Requires: wxX11-unicode = %{version}-%{release} |
417 | Obsoletes: wxX11-univ-unicode-devel | |
d9dc75ca | 418 | |
203d941b | 419 | %description -n wxX11-unicode-devel |
d9dc75ca AF |
420 | Header files for wxUniversal-based wxX11 library with UNICODE support. |
421 | ||
e5a23804 JR |
422 | %description -n wxX11-unicode-devel -l pl.UTF-8 |
423 | Pliki nagłówkowe opartej na wxUniversal biblioteki wxX11 z obsługą | |
e877670e | 424 | UNICODE. |
d9dc75ca | 425 | |
203d941b | 426 | %package -n wxX11-unicode-gl |
d9dc75ca | 427 | Summary: GL canvas library for wxUniversal-based wxX11 with UNICODE support |
b7739b8e | 428 | Summary(pl.UTF-8): Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE |
d9dc75ca | 429 | Group: X11/Libraries |
203d941b | 430 | Requires: wxX11-unicode = %{version}-%{release} |
203d941b | 431 | Obsoletes: wxX11-univ-unicode-gl |
d9dc75ca | 432 | |
203d941b | 433 | %description -n wxX11-unicode-gl |
d9dc75ca AF |
434 | GL canvas library for wxUniversal-based wxX11 with UNICODE support. |
435 | ||
e5a23804 JR |
436 | %description -n wxX11-unicode-gl -l pl.UTF-8 |
437 | Biblioteka GL dla opartej na wxUniversal wxX11 z obsługą UNICODE. | |
d9dc75ca | 438 | |
203d941b | 439 | %package -n wxX11-unicode-gl-devel |
440 | Summary: Development files for GL canvas library for wxX11 with UNICODE support | |
b7739b8e | 441 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GL dla wxX11 z obsługą UNICODE |
d9dc75ca | 442 | Group: X11/Development/Libraries |
9adf2bf5 | 443 | Requires: OpenGL-GLU-devel |
e877670e JK |
444 | Requires: wxX11-unicode-devel = %{version}-%{release} |
445 | Requires: wxX11-unicode-gl = %{version}-%{release} | |
203d941b | 446 | Obsoletes: wxX11-univ-unicode-gl-devel |
d9dc75ca | 447 | |
203d941b | 448 | %description -n wxX11-unicode-gl-devel |
d9dc75ca AF |
449 | Development files for GL canvas library for wxUniversal-based wxX11 |
450 | with UNICODE support. | |
451 | ||
e5a23804 | 452 | %description -n wxX11-unicode-gl-devel -l pl.UTF-8 |
d9dc75ca | 453 | Pliki programistyczne biblioteki GL dla opartej na wxUniversal wxX11 z |
e5a23804 | 454 | obsługą UNICODE. |
d9dc75ca AF |
455 | |
456 | %prep | |
f7e4c3a8 | 457 | %setup -q |
d9dc75ca | 458 | %patch0 -p1 |
6c24c3f8 | 459 | %patch1 -p1 |
71425f82 | 460 | %patch2 -p1 |
a485b266 | 461 | |
c5dbb1f5 | 462 | %{__rm} build/aclocal/bakefile*.m4 |
d9dc75ca | 463 | |
9a5577e0 | 464 | %build |
9d074433 | 465 | # if bakefiles rebuild is needed: |
de83a689 | 466 | #%if "%(rpm -q bakefile --qf '%%{VERSION}')" != "0.2.1" |
bb3b3e17 JB |
467 | #cd build/bakefiles |
468 | #bakefile_gen -f autoconf | |
469 | #cd ../.. | |
470 | #%endif | |
9a5577e0 | 471 | cp -f /usr/share/automake/config.sub . |
4b70d75c | 472 | %{__aclocal} -I build/aclocal |
d9dc75ca | 473 | %{__autoconf} |
203d941b | 474 | |
779fe73c | 475 | CPPFLAGS="%{rpmcppflags} %{rpmcflags} -fPIC -I`pwd`/include"; export CPPFLAGS |
d9dc75ca AF |
476 | # avoid adding -s to LDFLAGS |
477 | LDFLAGS=" "; export LDFLAGS | |
203d941b | 478 | args="%{?with_debug:--enable-debug}%{!?with_debug:--disable-debug} \ |
4e186edd JB |
479 | ac_cv_lib_iodbc_SQLAllocEnv=no \ |
480 | ac_cv_lib_unixodbc_SQLAllocEnv=no \ | |
c5dbb1f5 JB |
481 | --enable-calendar \ |
482 | --enable-controls \ | |
d9dc75ca | 483 | --enable-plugins \ |
d9dc75ca | 484 | --enable-std_iostreams \ |
c5dbb1f5 | 485 | --enable-tabdialog \ |
263fbd2b | 486 | --without-sdl \ |
c5dbb1f5 | 487 | --with-opengl" |
d9dc75ca | 488 | |
6768fb1a | 489 | gui='--with-gtk' |
5849de56 | 490 | for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \ |
203d941b | 491 | '--enable-unicode' ; do |
492 | objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'` | |
d9dc75ca AF |
493 | mkdir $objdir |
494 | cd $objdir | |
495 | ../%configure \ | |
203d941b | 496 | ${args} \ |
d9dc75ca | 497 | ${gui} \ |
c5dbb1f5 | 498 | --enable-graphics_ctx \ |
203d941b | 499 | --disable-universal \ |
29edd735 | 500 | ${unicode} \ |
6c24c3f8 AM |
501 | --enable-printarch \ |
502 | --with-gtkprint \ | |
29edd735 | 503 | %{!?with_gnomeprint:--without-gnomeprint} |
d9dc75ca | 504 | %{__make} |
d9dc75ca AF |
505 | cd .. |
506 | done | |
203d941b | 507 | |
0eb80bf9 | 508 | %if %{with x11} |
203d941b | 509 | gui='--with-x11' |
5849de56 | 510 | for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \ |
203d941b | 511 | '--enable-unicode' ; do |
512 | objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'` | |
d9dc75ca AF |
513 | mkdir $objdir |
514 | cd $objdir | |
515 | ../%configure \ | |
203d941b | 516 | ${args} \ |
d9dc75ca | 517 | ${gui} \ |
203d941b | 518 | --enable-universal \ |
d9dc75ca AF |
519 | ${unicode} |
520 | %{__make} | |
203d941b | 521 | if echo $objdir| grep -q disable-unicode ; then |
522 | %{__make} -C utils | |
523 | %{__make} -C utils/emulator | |
524 | %{__make} -C utils/hhp2cached | |
d26eec76 | 525 | # %{__make} -C contrib/utils |
203d941b | 526 | fi |
d9dc75ca AF |
527 | cd .. |
528 | done | |
0eb80bf9 | 529 | %endif |
d9dc75ca AF |
530 | |
531 | cd locale | |
532 | %{__make} allmo | |
d9dc75ca AF |
533 | |
534 | %install | |
535 | rm -rf $RPM_BUILD_ROOT | |
536 | install -d $RPM_BUILD_ROOT%{_bindir} | |
537 | ||
a54b1963 | 538 | gui='--with-gtk' |
5849de56 | 539 | for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \ |
203d941b | 540 | '--enable-unicode' ; do |
541 | objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'` | |
d9dc75ca AF |
542 | cd $objdir |
543 | %{__make} install \ | |
544 | prefix=$RPM_BUILD_ROOT%{_prefix} \ | |
545 | exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \ | |
546 | bindir=$RPM_BUILD_ROOT%{_bindir} \ | |
547 | datadir=$RPM_BUILD_ROOT%{_datadir} \ | |
548 | libdir=$RPM_BUILD_ROOT%{_libdir} \ | |
549 | mandir=$RPM_BUILD_ROOT%{_mandir} \ | |
efd1cceb JB |
550 | includedir=$RPM_BUILD_ROOT%{_includedir} \ |
551 | LOCALE_MSW_LINGUAS= | |
d9dc75ca AF |
552 | cd .. |
553 | done | |
203d941b | 554 | |
0eb80bf9 | 555 | %if %{with x11} |
203d941b | 556 | gui='--with-x11' |
5849de56 | 557 | for unicode in %{?with_ansi:'--disable-unicode %{?with_odbc:--with-odbc}'} \ |
203d941b | 558 | '--enable-unicode' ; do |
559 | objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'` | |
d9dc75ca AF |
560 | cd $objdir |
561 | %{__make} install \ | |
562 | prefix=$RPM_BUILD_ROOT%{_prefix} \ | |
563 | exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \ | |
564 | bindir=$RPM_BUILD_ROOT%{_bindir} \ | |
565 | datadir=$RPM_BUILD_ROOT%{_datadir} \ | |
566 | libdir=$RPM_BUILD_ROOT%{_libdir} \ | |
567 | mandir=$RPM_BUILD_ROOT%{_mandir} \ | |
efd1cceb JB |
568 | includedir=$RPM_BUILD_ROOT%{_includedir} \ |
569 | LOCALE_MSW_LINGUAS= | |
203d941b | 570 | if echo $objdir| grep -q disable-unicode ; then |
203d941b | 571 | # TODO: install default config files and default backgrouds |
203d941b | 572 | install utils/emulator/src/wxemulator $RPM_BUILD_ROOT%{_bindir} |
203d941b | 573 | install utils/hhp2cached/hhp2cached $RPM_BUILD_ROOT%{_bindir} |
203d941b | 574 | install utils/wxrc/wxrc $RPM_BUILD_ROOT%{_bindir} |
203d941b | 575 | fi |
d9dc75ca AF |
576 | cd .. |
577 | done | |
0eb80bf9 | 578 | %endif |
203d941b | 579 | |
203d941b | 580 | for i in $RPM_BUILD_ROOT%{_libdir}/wx/config/* |
581 | do | |
582 | b=`basename $i` | |
583 | cp $i $RPM_BUILD_ROOT%{_bindir}/wx-`echo $b|sed -e 's/\(.*\)-release-.*/\1/'`-config | |
584 | done | |
d9dc75ca AF |
585 | |
586 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
587 | cp -a demos samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
d9dc75ca AF |
588 | cp -f docs/x11/readme.txt docs/wxX11-readme.txt |
589 | ||
590 | %find_lang wxstd | |
591 | ||
592 | %clean | |
593 | rm -rf $RPM_BUILD_ROOT | |
594 | ||
43e7d0ae | 595 | %post -n wxBase -p /sbin/ldconfig |
d9dc75ca AF |
596 | %postun -n wxBase -p /sbin/ldconfig |
597 | ||
43e7d0ae | 598 | %post -n wxBase-unicode -p /sbin/ldconfig |
d9dc75ca AF |
599 | %postun -n wxBase-unicode -p /sbin/ldconfig |
600 | ||
43e7d0ae | 601 | %post -n wxGTK2 -p /sbin/ldconfig |
d9dc75ca AF |
602 | %postun -n wxGTK2 -p /sbin/ldconfig |
603 | ||
43e7d0ae | 604 | %post -n wxGTK2-gl -p /sbin/ldconfig |
d9dc75ca AF |
605 | %postun -n wxGTK2-gl -p /sbin/ldconfig |
606 | ||
43e7d0ae | 607 | %post -n wxGTK2-unicode -p /sbin/ldconfig |
d9dc75ca AF |
608 | %postun -n wxGTK2-unicode -p /sbin/ldconfig |
609 | ||
43e7d0ae | 610 | %post -n wxGTK2-unicode-gl -p /sbin/ldconfig |
d9dc75ca AF |
611 | %postun -n wxGTK2-unicode-gl -p /sbin/ldconfig |
612 | ||
203d941b | 613 | %post -n wxX11 -p /sbin/ldconfig |
614 | %postun -n wxX11 -p /sbin/ldconfig | |
d9dc75ca | 615 | |
203d941b | 616 | %post -n wxX11-unicode -p /sbin/ldconfig |
617 | %postun -n wxX11-unicode -p /sbin/ldconfig | |
d9dc75ca | 618 | |
69f2320b | 619 | %define _libf %{?with_debug:d} |
6c24c3f8 | 620 | %define _configf %{?with_debug:-debug}-3.0 |
69f2320b | 621 | |
d9dc75ca AF |
622 | %files -f wxstd.lang |
623 | %defattr(644,root,root,755) | |
f7e4c3a8 | 624 | %doc docs/{changes,licence,licendoc,preamble,readme}.txt |
d9dc75ca | 625 | |
d9dc75ca AF |
626 | %files devel |
627 | %defattr(644,root,root,755) | |
e3374995 | 628 | %doc docs/tech docs/univ |
203d941b | 629 | %{_includedir}/wx* |
d9dc75ca AF |
630 | %dir %{_libdir}/wx |
631 | %dir %{_libdir}/wx/include | |
0eb80bf9 | 632 | %dir %{_libdir}/wx/config |
efd1cceb | 633 | %{_aclocaldir}/wxwin.m4 |
d9dc75ca | 634 | |
e877670e JK |
635 | %files -n bakefile-wxWidgets |
636 | %defattr(644,root,root,755) | |
efd1cceb | 637 | %{_datadir}/bakefile/presets/wx*.bkl |
e877670e | 638 | |
d9dc75ca AF |
639 | %files examples |
640 | %defattr(644,root,root,755) | |
641 | %{_examplesdir}/%{name}-%{version} | |
642 | ||
5849de56 | 643 | %if %{with ansi} |
d9dc75ca AF |
644 | %files -n wxBase |
645 | %defattr(644,root,root,755) | |
69f2320b | 646 | %attr(755,root,root) %{_libdir}/libwx_base%{_libf}-*.so.*.* |
647 | %attr(755,root,root) %{_libdir}/libwx_base%{_libf}_*.so.*.* | |
263fbd2b | 648 | #%attr(755,root,root) %{_libdir}/wx/%{version}/sound_sdl-*.so |
c8696e37 JB |
649 | %attr(755,root,root) %ghost %{_libdir}/libwx_base%{_libf}-*.so.0 |
650 | %attr(755,root,root) %ghost %{_libdir}/libwx_base%{_libf}_*.so.0 | |
d9dc75ca AF |
651 | |
652 | %files -n wxBase-devel | |
653 | %defattr(644,root,root,755) | |
c8696e37 JB |
654 | %attr(755,root,root) %{_libdir}/libwx_base%{_libf}-*.so |
655 | %attr(755,root,root) %{_libdir}/libwx_base%{_libf}_*.so | |
5849de56 | 656 | %endif |
d9dc75ca | 657 | |
d9dc75ca AF |
658 | %files -n wxBase-unicode |
659 | %defattr(644,root,root,755) | |
69f2320b | 660 | %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}-*.so.*.* |
661 | %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}_*.so.*.* | |
263fbd2b | 662 | #%attr(755,root,root) %{_libdir}/wx/%{version}/sound_sdlu-*.so |
c8696e37 JB |
663 | %attr(755,root,root) %ghost %{_libdir}/libwx_baseu%{_libf}-*.so.0 |
664 | %attr(755,root,root) %ghost %{_libdir}/libwx_baseu%{_libf}_*.so.0 | |
d9dc75ca AF |
665 | |
666 | %files -n wxBase-unicode-devel | |
667 | %defattr(644,root,root,755) | |
c8696e37 JB |
668 | %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}-*.so |
669 | %attr(755,root,root) %{_libdir}/libwx_baseu%{_libf}_*.so | |
d9dc75ca | 670 | |
5849de56 | 671 | %if %{with ansi} |
d9dc75ca AF |
672 | %files -n wxGTK2 |
673 | %defattr(644,root,root,755) | |
69f2320b | 674 | %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_*.so.*.* |
b10dc2fa | 675 | %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.*.* |
c8696e37 JB |
676 | %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2%{_libf}_*.so.0 |
677 | %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.0 | |
d9dc75ca AF |
678 | |
679 | %files -n wxGTK2-devel | |
680 | %defattr(644,root,root,755) | |
c8696e37 | 681 | %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_*-*.so |
b10dc2fa | 682 | %exclude %{_libdir}/libwx_gtk2%{_libf}_gl-*.so |
70ec53c9 | 683 | %attr(755,root,root) %{_libdir}/wx/config/gtk2-ansi-* |
203d941b | 684 | %{_libdir}/wx/include/gtk2-ansi-* |
69f2320b | 685 | %attr(755,root,root) %{_bindir}/wx-gtk2-ansi%{_configf}-config |
d9dc75ca | 686 | |
d9dc75ca AF |
687 | %files -n wxGTK2-gl |
688 | %defattr(644,root,root,755) | |
b10dc2fa | 689 | %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.*.* |
c8696e37 | 690 | %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2%{_libf}_gl-*.so.0 |
d9dc75ca AF |
691 | |
692 | %files -n wxGTK2-gl-devel | |
693 | %defattr(644,root,root,755) | |
c8696e37 | 694 | %attr(755,root,root) %{_libdir}/libwx_gtk2%{_libf}_gl-*.so |
5849de56 | 695 | %endif |
d9dc75ca | 696 | |
d9dc75ca AF |
697 | %files -n wxGTK2-unicode |
698 | %defattr(644,root,root,755) | |
69f2320b | 699 | %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_*-*.so.*.* |
b10dc2fa | 700 | %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.*.* |
c8696e37 JB |
701 | %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2u%{_libf}_*-*.so.0 |
702 | %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.0 | |
d9dc75ca AF |
703 | |
704 | %files -n wxGTK2-unicode-devel | |
705 | %defattr(644,root,root,755) | |
c8696e37 | 706 | %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_*-*.so |
b10dc2fa | 707 | %exclude %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so |
70ec53c9 | 708 | %attr(755,root,root) %{_libdir}/wx/config/gtk2-unicode-* |
203d941b | 709 | %{_libdir}/wx/include/gtk2-unicode-* |
69f2320b | 710 | %attr(755,root,root) %{_bindir}/wx-gtk2-unicode%{_configf}-config |
d9dc75ca | 711 | |
d9dc75ca AF |
712 | %files -n wxGTK2-unicode-gl |
713 | %defattr(644,root,root,755) | |
b10dc2fa | 714 | %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.*.* |
c8696e37 | 715 | %attr(755,root,root) %ghost %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so.0 |
d9dc75ca AF |
716 | |
717 | %files -n wxGTK2-unicode-gl-devel | |
718 | %defattr(644,root,root,755) | |
c8696e37 | 719 | %attr(755,root,root) %{_libdir}/libwx_gtk2u%{_libf}_gl-*.so |
d9dc75ca | 720 | |
0eb80bf9 | 721 | %if %{with x11} |
5849de56 | 722 | %if %{with ansi} |
d9dc75ca AF |
723 | %files utils |
724 | %defattr(644,root,root,755) | |
efd1cceb | 725 | %attr(755,root,root) %{_bindir}/hhp2cached |
efd1cceb JB |
726 | %attr(755,root,root) %{_bindir}/wxemulator |
727 | %attr(755,root,root) %{_bindir}/wxrc | |
728 | %attr(755,root,root) %{_bindir}/wxrc-* | |
d9dc75ca | 729 | |
203d941b | 730 | %files -n wxX11 |
d9dc75ca | 731 | %defattr(644,root,root,755) |
5849de56 | 732 | %doc docs/wxX11-readme.txt |
69f2320b | 733 | %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_*-*.so.*.* |
b10dc2fa | 734 | %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.*.* |
c8696e37 JB |
735 | %attr(755,root,root) %ghost %{_libdir}/libwx_x11univ%{_libf}_*-*.so.0 |
736 | %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.0 | |
d9dc75ca | 737 | |
203d941b | 738 | %files -n wxX11-devel |
d9dc75ca | 739 | %defattr(644,root,root,755) |
c8696e37 | 740 | %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_*-*.so |
b10dc2fa | 741 | %exclude %{_libdir}/libwx_x11univ%{_libf}_gl-*.so |
70ec53c9 | 742 | %attr(755,root,root) %{_libdir}/wx/config/x11univ-ansi-* |
203d941b | 743 | %{_libdir}/wx/include/x11univ-ansi-* |
69f2320b | 744 | %attr(755,root,root) %{_bindir}/wx-x11univ-ansi%{_configf}-config |
d9dc75ca | 745 | |
203d941b | 746 | %files -n wxX11-gl |
d9dc75ca | 747 | %defattr(644,root,root,755) |
b10dc2fa | 748 | %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.*.* |
c8696e37 | 749 | %attr(755,root,root) %ghost %{_libdir}/libwx_x11univ%{_libf}_gl-*.so.0 |
d9dc75ca | 750 | |
203d941b | 751 | %files -n wxX11-gl-devel |
d9dc75ca | 752 | %defattr(644,root,root,755) |
c8696e37 | 753 | %attr(755,root,root) %{_libdir}/libwx_x11univ%{_libf}_gl-*.so |
5849de56 | 754 | %endif |
d9dc75ca | 755 | |
203d941b | 756 | %files -n wxX11-unicode |
d9dc75ca | 757 | %defattr(644,root,root,755) |
69f2320b | 758 | %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_*-*.so.*.* |
b10dc2fa | 759 | %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.*.* |
c8696e37 JB |
760 | %attr(755,root,root) %ghost %{_libdir}/libwx_x11univu%{_libf}_*-*.so.0 |
761 | %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.0 | |
d9dc75ca | 762 | |
203d941b | 763 | %files -n wxX11-unicode-devel |
d9dc75ca | 764 | %defattr(644,root,root,755) |
c8696e37 | 765 | %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_*-*.so |
b10dc2fa | 766 | %exclude %{_libdir}/libwx_x11univu%{_libf}_gl-*.so |
70ec53c9 | 767 | %attr(755,root,root) %{_libdir}/wx/config/x11univ-unicode-* |
203d941b | 768 | %{_libdir}/wx/include/x11univ-unicode-* |
69f2320b | 769 | %attr(755,root,root) %{_bindir}/wx-x11univ-unicode%{_configf}-config |
d9dc75ca | 770 | |
203d941b | 771 | %files -n wxX11-unicode-gl |
d9dc75ca | 772 | %defattr(644,root,root,755) |
b10dc2fa | 773 | %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.*.* |
c8696e37 | 774 | %attr(755,root,root) %ghost %{_libdir}/libwx_x11univu%{_libf}_gl-*.so.0 |
d9dc75ca | 775 | |
203d941b | 776 | %files -n wxX11-unicode-gl-devel |
d9dc75ca | 777 | %defattr(644,root,root,755) |
c8696e37 | 778 | %attr(755,root,root) %{_libdir}/libwx_x11univu%{_libf}_gl-*.so |
0eb80bf9 | 779 | %endif |