]>
Commit | Line | Data |
---|---|---|
afefc74c | 1 | %define _prefix /usr |
f203de0c | 2 | %define ver 2.9.2 |
7fd3acaf | 3 | %define ver2 2.9 |
df050bd9 | 4 | %define rel 1 |
e5ea3f7a | 5 | |
4eba1840 | 6 | # Configurable settings (use --with(out) {unicode,gtk2} on rpmbuild cmd line): |
fe770a60 | 7 | %define unicode 1 |
4eba1840 VS |
8 | %{?_with_unicode: %{expand: %%define unicode 1}} |
9 | %{?_without_unicode: %{expand: %%define unicode 0}} | |
10 | ||
2fbef279 | 11 | %define gtk2 1 |
4eba1840 VS |
12 | %{?_with_gtk2: %{expand: %%define gtk2 1}} |
13 | %{?_without_gtk2: %{expand: %%define gtk2 0}} | |
14 | ||
fe770a60 | 15 | # "buildname" needs to be e.g. gtk2ud for debug builds |
1cd555d2 VZ |
16 | %if %{gtk2} |
17 | %define gtkver 2 | |
fe770a60 RR |
18 | %define portname gtk2 |
19 | %if %{unicode} | |
20 | %define buildname gtk2u | |
21 | %else | |
22 | %define buildname gtk2 | |
23 | %endif | |
f5b3b37e | 24 | %else |
1cd555d2 | 25 | %define gtkver 1.2 |
fe770a60 RR |
26 | %define portname gtk |
27 | %define buildname gtk | |
28 | %endif | |
29 | ||
30 | %if %{unicode} | |
31 | %define name wx-%{portname}-unicode | |
bae3556d VZ |
32 | %define wxconfig %{portname}-unicode-%{ver2} |
33 | %define wxconfigstatic %{portname}-unicode-static-%{ver2} | |
fe770a60 RR |
34 | %define wxconfiglink wx%{portname}u-%{ver2}-config |
35 | %else | |
36 | %define name wx-%{portname}-ansi | |
bae3556d VZ |
37 | %define wxconfig %{portname}-ansi-%{ver2} |
38 | %define wxconfigstatic %{portname}-ansi-static-%{ver2} | |
fe770a60 | 39 | %define wxconfiglink wx%{portname}-%{ver2}-config |
4eba1840 VS |
40 | %endif |
41 | ||
42 | %if %{unicode} | |
fe770a60 | 43 | %define wxbasename wx-base-unicode |
bae3556d | 44 | %define wxbaseconfig base-unicode-%{ver2} |
fe770a60 | 45 | %define wxbaseconfiglink wxbaseu-%{ver2}-config |
4eba1840 | 46 | %else |
fe770a60 | 47 | %define wxbasename wx-base-ansi |
bae3556d | 48 | %define wxbaseconfig base-ansi-%{ver2} |
fe770a60 | 49 | %define wxbaseconfiglink wxbase-%{ver2}-config |
4eba1840 VS |
50 | %endif |
51 | ||
1cd555d2 VZ |
52 | Summary: The GTK+ %{gtkver} port of the wxWidgets library |
53 | Name: %{name} | |
e5ea3f7a RR |
54 | Version: %{ver} |
55 | Release: %{rel} | |
4eba1840 | 56 | License: wxWindows Licence |
f14a5b55 | 57 | Group: X11/Libraries |
b1641484 | 58 | Source: wxGTK-%{ver}.tar.bz2 |
1cd555d2 | 59 | URL: http://www.wxwidgets.org |
31fe72b6 | 60 | Packager: Vadim Zeitlin <vadim@wxwindows.org> |
fe770a60 | 61 | Prefix: %{_prefix} |
1cd555d2 VZ |
62 | BuildRoot: %{_tmppath}/%{name}-root |
63 | Requires: %{wxbasename} = %{ver} | |
bec8a09e | 64 | %if %{portname} == gtk2 |
1a9e575d | 65 | BuildRequires: gtk2-devel |
bec8a09e VZ |
66 | %else |
67 | BuildRequires: gtk+-devel >= 1.2.0 | |
68 | %endif | |
69 | ||
70 | BuildRequires: zlib-devel, libjpeg-devel, libpng-devel, libtiff-devel | |
f14a5b55 | 71 | |
1cd555d2 | 72 | # all packages providing an implementation of wxWidgets library (regardless of |
212d0bb3 | 73 | # the toolkit used) should provide the (virtual) wxwin package, this makes it |
6e711d5c | 74 | # possible to require wxwin instead of requiring "wxgtk or wxmotif or wxuniv..." |
212d0bb3 | 75 | Provides: wxwin |
4eba1840 | 76 | Provides: wxGTK |
212d0bb3 | 77 | |
f14a5b55 | 78 | %description |
1cd555d2 VZ |
79 | wxWidgets is a free C++ library for cross-platform GUI development. |
80 | With wxWidgets, you can create applications for different GUIs (GTK+, | |
fe770a60 RR |
81 | Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. |
82 | ||
18f208c3 | 83 | %package -n wx-i18n |
fe770a60 RR |
84 | Summary: The translations for the wxWidgets library. |
85 | Group: X11/Libraries | |
86 | ||
18f208c3 | 87 | %description -n wx-i18n |
fe770a60 | 88 | The translations files for the wxWidgets library. |
f14a5b55 | 89 | |
641d87d8 | 90 | %package devel |
1cd555d2 | 91 | Summary: The GTK+ %{gtkver} port of the wxWidgets library |
641d87d8 | 92 | Group: X11/Libraries |
4eba1840 VS |
93 | Requires: %{name} = %{ver} |
94 | Requires: %{wxbasename}-devel = %{ver} | |
95 | Provides: wxGTK-devel | |
641d87d8 RR |
96 | |
97 | %description devel | |
fe770a60 | 98 | The GTK+ %{gtkver} port of the wxWidgets library, header files. |
c661ecca RR |
99 | |
100 | %package gl | |
1cd555d2 | 101 | Summary: The GTK+ %{gtkver} port of the wxWidgets library, OpenGL add-on. |
c661ecca | 102 | Group: X11/Libraries |
4eba1840 | 103 | Requires: %{name} = %{ver} |
1cd555d2 | 104 | Provides: wxGTK-gl |
c661ecca RR |
105 | |
106 | %description gl | |
1cd555d2 | 107 | OpenGL add-on library for wxGTK, the GTK+ %{gtkver} port of the wxWidgets library. |
5dcf9614 | 108 | |
fe770a60 RR |
109 | %package -n %{wxbasename} |
110 | Summary: wxBase library - non-GUI support classes of the wxWidgets toolkit | |
5dcf9614 | 111 | Group: Development/Libraries |
fe770a60 RR |
112 | Provides: wxBase |
113 | ||
114 | %description -n %{wxbasename} | |
115 | wxBase is a collection of C++ classes providing basic data structures (strings, | |
116 | lists, arrays), portable wrappers around many OS-specific funstions (file | |
117 | operations, time/date manipulations, threads, processes, sockets, shared | |
118 | library loading) as well as other utility classes (streams, archive and | |
eead5291 | 119 | compression). wxBase currently supports Win32, most Unix variants (Linux, |
fe770a60 RR |
120 | FreeBSD, Solaris, HP-UX) and MacOS X (Carbon and Mach-0). |
121 | ||
122 | %package -n %{wxbasename}-devel | |
123 | Summary: wxBase library, header files. | |
124 | Group: Development/Libraries | |
125 | Provides: wxBase-devel | |
5dcf9614 | 126 | |
fe770a60 RR |
127 | %description -n %{wxbasename}-devel |
128 | wxBase library - non-GUI support classes of the wxWidgets toolkit, | |
129 | header files. | |
641d87d8 | 130 | |
f14a5b55 | 131 | %prep |
4eba1840 | 132 | %setup -q -n wxGTK-%{ver} |
f14a5b55 RR |
133 | |
134 | %build | |
103aab26 | 135 | if [ "$SMP" != "" ]; then |
1cd555d2 | 136 | export MAKE="make -j$SMP" |
103aab26 | 137 | else |
1cd555d2 | 138 | export MAKE="make" |
103aab26 | 139 | fi |
5dcf9614 | 140 | |
fe770a60 RR |
141 | mkdir obj-shared |
142 | cd obj-shared | |
a9df18b4 | 143 | ../configure --prefix=%{_prefix} --libdir=%{_libdir} \ |
2fbef279 | 144 | %if ! %{gtk2} |
fe770a60 RR |
145 | --with-gtk=1 \ |
146 | %else | |
147 | --with-gtk=2 \ | |
1cd555d2 | 148 | %endif |
fe770a60 RR |
149 | %if %{unicode} |
150 | --enable-unicode \ | |
151 | %else | |
152 | --disable-unicode \ | |
4eba1840 | 153 | %endif |
a2d2cb04 VZ |
154 | --with-opengl \ |
155 | --with-gnomeprint \ | |
156 | --enable-mediactrl | |
5dcf9614 | 157 | $MAKE |
1cd555d2 | 158 | |
eead5291 | 159 | cd .. |
5dcf9614 | 160 | |
fe770a60 RR |
161 | mkdir obj-static |
162 | cd obj-static | |
a9df18b4 | 163 | ../configure --prefix=%{_prefix} --libdir=%{_libdir} \ |
2fbef279 | 164 | %if ! %{gtk2} |
fe770a60 RR |
165 | --with-gtk=1 \ |
166 | %else | |
167 | --with-gtk=2 \ | |
1cd555d2 | 168 | %endif |
fe770a60 RR |
169 | --disable-shared \ |
170 | %if %{unicode} | |
f2c88494 | 171 | --enable-unicode \ |
fe770a60 | 172 | %else |
f2c88494 | 173 | --disable-unicode \ |
4eba1840 | 174 | %endif |
a2d2cb04 VZ |
175 | --with-opengl \ |
176 | --with-gnomeprint \ | |
177 | --enable-mediactrl | |
103aab26 | 178 | $MAKE |
fe770a60 | 179 | |
eead5291 | 180 | cd .. |
f14a5b55 | 181 | |
63ca914c VZ |
182 | make -C locale allmo |
183 | ||
f14a5b55 | 184 | %install |
31fe72b6 | 185 | rm -rf $RPM_BUILD_ROOT |
1096bf67 VZ |
186 | (cd obj-static; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install) |
187 | (cd obj-shared; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install) | |
d10382ab VS |
188 | |
189 | # --- wxBase headers list begins here --- | |
97ddaeee | 190 | cat <<EOF >wxbase-headers.files |
d10382ab | 191 | wx/afterstd.h |
178c7760 | 192 | wx/any.h |
254696bb | 193 | wx/anystr.h |
d10382ab VS |
194 | wx/app.h |
195 | wx/apptrait.h | |
8329fea8 | 196 | wx/archive.h |
d10382ab VS |
197 | wx/arrimpl.cpp |
198 | wx/arrstr.h | |
a8098f86 VZ |
199 | wx/atomic.h |
200 | wx/base64.h | |
d10382ab VS |
201 | wx/beforestd.h |
202 | wx/buffer.h | |
203 | wx/build.h | |
eecc043f | 204 | wx/chartype.h |
664e1314 | 205 | wx/checkeddelete.h |
d10382ab | 206 | wx/chkconf.h |
82b0b7f6 | 207 | wx/clntdata.h |
541ea80f | 208 | wx/cmdargs.h |
d10382ab VS |
209 | wx/cmdline.h |
210 | wx/confbase.h | |
211 | wx/config.h | |
a1999705 | 212 | wx/convauto.h |
d10382ab | 213 | wx/containr.h |
c4ad618c | 214 | wx/cpp.h |
abde3283 | 215 | wx/crt.h |
d10382ab | 216 | wx/datetime.h |
d10382ab VS |
217 | wx/datstrm.h |
218 | wx/dde.h | |
219 | wx/debug.h | |
220 | wx/defs.h | |
221 | wx/dir.h | |
20b35a69 | 222 | wx/dlimpexp.h |
16edb7b5 | 223 | wx/dlist.h |
d10382ab VS |
224 | wx/dynarray.h |
225 | wx/dynlib.h | |
226 | wx/dynload.h | |
227 | wx/encconv.h | |
228 | wx/event.h | |
00237407 | 229 | wx/evtloop.h |
671a85ea | 230 | wx/except.h |
d10382ab | 231 | wx/features.h |
620c9408 | 232 | wx/flags.h |
d10382ab VS |
233 | wx/ffile.h |
234 | wx/file.h | |
235 | wx/fileconf.h | |
236 | wx/filefn.h | |
237 | wx/filename.h | |
238 | wx/filesys.h | |
239 | wx/fontenc.h | |
240 | wx/fontmap.h | |
f068697b | 241 | wx/fs_arc.h |
37671b82 | 242 | wx/fs_filter.h |
d10382ab VS |
243 | wx/fs_mem.h |
244 | wx/fs_zip.h | |
245 | wx/hash.h | |
246 | wx/hashmap.h | |
247 | wx/hashset.h | |
54e80d76 | 248 | wx/html/forcelnk.h |
d10382ab VS |
249 | wx/iconloc.h |
250 | wx/init.h | |
251 | wx/intl.h | |
252 | wx/iosfwrap.h | |
253 | wx/ioswrap.h | |
254 | wx/ipc.h | |
255 | wx/ipcbase.h | |
8ece421c | 256 | wx/kbdstate.h |
ea144923 | 257 | wx/language.h |
4cbcfb73 | 258 | wx/link.h |
d10382ab VS |
259 | wx/list.h |
260 | wx/listimpl.cpp | |
261 | wx/log.h | |
262 | wx/longlong.h | |
263 | wx/math.h | |
264 | wx/memconf.h | |
265 | wx/memory.h | |
266 | wx/memtext.h | |
267 | wx/mimetype.h | |
268 | wx/module.h | |
8ece421c | 269 | wx/mousestate.h |
d10382ab | 270 | wx/msgout.h |
b589082a | 271 | wx/msgqueue.h |
d10382ab VS |
272 | wx/mstream.h |
273 | wx/object.h | |
274 | wx/platform.h | |
fc1dea3d | 275 | wx/platinfo.h |
355debca | 276 | wx/power.h |
d10382ab VS |
277 | wx/process.h |
278 | wx/ptr_scpd.h | |
6490a288 | 279 | wx/ptr_shrd.h |
460354e9 | 280 | wx/recguard.h |
d10382ab | 281 | wx/regex.h |
664e1314 VZ |
282 | wx/scopedarray.h |
283 | wx/scopedptr.h | |
d10382ab | 284 | wx/scopeguard.h |
664e1314 | 285 | wx/sharedptr.h |
d10382ab | 286 | wx/snglinst.h |
c33fae85 | 287 | wx/sstream.h |
b71531ad | 288 | wx/stack.h |
107d0fd4 | 289 | wx/stackwalk.h |
dd65d8c8 | 290 | wx/stdpaths.h |
72a7c559 | 291 | wx/stdstream.h |
ef335a4f | 292 | wx/stockitem.h |
d10382ab VS |
293 | wx/stopwatch.h |
294 | wx/strconv.h | |
295 | wx/stream.h | |
296 | wx/string.h | |
eecc043f | 297 | wx/stringimpl.h |
467175ab | 298 | wx/stringops.h |
c9f78968 | 299 | wx/strvararg.h |
d10382ab | 300 | wx/sysopt.h |
56d5b4b8 | 301 | wx/tarstrm.h |
d10382ab VS |
302 | wx/textbuf.h |
303 | wx/textfile.h | |
304 | wx/thread.h | |
305 | wx/thrimpl.cpp | |
306 | wx/timer.h | |
2f4c5d00 | 307 | wx/tls.h |
d10382ab | 308 | wx/tokenzr.h |
6490a288 | 309 | wx/tracker.h |
ea144923 | 310 | wx/translation.h |
d10382ab | 311 | wx/txtstrm.h |
7db064f6 | 312 | wx/typeinfo.h |
d10382ab | 313 | wx/types.h |
eecc043f | 314 | wx/unichar.h |
dd65d8c8 | 315 | wx/uri.h |
aaa03125 | 316 | wx/ustring.h |
d10382ab VS |
317 | wx/utils.h |
318 | wx/variant.h | |
319 | wx/vector.h | |
320 | wx/version.h | |
ccec9093 | 321 | wx/versioninfo.h |
d10382ab | 322 | wx/volume.h |
6490a288 | 323 | wx/weakref.h |
d10382ab VS |
324 | wx/wfstream.h |
325 | wx/wx.h | |
326 | wx/wxchar.h | |
eecc043f | 327 | wx/wxcrt.h |
52de37c7 | 328 | wx/wxcrtbase.h |
e7308074 | 329 | wx/wxcrtvararg.h |
d10382ab | 330 | wx/wxprec.h |
6e4ae332 | 331 | wx/xlocale.h |
d10382ab VS |
332 | wx/xti.h |
333 | wx/xtistrm.h | |
334 | wx/zipstrm.h | |
335 | wx/zstream.h | |
6490a288 | 336 | wx/meta/convertible.h |
6e0fbb3d | 337 | wx/meta/if.h |
7ec75d3e | 338 | wx/meta/implicitconversion.h |
6490a288 | 339 | wx/meta/int2type.h |
6e0fbb3d | 340 | wx/meta/movable.h |
109e2ca4 | 341 | wx/meta/pod.h |
6b8ef0b3 VZ |
342 | wx/fswatcher.h |
343 | wx/generic/fswatcher.h | |
b46b1d59 | 344 | wx/unix/app.h |
fb5ab396 WS |
345 | wx/unix/apptbase.h |
346 | wx/unix/apptrait.h | |
a1873279 | 347 | wx/unix/chkconf.h |
b46b1d59 | 348 | wx/unix/evtloop.h |
78808897 | 349 | wx/unix/evtloopsrc.h |
fb5ab396 | 350 | wx/unix/pipe.h |
cf2810aa | 351 | wx/unix/stdpaths.h |
6e4ae332 | 352 | wx/unix/stackwalk.h |
509f339a | 353 | wx/unix/tls.h |
6b8ef0b3 | 354 | wx/unix/fswatcher_kqueue.h |
cf2810aa VZ |
355 | wx/unix/execute.h |
356 | wx/unix/mimetype.h | |
6b8ef0b3 | 357 | wx/unix/fswatcher_inotify.h |
d10382ab | 358 | wx/fs_inet.h |
d10382ab VS |
359 | wx/protocol/file.h |
360 | wx/protocol/ftp.h | |
361 | wx/protocol/http.h | |
0576cd9e | 362 | wx/protocol/log.h |
d10382ab VS |
363 | wx/protocol/protocol.h |
364 | wx/sckaddr.h | |
365 | wx/sckipc.h | |
366 | wx/sckstrm.h | |
367 | wx/socket.h | |
368 | wx/url.h | |
d10382ab VS |
369 | wx/xml/xml.h |
370 | wx/xtixml.h | |
d10382ab VS |
371 | EOF |
372 | # --- wxBase headers list ends here --- | |
7a2c0dd9 VZ |
373 | |
374 | # --- wxBase headers list with paths --- | |
375 | sed -e 's@^@%{_includedir}/wx-%{ver2}/@' wxbase-headers.files > wxbase-headers.paths | |
376 | ||
fe770a60 RR |
377 | |
378 | # temporarily remove base headers | |
379 | mkdir $RPM_BUILD_ROOT/_save_dir | |
380 | cp -r $RPM_BUILD_ROOT%{_includedir}/wx-%{ver2} $RPM_BUILD_ROOT/_save_dir | |
381 | for f in `cat wxbase-headers.files` ; do | |
1cd555d2 | 382 | rm -f $RPM_BUILD_ROOT%{_includedir}/wx-%{ver2}/$f |
4eba1840 | 383 | done |
4eba1840 | 384 | # list of all core headers: |
1cd555d2 | 385 | find $RPM_BUILD_ROOT%{_includedir}/wx-%{ver2} -type f | sed -e "s,$RPM_BUILD_ROOT,,g" >core-headers.files |
fe770a60 RR |
386 | # move base headers (actually all headers) back again |
387 | cp -f -r $RPM_BUILD_ROOT/_save_dir/* $RPM_BUILD_ROOT%{_includedir} | |
388 | rm -rf $RPM_BUILD_ROOT/_save_dir | |
4eba1840 | 389 | |
3a0e61d6 VZ |
390 | # utils: |
391 | (cd obj-shared/utils/wxrc; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install) | |
88e3652f | 392 | |
6001a0ee VZ |
393 | # wx-config link is created during package installation, remove it for now |
394 | rm -f $RPM_BUILD_ROOT%{_bindir}/wx-config | |
395 | ||
c16d2763 VS |
396 | %clean |
397 | rm -rf $RPM_BUILD_ROOT | |
398 | ||
f14a5b55 RR |
399 | %post |
400 | /sbin/ldconfig | |
401 | ||
402 | %postun | |
403 | /sbin/ldconfig | |
404 | ||
2fbef279 VZ |
405 | %post devel |
406 | # link wx-config when you install RPM. | |
fe770a60 RR |
407 | %if %{unicode} |
408 | ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/wx-config | |
409 | %endif | |
2fbef279 | 410 | # link wx-config with explicit name. |
1cd555d2 VZ |
411 | ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink} |
412 | /sbin/ldconfig | |
413 | ||
414 | %postun devel | |
415 | /sbin/ldconfig | |
f5b3b37e | 416 | |
2fbef279 | 417 | %preun devel |
fe770a60 RR |
418 | %if %{unicode} |
419 | rm -f %{_bindir}/wx-config | |
420 | %endif | |
1cd555d2 | 421 | rm -f %{_bindir}/%{wxconfiglink} |
f5b3b37e | 422 | |
fe770a60 RR |
423 | %post -n %{wxbasename} |
424 | /sbin/ldconfig | |
425 | ||
426 | %postun -n %{wxbasename} | |
427 | /sbin/ldconfig | |
428 | ||
429 | %post -n %{wxbasename}-devel | |
430 | # link wx-config with explicit name. | |
431 | ln -sf %{_libdir}/wx/config/%{wxbaseconfig} %{_bindir}/%{wxbaseconfiglink} | |
432 | /sbin/ldconfig | |
433 | ||
434 | %postun -n %{wxbasename}-devel | |
435 | /sbin/ldconfig | |
436 | ||
437 | %preun -n %{wxbasename}-devel | |
438 | rm -f %{_bindir}/%{wxbaseconfiglink} | |
439 | ||
1cd555d2 VZ |
440 | %post gl |
441 | /sbin/ldconfig | |
442 | ||
443 | %postun gl | |
444 | /sbin/ldconfig | |
445 | ||
4eba1840 | 446 | %files |
81edbb3f VS |
447 | %defattr(-,root,root) |
448 | %doc COPYING.LIB *.txt | |
fe770a60 | 449 | %{_libdir}/libwx_%{buildname}_adv-%{ver2}.so.* |
66a9bd09 | 450 | %{_libdir}/libwx_%{buildname}_aui-%{ver2}.so.* |
fe770a60 | 451 | %{_libdir}/libwx_%{buildname}_core-%{ver2}.so.* |
fe770a60 | 452 | %{_libdir}/libwx_%{buildname}_html-%{ver2}.so.* |
2f22b9c2 VZ |
453 | %{_libdir}/libwx_%{buildname}_media-%{ver2}.so.* |
454 | %{_libdir}/libwx_%{buildname}_propgrid-%{ver2}.so.* | |
fe770a60 | 455 | %{_libdir}/libwx_%{buildname}_qa-%{ver2}.so.* |
2f22b9c2 | 456 | %{_libdir}/libwx_%{buildname}_ribbon-%{ver2}.so.* |
66a9bd09 | 457 | %{_libdir}/libwx_%{buildname}_richtext-%{ver2}.so.* |
2f22b9c2 | 458 | %{_libdir}/libwx_%{buildname}_stc-%{ver2}.so.* |
fe770a60 | 459 | %{_libdir}/libwx_%{buildname}_xrc-%{ver2}.so.* |
1cd555d2 | 460 | |
18f208c3 | 461 | %files -n wx-i18n |
fe770a60 | 462 | %defattr(-,root,root) |
63ca914c | 463 | %{_datadir}/locale/*/LC_MESSAGES/*.mo |
641d87d8 | 464 | |
4eba1840 | 465 | %files devel -f core-headers.files |
0f7deca9 | 466 | %defattr(-,root,root) |
fe770a60 RR |
467 | # shared libs |
468 | %{_libdir}/libwx_%{buildname}_adv-%{ver2}.so | |
66a9bd09 | 469 | %{_libdir}/libwx_%{buildname}_aui-%{ver2}.so |
fe770a60 | 470 | %{_libdir}/libwx_%{buildname}_core-%{ver2}.so |
fe770a60 RR |
471 | %{_libdir}/libwx_%{buildname}_gl-%{ver2}.so |
472 | %{_libdir}/libwx_%{buildname}_html-%{ver2}.so | |
2f22b9c2 VZ |
473 | %{_libdir}/libwx_%{buildname}_media-%{ver2}.so |
474 | %{_libdir}/libwx_%{buildname}_propgrid-%{ver2}.so | |
fe770a60 | 475 | %{_libdir}/libwx_%{buildname}_qa-%{ver2}.so |
2f22b9c2 | 476 | %{_libdir}/libwx_%{buildname}_ribbon-%{ver2}.so |
66a9bd09 | 477 | %{_libdir}/libwx_%{buildname}_richtext-%{ver2}.so |
2f22b9c2 | 478 | %{_libdir}/libwx_%{buildname}_stc-%{ver2}.so |
fe770a60 RR |
479 | %{_libdir}/libwx_%{buildname}_xrc-%{ver2}.so |
480 | # static libs | |
481 | %{_libdir}/libwx_%{buildname}_adv-%{ver2}.a | |
66a9bd09 | 482 | %{_libdir}/libwx_%{buildname}_aui-%{ver2}.a |
fe770a60 | 483 | %{_libdir}/libwx_%{buildname}_core-%{ver2}.a |
fe770a60 RR |
484 | %{_libdir}/libwx_%{buildname}_gl-%{ver2}.a |
485 | %{_libdir}/libwx_%{buildname}_html-%{ver2}.a | |
2f22b9c2 VZ |
486 | %{_libdir}/libwx_%{buildname}_media-%{ver2}.a |
487 | %{_libdir}/libwx_%{buildname}_propgrid-%{ver2}.a | |
fe770a60 | 488 | %{_libdir}/libwx_%{buildname}_qa-%{ver2}.a |
2f22b9c2 | 489 | %{_libdir}/libwx_%{buildname}_ribbon-%{ver2}.a |
66a9bd09 | 490 | %{_libdir}/libwx_%{buildname}_richtext-%{ver2}.a |
2f22b9c2 | 491 | %{_libdir}/libwx_%{buildname}_stc-%{ver2}.a |
fe770a60 | 492 | %{_libdir}/libwx_%{buildname}_xrc-%{ver2}.a |
81edbb3f | 493 | %dir %{_libdir}/wx |
fe770a60 RR |
494 | %{_libdir}/wx/config/%{wxconfig} |
495 | %{_libdir}/wx/include/%{wxconfig}/wx/setup.h | |
496 | %{_libdir}/wx/config/%{wxconfigstatic} | |
497 | %{_libdir}/wx/include/%{wxconfigstatic}/wx/setup.h | |
1cd555d2 | 498 | %{_bindir}/wxrc* |
2a29700e | 499 | |
fe770a60 | 500 | %files -n %{wxbasename} |
81edbb3f | 501 | %defattr(-,root,root) |
fe770a60 | 502 | %{_libdir}/libwx_base*-%{ver2}.so.* |
0f7deca9 | 503 | |
fe770a60 | 504 | %files -n %{wxbasename}-devel -f wxbase-headers.paths |
5dcf9614 | 505 | %defattr (-,root,root) |
fe770a60 RR |
506 | %dir %{_includedir}/wx-%{ver2} |
507 | %{_libdir}/libwx_base*-%{ver2}.so | |
508 | %{_libdir}/libwx_base*-%{ver2}.a | |
509 | %if %{unicode} | |
510 | %{_libdir}/libwxregexu-%{ver2}.a | |
511 | %endif | |
f5ee20cc | 512 | %{_libdir}/libwxscintilla-%{ver2}.a |
fe770a60 | 513 | %dir %{_libdir}/wx |
fe770a60 | 514 | %{_datadir}/aclocal/*.m4 |
63ca914c | 515 | %{_datadir}/bakefile/presets/* |
fe770a60 RR |
516 | |
517 | %files gl | |
518 | %defattr(-,root,root) | |
519 | %{_libdir}/libwx_%{buildname}_gl-%{ver2}.so.* |