From fdb4d5f342c8f72f61662743467273e5f7e74dcf Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Apr 01 2024 23:23:51 +0000 Subject: Build UCRT64 package --- diff --git a/mingw-dlfcn.spec b/mingw-dlfcn.spec index 8d1fcc0..3d01ba9 100644 --- a/mingw-dlfcn.spec +++ b/mingw-dlfcn.spec @@ -1,10 +1,11 @@ +%global mingw_build_ucrt64 1 %{?mingw_package_header} %global realname dlfcn-win32 Name: mingw-dlfcn Version: 1.4.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Implements a wrapper for dlfcn (dlopen dlclose dlsym dlerror) License: LGPLv2+ @@ -24,6 +25,10 @@ BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-gcc BuildRequires: mingw64-binutils +BuildRequires: ucrt64-filesystem >= 95 +BuildRequires: ucrt64-gcc +BuildRequires: ucrt64-binutils + %description This library implements a wrapper for dlfcn, as specified in POSIX and SUS, @@ -64,6 +69,23 @@ Requires: mingw64-dlfcn = %{version}-%{release} Static version of the MinGW Windows dlfcn library. +# UCRT64 +%package -n ucrt64-dlfcn +Summary: Implements a wrapper for dlfcn (dlopen dlclose dlsym dlerror) + +%description -n ucrt64-dlfcn +This library implements a wrapper for dlfcn, as specified in POSIX and SUS, +around the dynamic link library functions found in the Windows API. + + +%package -n ucrt64-dlfcn-static +Summary: Static version of the MinGW Windows dlfcn library +Requires: mingw64-dlfcn = %{version}-%{release} + +%description -n ucrt64-dlfcn-static +Static version of the MinGW Windows dlfcn library. + + %{?mingw_debug_package} @@ -121,8 +143,23 @@ export MINGW_BUILDDIR_SUFFIX=-static %files -n mingw64-dlfcn-static %{mingw64_libdir}/libdl.a +# UCRT64 +%files -n ucrt64-dlfcn +%doc README.md +%license COPYING +%{ucrt64_bindir}/libdl.dll +%{ucrt64_libdir}/libdl.dll.a +%{ucrt64_includedir}/dlfcn.h +%{ucrt64_datadir}/%{realname} + +%files -n ucrt64-dlfcn-static +%{ucrt64_libdir}/libdl.a + %changelog +* Tue Apr 02 2024 Jonathan Schleifer - 1.4.1-4 +- Build UCRT64 package + * Thu Jan 25 2024 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild