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