From 9a777ce06712181b6d08ef00a231940b257739e9 Mon Sep 17 00:00:00 2001
From: Bojan Smojver <bojan@rexursive.com>
Date: Tue, 12 Mar 2024 09:31:32 +1100
Subject: [PATCH 1/4] Initial work on build of 0.10.0

---
 xorgxrdp.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/xorgxrdp.spec b/xorgxrdp.spec
index 641df6d..913f376 100644
--- a/xorgxrdp.spec
+++ b/xorgxrdp.spec
@@ -1,6 +1,6 @@
 Name:           xorgxrdp
-Version:        0.9.19
-Release:        7%{?dist}
+Version:        0.10.0
+Release:        1%{?dist}
 Summary:        Implementation of xrdp backend as Xorg modules
 
 License:        MIT
@@ -10,7 +10,7 @@ Source0:        https://github.com/neutrinolabs/xorgxrdp/releases/download/v%{ve
 BuildRequires: make
 BuildRequires:  nasm
 BuildRequires:  xorg-x11-server-devel
-BuildRequires:  xrdp-devel >= 1:0.9.17
+BuildRequires:  xrdp-devel >= 1:0.10.0
 %if 0%{?fedora} > 0 && 0%{?fedora} <= 24
 BuildRequires:  libXfont-devel
 %else
@@ -127,6 +127,9 @@ CFLAGS="$RPM_OPT_FLAGS -I/usr/include/libdrm" \
 %endif
 
 %changelog
+* Mon Mar 11 2024 Bojan Smojver <bojan@rexursive.com> - 0.10.0-1
+- Update to 0.10.0
+
 * Wed Jul 26 2023 Bojan Smojver <bojan@rexursive.com> - 0.9.19-7
 - run autoreconf before build, to avoid problems on F39
 

From 723e85d3374b804b1279ee48ed6251c3f58d1997 Mon Sep 17 00:00:00 2001
From: Bojan Smojver <bojan@rexursive.com>
Date: Wed, 3 Apr 2024 11:33:20 +1100
Subject: [PATCH 2/4] Rebuild against xrdp 0.10.0-beta.2

---
 xorgxrdp.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/xorgxrdp.spec b/xorgxrdp.spec
index 913f376..47e3f14 100644
--- a/xorgxrdp.spec
+++ b/xorgxrdp.spec
@@ -1,6 +1,6 @@
 Name:           xorgxrdp
 Version:        0.10.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Implementation of xrdp backend as Xorg modules
 
 License:        MIT
@@ -127,6 +127,9 @@ CFLAGS="$RPM_OPT_FLAGS -I/usr/include/libdrm" \
 %endif
 
 %changelog
+* Wed Apr 03 2024 Bojan Smojver <bojan@rexursive.com> - 0.10.0-2
+- Rebuild against xrdp 0.10.0-beta.2
+
 * Mon Mar 11 2024 Bojan Smojver <bojan@rexursive.com> - 0.10.0-1
 - Update to 0.10.0
 

From 3fd281e610bee28ebd79f54b2ed46d8960b47f6d Mon Sep 17 00:00:00 2001
From: Bojan Smojver <bojan@rexursive.com>
Date: Tue, 14 May 2024 16:04:40 +1000
Subject: [PATCH 3/4] Update sources

---
 .gitignore | 1 +
 sources    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 02f3261..225d110 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@
 /xorgxrdp-0.2.17.tar.gz
 /xorgxrdp-0.2.18.tar.gz
 /xorgxrdp-0.9.19.tar.gz
+/xorgxrdp-0.10.0.tar.gz
diff --git a/sources b/sources
index 2adc2ca..1fb1699 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xorgxrdp-0.9.19.tar.gz) = ddde47133df70dc401bc6ce29c2d2562dec47e8c81cdd3415a185396f2db75d663586b426aa36b27f696ed9e046cbb4a4c05553b64688a36ec0bd6966c527667
+SHA512 (xorgxrdp-0.10.0.tar.gz) = 3392c526b3287c9865e0526c23245a18c476344d71842d42e53f3fcef5baab20049532625fd3ba3c63dff60c53ab960ad37d1bebd7a6e74693c57e585cd1d1be

From 5c13936d51cd4afae57b3f480493d1f5dba55ac9 Mon Sep 17 00:00:00 2001
From: Bojan Smojver <bojan@rexursive.com>
Date: Tue, 14 May 2024 21:37:39 +1000
Subject: [PATCH 4/4] Fix changelog order

---
 xorgxrdp.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xorgxrdp.spec b/xorgxrdp.spec
index 69f0519..a4b2437 100644
--- a/xorgxrdp.spec
+++ b/xorgxrdp.spec
@@ -133,12 +133,12 @@ CFLAGS="$RPM_OPT_FLAGS -I/usr/include/libdrm" \
 * Wed Apr 03 2024 Bojan Smojver <bojan@rexursive.com> - 0.10.0-2
 - Rebuild against xrdp 0.10.0-beta.2
 
-* Mon Mar 11 2024 Bojan Smojver <bojan@rexursive.com> - 0.10.0-1
-- Update to 0.10.0
-
 * Tue Mar 12 2024 Bojan Smojver <bojan@rexursive.com> - 0.9.20-1
 - Bump up to 0.9.20
 
+* Mon Mar 11 2024 Bojan Smojver <bojan@rexursive.com> - 0.10.0-1
+- Update to 0.10.0
+
 * Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.19-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild