From 4231eddc6d16e273959481c0d955e47a54c478d5 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: May 23 2020 12:07:49 +0000 Subject: Update guidelines/modules/ROOT/pages/MinGW.adoc Document %mingw_make_build and %mingw_make_install --- diff --git a/guidelines/modules/ROOT/pages/MinGW.adoc b/guidelines/modules/ROOT/pages/MinGW.adoc index 7eb0f4e..b6241cb 100644 --- a/guidelines/modules/ROOT/pages/MinGW.adoc +++ b/guidelines/modules/ROOT/pages/MinGW.adoc @@ -210,6 +210,8 @@ mingw-filesystem |Explanation |mingw_cmake_kde4 |>= 95 |Call the 'cmake' binary for all the configured targets with KDE4 specific parameters set |mingw_configure |>= 95 |Call the configure command for all the configured targets |mingw_make |>= 95 |Call the 'make' command for all the configured targets +|mingw_make_build |>= 113|Call 'make -O -j V=1 VERBOSE=1' command for all configured targets +|mingw_make_install |>= 113 |Call 'make install DESTDIR=$RPM_BUILD_ROOT 'INSTALL=/usr/bin/install -p' for all configured targets |mingw_meson |>= 104 |Call the meson binary for all the configured targets |mingw_ninja |>= 104 |Call the ninja binary for all the configured targets |mingw_objcopy |>= 95 |cross compiler 'objcopy' binary (which supports both Win32 and Win64 binaries) @@ -466,14 +468,14 @@ Source0: http://fedoraproject.org/example-%{version}.tar.bz2 BuildArch: noarch -BuildRequires: mingw32-filesystem >= 95 +BuildRequires: mingw32-filesystem >= 113 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils BuildRequires: mingw32-gettext BuildRequires: mingw32-win-iconv BuildRequires: mingw32-zlib -BuildRequires: mingw64-filesystem >= 95 +BuildRequires: mingw64-filesystem >= 113 BuildRequires: mingw64-gcc BuildRequires: mingw64-binutils BuildRequires: mingw64-gettext @@ -522,19 +524,19 @@ Static version of the MinGW Win64 compiled example library. %prep -%setup -q -n example-%{version} +%autosetup -p1 -n example-%{version} %build %mingw_configure --enable-static --enable-shared --enable-foo -%mingw_make %{?_smp_mflags} +%mingw_make_build %install -%mingw_make install DESTDIR=$RPM_BUILD_ROOT +%mingw_make_install # Libtool files don't need to be bundled -find $RPM_BUILD_ROOT -name "*.la" -delete +find %{buildroot} -name "*.la" -delete %mingw_find_lang example