forked from jengelh/wxWidgets-3_2
rework that base-devel package
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=81
This commit is contained in:
parent
31a28e6af4
commit
d20b3a68b4
@ -132,14 +132,14 @@ backends. Applications can be created for different GUIs (GTK+,
|
||||
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
|
||||
code.
|
||||
|
||||
%package -n libwx_base-devel
|
||||
%package -n libwx_base-%variant-devel
|
||||
Summary: Development files for %name
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libwx_baseu-%variant%psonum = %version
|
||||
Requires: libwx_baseu_net-%variant%psonum = %version
|
||||
Requires: libwx_baseu_xml-%variant%psonum = %version
|
||||
|
||||
%description -n libwx_base-devel
|
||||
%description -n libwx_base-%variant-devel
|
||||
wxWidgets is a C++ library abstraction layer for a number of GUI
|
||||
backends.
|
||||
This package is a build artifact and need not be manually installed.
|
||||
@ -320,7 +320,7 @@ Requires: libwx_%{toolkit}u_stc-%variant%psonum = %version
|
||||
Requires: libwx_%{toolkit}u_webview-%variant%psonum = %version
|
||||
%endif
|
||||
Requires: libwx_%{toolkit}u_xrc-%variant%psonum = %version
|
||||
Requires: libwx_base-devel = %version
|
||||
Requires: libwx_base-%variant-devel = %version
|
||||
Requires: pkgconfig(gl)
|
||||
Requires: pkgconfig(glu)
|
||||
Provides: wxWidgets-any-devel
|
||||
@ -403,7 +403,7 @@ export VENDORTAG='-$variant' # only needed for non-MSW
|
||||
rm -fv "%buildroot/%_libdir"/libwx_baseu*.so* \
|
||||
"%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so
|
||||
%endif
|
||||
rm -Rf %buildroot/%_datadir/locale
|
||||
rm -Rfv %buildroot/%_datadir/locale
|
||||
|
||||
# HACK: Fix wx-config symlink (bug introduced in 2.9.4).
|
||||
ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config
|
||||
@ -442,7 +442,7 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
||||
%postun -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
|
||||
|
||||
%if %base_packages
|
||||
%files -n libwx_base-devel
|
||||
%files -n libwx_base-%variant-devel
|
||||
%_libdir/libwx_baseu*.so
|
||||
|
||||
%files -n libwx_baseu-%variant%psonum
|
||||
@ -518,6 +518,9 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
||||
%_datadir/bakefile
|
||||
%_includedir/wx-%wx_minor
|
||||
%_libdir/*.so
|
||||
%if %base_packages
|
||||
%exclude %_libdir/libwx_baseu*
|
||||
%endif
|
||||
%dir %_libdir/wx
|
||||
%_libdir/wx/config
|
||||
%_libdir/wx/include
|
||||
|
Loading…
Reference in New Issue
Block a user