commit b7b291c9795184f187c39e7f2787f49e9cfa5b91
Author: Martin Gansser <mgansser(a)online.de>
Date: Sat Dec 3 12:11:28 2022 +0100
Rebuilt for new VDR API version
vdr-burn.spec | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/vdr-burn.spec b/vdr-burn.spec
index 6f67e55..cb2a94d 100644
--- a/vdr-burn.spec
+++ b/vdr-burn.spec
@@ -1,10 +1,16 @@
%global gver 0.1.3
%global pname burn
%global __provides_exclude_from ^%{vdr_libdir}/.*\\.so.*$
+# version we want build against
+%global vdr_version 2.6.1
+%if 0%{?fedora} >= 38
+%global vdr_version 2.6.2
+%endif
+
Name: vdr-%{pname}
Version: 0.3.0
-Release: 27%{?dist}
+Release: 28%{?dist}
Summary: DVD writing plugin for VDR
# genindex is GPLv2+, rest GPL+
@@ -52,12 +58,14 @@ sed -i -e 's|std::auto_ptr<chain_vdr>
m_process;|std::unique_ptr<chain_vdr> m_pr
sed -i -e 's|std::auto_ptr<job> m_pending;|std::unique_ptr<job>
m_pending;|' manager.h
sed -i -e 's|auto_ptr<process> dtemp( proc );|std::unique_ptr<process>
dtemp( proc );|' proctools/chain.cc
+# fix deprecated warnings pkg-config
+sed -i -e 's|gdlib-config|pkg-config gdlib|' Makefile
+
cd ../genindex-%{gver}
sed -i -e 's/-g -O2/$(RPM_OPT_FLAGS)/' Makefile
f=README ; iconv -f iso-8859-1 -t utf-8 -o ../README.genindex $f
cd ..
-
%build
# main build not parallel clean (libvdr-burn.so -> proctools/libproctools.a)
make -C burn ISODIR=%{vdr_videodir} all
@@ -102,6 +110,9 @@ install -Dpm 644 %{SOURCE1} \
%changelog
+* Fri Dec 02 2022 Martin Gansser <martinkg(a)fedoraproject.org> - 0.3.0-28
+- Rebuilt for new VDR API version
+
* Mon Aug 08 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
0.3.0-27
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1