Commit Graph

69 Commits

Author SHA1 Message Date
Sandro Mani
717f2a929b Add %mingw_make_build and %mingw_make_install 2020-05-23 14:00:10 +02:00
Sandro Mani
3ad1f950f2 Fix mingw_meson resulting in ERROR: Unable to determine dynamic linker 2020-05-22 21:44:20 +02:00
David Woodhouse
64521a8bdb Quote sequences to tr to avoid the shell handling them (#1830233) 2020-05-01 09:55:55 +01:00
Fedora Release Engineering
3ca816d704 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 12:54:25 +00:00
Marc-André Lureau
32c17a2e88 Add redhat-rpm-config dependency. Fixes rhbz#1769792
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2019-11-07 17:53:04 +04:00
Sandro Mani
782b104283 Add dlltool to toolchain-mingw{32,64}.meson 2019-08-29 23:09:34 +02:00
Sandro Mani
c3d26e7c6d Fix mingw-find-debuginfo.sh to pick up strippable binaries also in %%{_prefix}/%%{mingw32,64_target} 2019-08-12 13:27:48 +02:00
Fedora Release Engineering
cfb1eb6575 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 16:41:07 +00:00
Fabiano Fidêncio
ff5a0b892e Add %%mingw_ninja_install macro
In order to make the life of the mingw packages easier, let's add a
%%mingw_ninja_install macro that will run `ninja -C install` in the
proper directory (the one configured using %%mingw_meson macro), passing
the correct DESTDIR to ninja.

In case it's not done, po files are not correctly installed and
%%mingw_find_lang macro will fail.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2019-06-19 14:16:19 +02:00
Sandro Mani
2fdaf5a89a Revert "Remove redundant in mingw_cmake and mingw_meson"
It causes no arguments at all to be passed to cmake
2019-02-14 21:42:43 +01:00
Elliott Sales de Andrade
ed40f14dd0 Remove redundant $@ in mingw_cmake and mingw_meson.
$@ is not used by the RPM macro _in RPM_ since it is executed as a line
by itself, not a script or function.

There's already a $@ in the mingw-scripts.sh file, so when expanded from
the macro, the script contains two $@, sending redundant arguments to
cmake and meson.
2019-02-05 18:14:32 -05:00
Fedora Release Engineering
7b85d868c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 10:28:11 +00:00
Igor Gnatenko
e467da62ae Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:16 +01:00
Fedora Release Engineering
59fb5dec7b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 10:20:33 +00:00
Elliott Sales de Andrade
bd0be208c7 Add macros and cross-file for meson and ninja. 2018-04-20 03:37:41 -04:00
Fedora Release Engineering
7147464c6a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 02:03:26 +00:00
Sandro Mani
9a9de1654b Add %mingw_nm macro 2017-09-10 13:51:18 +02:00
Sandro Mani
c9e430bd5a Also extract debuginfo data from pyd binaries 2017-09-09 10:07:18 +02:00
Fedora Release Engineering
3b7a52cee2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 21:32:13 +00:00
Fedora Release Engineering
04eab395a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 21:03:25 +00:00
Erik van Pienbroek
7bb5a7f841 Regenerated list of default win32 DLL's 2016-05-08 13:01:21 +02:00
Erik van Pienbroek
5d10b97d99 Update config.{guess,sub} in %%mingw_configure (#1288256) 2016-05-08 12:58:13 +02:00
Fedora Release Engineering
4d9f176480 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 08:06:59 +00:00
Dennis Gilmore
968ec71af8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 20:15:25 +00:00
Erik van Pienbroek
08bbe2dfa0 Removed old _mingw32 macros which were deprecated since Fedora 17 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
64394b95aa Accept empty MINGW{32,64}_{C,CPP,CXX}FLAGS environment variables 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
2031da5ebb Don't set LIB_INSTALL_DIR any more in the CMake macros as it breaks CPack (RHBZ #1152696) 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
7daa010253 Prevent CFLAGS and CXXFLAGS from being set when using CMake wrappers (RHBZ #1136069) 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
f185f58985 Don't use verbose output by default in the CMake wrapper scripts 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
6e3f91139b Allow verbose CMake output to be disabled (RHBZ #987644) 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
5da13e5526 Removed the cmake rpath references as mingw doesn't support rpath 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
a1d54d46a0 Made the CMake RPM macros more generic 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
aad18c0124 Remove unused and broken Boost_COMPILER from CMake toolchain files 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
475f0ff26f Add CMAKE_SYSTEM_PROCESSOR to the CMake toolchain files 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
faf1180f11 Rename Toolchain-mingw{32,64}.cmake to toolchain-mingw{32,64}.cmake 2015-04-11 19:07:25 +02:00
Dennis Gilmore
1858211f16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 04:34:06 -05:00
Erik van Pienbroek
7871a5f4f5 Place the RPM macros in /usr/lib/rpm/macros.d when using a modern RPM 2014-02-09 01:04:35 +01:00
Erik van Pienbroek
f67070450f Own all the locale folders below %{mingw32_datadir}/locale and %{mingw64_datadir}/locale (RHBZ #798329) 2013-08-03 20:39:44 +02:00
Erik van Pienbroek
9385982597 Own the folders %{mingw32_libdir}/cmake and %{mingw64_libdir}/cmake 2013-08-03 19:56:04 +02:00
Dennis Gilmore
16853f003e - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 05:33:06 -05:00
Kalev Lember
f7e66214d7 Remove invalid macros with '++' in the name
https://lists.fedoraproject.org/pipermail/devel/2013-June/183886.html
2013-06-15 15:21:15 +02:00
Erik van Pienbroek
6f9eccdae6 Only set the environment variable PKG_CONFIG_LIBDIR in the cmake macros
- Only set the environment variable PKG_CONFIG_LIBDIR when
  using the macros %mingw32_cmake, %mingw32_cmake_kde4,
  %mingw64_cmake or %mingw64_cmake_kde4
- Fixes FTBFS of the mingw-matahari package
2013-06-02 17:31:30 +02:00
Erik van Pienbroek
a737f03ae2 Updated the list of DLLs which are part of the Win32 API
Updated the list of DLLs which are part of the Win32 API with
the libraries d3dcompiler_46.dll, d3dcsx_46.dll, davclnt.dll,
devmgr.dll, devobj.dll and devrtl.dll
2013-05-14 20:14:01 +02:00
Erik van Pienbroek
c61c02dedf Fix rpmlint warnings about invalid date in changelog entries 2013-05-14 20:07:41 +02:00
Erik van Pienbroek
d6d7154378 Bumped the minimum required version of mingw{32,64}-filesystem to >= 95
Bumped the minimum required version of mingw{32,64}-filesystem
to >= 95 in built mingw packages as this is the first version of
which was introduced in Fedora with a stable interface
2013-05-14 20:03:32 +02:00
Erik van Pienbroek
ba334114c1 Removed the use of the environment variable PKG_CONFIG_LIBDIR
- Removed the use of the environment variable PKG_CONFIG_LIBDIR
  While building binaries the tool {i686,x86_64}-w64-mingw32-pkg-config
  should be used to find out pkg-config information
  The environment variable PKG_CONFIG already automatically points
  to the right cross-compiler aware version of pkg-config when
  the mingw{32,64}-pkg-config packages are installed
- Fixes compilation of mingw-gtk3 3.9.0 (GNOME BZ #699690)
- Automatically add R: mingw{32,64}-pkg-config tags when .pc files
  are detected while building mingw packages
2013-05-14 20:00:13 +02:00
Ralf Corsépius
797731025a Remove %config from %{_sysconfdir}/rpm/macros.*
(https://fedorahosted.org/fpc/ticket/259).
- Minor spec fixes.
2013-03-03 12:14:10 +01:00
Dennis Gilmore
8c7521d977 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 00:59:39 -06:00
Erik van Pienbroek
c277ca32f1 Support the environment variables MINGW32_MAKE_ARGS and MINGW64_MAKE_ARGS
These environment variables can be used to provide additional
target-specific arguments when using the %mingw_make macro
2012-12-16 23:56:55 +01:00
Erik van Pienbroek
ac04067e87 Added support for RHEL6 2012-12-03 19:59:00 +01:00