File project.diff of Package ft2play
--- ft2play.changes.orig
+++ ft2play.changes
@@ -1,4 +1,18 @@
-------------------------------------------------------------------
+Wed Feb 15 12:10:19 UTC 2023 - mardnh@gmx.de
+
+- Update to version 0~git20230215:
+ * Added CMakeLists.txt by roox
+- Drop not longer needed patch:
+ * 0001-Create-CMakeLists.txt.patch
+
+-------------------------------------------------------------------
+Tue Feb 14 22:10:18 UTC 2023 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 0~git20220407
+- Use _service file to generate tarball from git
+
+-------------------------------------------------------------------
Mon Oct 11 14:01:50 UTC 2021 - Arachnos
- Initial package with ft2play git20210713.e997a5c
--- ft2play.spec.orig
+++ ft2play.spec
@@ -1,7 +1,7 @@
#
# spec file for package ft2play
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,24 @@
#
-%define gitlong e997a5c523f5a55d330e0dcf613af9c11d2bbe58
-%define gitshort 20210713.%(g=%{gitlong}; echo ${g:0:7})
Name: ft2play
-Version: git%{gitshort}
+Version: 0~git20230215
Release: 0
Summary: Bit-accurate C port of Fasttracker's XM replayer
License: BSD-3-Clause
-Group: Productivity/Multimedia/Sound/Editors and Convertors
-URL: https://github.com/8bitbubsy/%{name}
-Source: %{url}/archive/%{gitlong}/%{name}-%{version}.tar.gz
-Source1: %{name}.changes
-# Create CMakeLists.txt -- Arachnos
-Patch0: 0001-Create-CMakeLists.txt.patch
+Group: Productivity/Multimedia/Sound/Players
+URL: https://github.com/8bitbubsy/ft2play
+Source: %{name}-%{version}.tar.xz
BuildRequires: cmake >= 3.7
-BuildRequires: libSDL2-devel
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(sdl2)
%description
Bit-accurate C port of Fasttracker's XM replayer (SB16/WAV render mode).
This is a direct port of the original asm/Pascal source codes.
%prep
-%setup -qn %{name}-%{gitlong}
-%autopatch -p1
+%setup -q
%build
%cmake