File project.diff of Package dream

--- _service.orig
+++ _service
@@ -1,7 +1,18 @@
 <services>
-  <service name="download_url">
-    <param name="host">downloads.sourceforge.net</param>
-    <param name="protocol">http</param>
-    <param name="path">/project/drm/dream/2.1.1/dream-2.1.1-svn808.tar.gz</param>
+  <service name="tar_scm" mode="manual">
+    <param name="scm">svn</param>
+    <param name="url">https://svn.code.sf.net/p/drm/code/</param>
+    <param name="revision">r1346</param>
+    <param name="filename">dream</param>
+    <param name="versionformat">2.3</param>
+    <param name="exclude">.svn</param>
+    <param name="package-meta">no</param>
+    <param name="changesgenerate">disable</param>
   </service>
-</services>
\ No newline at end of file
+  <service name="recompress" mode="manual">
+    <param name="compression">xz</param>
+    <param name="file">*.tar</param>
+  </service>
+  <service name="set_version" mode="manual">
+  </service>
+</services>
--- dream.changes.orig
+++ dream.changes
@@ -1,4 +1,17 @@
 -------------------------------------------------------------------
+Sat Nov 29 13:56:55 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 2.3
+  * https://sourceforge.net/p/drm/mailman/message/37176656/
+- Use _service file to create the tarball
+- Add patches:
+  * dream-missing-qwt-include.patch
+  * dream-missing-return.patch
+  * dream-modern-qwt6.patch
+  * dream-pro-includes.patch
+
+
+-------------------------------------------------------------------
 Mon Feb 17 01:19:18 UTC 2020 - novell@tower-net.de
 
 - fixes for build and run on current distributions
--- dream.spec.orig
+++ dream.spec
@@ -1,38 +1,44 @@
 #
 # spec file for package dream
 #
- 
 Name:           dream
-Version:        2.1.1
+Version:        2.3
 Release:        0
 Summary:        Digital Radio Mondiale (DRM) software receiver
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Hamradio/Other
-Url:            http://drm.sourceforge.net/
-Source:         http://downloads.sourceforge.net/project/drm/%{name}/%{version}/%{name}-%{version}-svn808.tar.gz
-Source1:        dream.png
-Patch0:         dream-2.1.1-opensuse-config-diffs.patch
-Patch1:         dream-2.1.1-gps_read.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-BuildRequires:  alsa-devel
+URL:            https://drm.sourceforge.net/
+Source:         %{name}-%{version}.tar.xz
+Source1:        %{name}.png
+Source2:        %{name}.desktop
+Patch0:         dream-missing-qwt-include.patch
+Patch1:         dream-pro-includes.patch
+Patch2:         dream-modern-qwt6.patch
+Patch3:         dream-missing-return.patch
+Patch4:         dream-portaudio.patch
+#Patch0:         dream-2.1.1-opensuse-config-diffs.patch
+#Patch1:         dream-2.1.1-gps_read.patch
 BuildRequires:  fftw-devel
 BuildRequires:  gcc-c++
-BuildRequires:  glibc-devel
-BuildRequires:  gpsd-devel
-BuildRequires:  hamlib-devel
-BuildRequires:  libQt5Core-devel
-BuildRequires:  libQt5WebKit5-devel
-BuildRequires:  libQt5WebKitWidgets-devel
-BuildRequires:  libQt5Xml-devel
-BuildRequires:  libopus-devel
+BuildRequires:  hicolor-icon-theme
 BuildRequires:  libpcap-devel
-BuildRequires:  libsndfile-devel
-BuildRequires:  libpulse-devel
-#BuildRequires:  qt-devel
+BuildRequires:  pkgconfig
 BuildRequires:  qwt6-qt5-devel
 BuildRequires:  speex-devel
-BuildRequires:  update-desktop-files
+BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  pkgconfig(Qt5Network)
+BuildRequires:  pkgconfig(Qt5Svg)
+BuildRequires:  pkgconfig(Qt5Widgets)
+BuildRequires:  pkgconfig(Qt5Xml)
+#BuildRequires:  libpulse-devel
+BuildRequires:  pkgconfig(portaudio-2.0)
+##
+#BuildRequires:  libopus-devel
+#BuildRequires:  alsa-devel
+#BuildRequires:  glibc-devel
+#BuildRequires:  gpsd-devel
+#BuildRequires:  hamlib-devel
+#BuildRequires:  libsndfile-devel
 
 %description
 Digital Radio Mondiale (DRM) is the digital radio standard for
@@ -41,26 +47,28 @@ the long, medium and short wave ranges.
 Dream is an open source software implementation of a DRM receiver.
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1
 
 %build
-qmake-qt5
-make %{?_smp_mflags}
+cd dream
+%qmake5
+sed -i "s|-lqwt-qt5-qt5|-lqwt-qt5|g" Makefile
+%make_build
 
 %install
-make INSTALL_ROOT=%{buildroot} install
-
-%suse_update_desktop_file -c dream Dream 'DRM software receiver' dream dream 'Network;HamRadio'
+install -Dm 0755 dream/dream %{buildroot}%{_bindir}/dream
+install -Dm 0644 dream/linux/dream.1 %{buildroot}%{_mandir}/man1/%{name}.1
+install -Dm 0644 dream/src/GUI-QT/res/MainIcon.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+install -Dm 0644 %{SOURCE1} %{buildroot}/%{_datadir}/pixmaps/%{name}.png
+install -Dm 0644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/%{name}.desktop
 
 %files
-%defattr(-, root, root)
-%doc AUTHORS COPYING README 
+%license dream/COPYING
+%doc dream/ChangeLog dream/AUTHORS dream/README
 %{_bindir}/dream
-%{_mandir}/man1/dream.1.gz
-%{_datadir}/pixmaps/dream.png
-%{_datadir}/applications/dream.desktop
+%{_mandir}/man1/%{name}.1%{?ext_man}
+%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 
 %changelog
-
openSUSE Build Service is sponsored by