File project.diff of Package rtl-dab
--- _service.orig
+++ _service
@@ -1,17 +1,17 @@
<services>
- <service mode="disabled" name="tar_scm">
+ <service name="tar_scm" mode="manual">
<param name="url">https://github.com/maydavid/rtl-dab.git</param>
<param name="revision">master</param>
<param name="scm">git</param>
<param name="exclude">222055_dump.dump</param>
<param name="changesgenerate">enable</param>
<param name="filename">rtl-dab</param>
- <param name="versionformat">0.0.0+git.%cd</param>
+ <param name="versionformat">0~git%cd</param>
</service>
- <service mode="disabled" name="recompress">
+ <service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
- <service mode="disabled" name="set_version"/>
+ <service name="set_version" mode="manual"/>
</services>
--- _servicedata.orig
+++ _servicedata
@@ -4,4 +4,4 @@
<param name="changesrevision">21eec5406dbb240dc8767a55c8fbd636be23ea14</param></service>
<service name="tar_scm">
<param name="url">https://github.com/maydavid/rtl-dab.git</param>
- <param name="changesrevision">676fe6f7251eae94fac2ba83fd111c8ce982ea23</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">227502f5212c16d1def6410cbee553f8e59b3c63</param></service></servicedata>
\ No newline at end of file
--- rtl-dab.changes.orig
+++ rtl-dab.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Sun Sep 21 15:56:13 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 0~git20200422:
+ * Update README.md with working build instructions.
+
+-------------------------------------------------------------------
Sat Feb 20 13:57:44 UTC 2016 - mardnh@gmx.de
- Update to version 0.0.0.git1428996253.676fe6f:
--- rtl-dab.spec.orig
+++ rtl-dab.spec
@@ -16,19 +16,18 @@
#
Name: rtl-dab
-Version: 0.0.0+git.20150414
+Version: 0~git20200422
Release: 0
Summary: DAB/DAB+ receiver for use with rtl-sdr sticks
-License: GPL-2.0 and GPL-3.0
+License: GPL-2.0-only AND GPL-3.0-only
Group: Productivity/Hamradio/Other
-Url: https://github.com/maydavid/rtl-dab
+URL: https://github.com/maydavid/rtl-dab
Source: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
-BuildRequires: pkg-config
-BuildRequires: pkgconfig(librtlsdr)
+BuildRequires: pkgconfig
BuildRequires: pkgconfig(fftw3)
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: pkgconfig(librtlsdr)
%description
DAB/DAB+ receiver for use with rtl-sdr sticks
@@ -38,19 +37,19 @@ Features:
- Mode I supported
%prep
-%setup -q
+%autosetup
%build
mkdir build
cd build
-cmake ..
-make %{?_smp_mflags}
+# FIXME: you should use the %%cmake macros
+cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+%cmake_build
%install
install -Dm755 build/src/rtldab %{buildroot}/%{_bindir}/rtldab
%files
-%defattr(-,root,root)
%doc README.md
%{_bindir}/rtldab
#%%{_bindir}/rtldab_fault_injection