public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/spice-protocol] rawhide: Add MinGW packages
@ 2026-06-03 11:50
0 siblings, 0 replies; only message in thread
From: @ 2026-06-03 11:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/spice-protocol
Branch : rawhide
Commit : fb699a8cf333b1d2091d42f2c4ebbc7b7c098450
Author : Marc-André Lureau <marcandre.lureau@redhat.com>
Date : 2026-06-03T15:50:22+04:00
Stats : +61/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/spice-protocol/c/fb699a8cf333b1d2091d42f2c4ebbc7b7c098450?branch=rawhide
Log:
Add MinGW packages
The original bz was about a separate package, but Fedora is now unifying
native & cross packages: https://pagure.io/packaging-committee/issue/1259
---
diff --git a/spice-protocol.spec b/spice-protocol.spec
index f185261..dd55f82 100644
--- a/spice-protocol.spec
+++ b/spice-protocol.spec
@@ -1,6 +1,12 @@
+%if 0%{?fedora}
+%bcond_without mingw
+%else
+%bcond_with mingw
+%endif
+
Name: spice-protocol
Version: 0.14.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Spice protocol header files
# Main headers are BSD, controller / foreign menu are LGPL
License: BSD-3-Clause AND LGPL-2.1-or-later
@@ -11,10 +17,38 @@ BuildArch: noarch
BuildRequires: gcc
BuildRequires: meson
+%if %{with mingw}
+BuildRequires: mingw32-filesystem
+BuildRequires: mingw32-gcc
+
+BuildRequires: mingw64-filesystem
+BuildRequires: mingw64-gcc
+%endif
+
%description
Header files describing the spice protocol
and the para-virtual graphics card QXL.
+%if %{with mingw}
+%package -n mingw32-spice-protocol
+Summary: Spice protocol header files for MinGW
+
+%description -n mingw32-spice-protocol
+Header files describing the spice protocol
+and the para-virtual graphics card QXL.
+
+This is the MinGW build of spice-protocol.
+
+%package -n mingw64-spice-protocol
+Summary: Spice protocol header files for MinGW
+
+%description -n mingw64-spice-protocol
+Header files describing the spice protocol
+and the para-virtual graphics card QXL.
+
+This is the MinGW build of spice-protocol.
+%endif
+
%prep
%autosetup -p1
@@ -23,17 +57,43 @@ and the para-virtual graphics card QXL.
%meson
%meson_build
+%if %{with mingw}
+%mingw_meson
+%mingw_ninja
+%endif
+
%install
%meson_install
+%if %{with mingw}
+%mingw_ninja_install
+%endif
+
%files
%doc COPYING CHANGELOG.md
%{_includedir}/spice-1
%{_datadir}/pkgconfig/spice-protocol.pc
+%if %{with mingw}
+%files -n mingw32-spice-protocol
+%license COPYING
+%doc CHANGELOG.md
+%{mingw32_includedir}/spice-1
+%{mingw32_datadir}/pkgconfig/spice-protocol.pc
+
+%files -n mingw64-spice-protocol
+%license COPYING
+%doc CHANGELOG.md
+%{mingw64_includedir}/spice-1
+%{mingw64_datadir}/pkgconfig/spice-protocol.pc
+%endif
+
%changelog
+* Tue Jun 03 2025 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.14.5-4
+- Add MinGW packages
+
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-03 11:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 11:50 [rpms/spice-protocol] rawhide: Add MinGW packages
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox