]> git.pld-linux.org Git - packages/crossmingw32-gtkmm.git/commitdiff
- enable WinXP APIs for std-threads; release 3 auto/th/crossmingw32-gtkmm-2.24.5-3
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Oct 2018 18:18:03 +0000 (20:18 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Oct 2018 18:18:03 +0000 (20:18 +0200)
crossmingw32-gtkmm.spec

index c9210c53ed091746f1a94f689042aa4397e55e3f..72ac8e0693bf701bf1e64e77f7042dde71979a60 100644 (file)
@@ -3,7 +3,7 @@ Summary(pl.UTF-8):      Wrapper C++ dla GTK+ - skrośna wersja MinGW32
 %define                realname   gtkmm
 Name:          crossmingw32-%{realname}
 Version:       2.24.5
-Release:       2
+Release:       3
 License:       LGPL v2+
 Group:         Development/Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/%{realname}-%{version}.tar.xz
@@ -110,6 +110,8 @@ export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig:%{_npkgconfigdir}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# std-threads required by glibmm requires at least WinXP API
+CPPFLAGS="%{rpmcppflags} -DWINVER=0x0501"
 %configure \
        --targe=%{target} \
        --host=%{target} \
@@ -125,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_dlldir}
-mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
+%{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
 
 %if 0%{!?debug:1}
 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
This page took 0.064465 seconds and 4 git commands to generate.