X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca781e724ccb5312bcb140b0573c19d5c9350774..6e4ae332ac7d85be3592640ffef56a60924cc1c9:/wxBase.spec?ds=sidebyside diff --git a/wxBase.spec b/wxBase.spec index 4ded4738ae..3ac7f82826 100644 --- a/wxBase.spec +++ b/wxBase.spec @@ -1,6 +1,6 @@ %define pref /usr -%define ver 2.7.0 -%define ver2 2.7 +%define ver 2.9.0 +%define ver2 2.9 %define rel 1 # Configurable settings (use --with(out) unicode on rpmbuild command line): @@ -73,7 +73,7 @@ cd obj-shared %if %{unicode} --enable-unicode %else - --with-odbc + --disable-unicode \ %endif $MAKE cd .. @@ -84,15 +84,20 @@ cd obj-static %if %{unicode} --enable-unicode %else - --with-odbc + --disable-unicode \ %endif $MAKE cd .. %install rm -rf $RPM_BUILD_ROOT -(cd obj-static ; make DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install) -(cd obj-shared ; make DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install) +make -C locale allmo +make -C obj-static DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install +make -C obj-shared DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install + +# we need to modify the absolute wx-config link to be relative or rpm complains +# (and our package wouldn't be relocatable) +ln -sf ../lib/wx/config/%{wxconfig} $RPM_BUILD_ROOT/%{pref}/bin/wx-config %find_lang wxstd