commit 9d6ca88e381c82650fecc4d88ec666d5159199f8
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Tue Jan 31 12:17:24 2023 +0100
- Update to 20.4.0
- Add AppStream metadata
- Switch to SPDX license identifiers
.gitignore | 1 +
kodi-pvr-vdr-vnsi.metainfo.xml | 11 +++++++++++
kodi-pvr-vdr-vnsi.spec | 33 +++++++++++++++++++++++----------
sources | 2 +-
4 files changed, 36 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7167aa6..a1d11c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/pvr.vdr.vnsi-8.1.0.tar.gz
/pvr.vdr.vnsi-8.2.2.tar.gz
/pvr.vdr.vnsi-8.2.3.tar.gz
+/pvr.vdr.vnsi-20.4.0.tar.gz
diff --git a/kodi-pvr-vdr-vnsi.metainfo.xml b/kodi-pvr-vdr-vnsi.metainfo.xml
new file mode 100644
index 0000000..c814a21
--- /dev/null
+++ b/kodi-pvr-vdr-vnsi.metainfo.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>kodi-pvr-vdr-vnsi</id>
+ <extends>kodi.desktop</extends>
+ <name>VDR VNSI Client</name>
+ <summary>PVR client to connect VDR to Kodi over the VNSI
interface</summary>
+ <url
type="homepage">https://github.com/xbmc/peripheral.joystick/...
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0-or-later AND MIT</project_license>
+ <update_contact>melmorabity(a)fedoraproject.org</update_contact>
+</component>
diff --git a/kodi-pvr-vdr-vnsi.spec b/kodi-pvr-vdr-vnsi.spec
index 0bf10a5..52b42eb 100644
--- a/kodi-pvr-vdr-vnsi.spec
+++ b/kodi-pvr-vdr-vnsi.spec
@@ -1,29 +1,29 @@
%global kodi_addon pvr.vdr.vnsi
-%global kodi_version 19.0
-%global kodi_codename Matrix
+%global kodi_version 20
+%global kodi_codename Nexus
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
# Use Epoch to manage upgrades from older upstream
# (
https://github.com/opdenkamp/xbmc-pvr-addons/)
Epoch: 1
-Version: 8.2.3
-Release: 4%{?dist}
+Version: 20.4.0
+Release: 1%{?dist}
Summary: VDR PVR for Kodi
-License: GPLv2+
+# lib/kissnet is MIT
+License: GPL-2.0-or-later AND MIT
URL:
https://github.com/kodi-pvr/%{kodi_addon}/
Source0:
%{url}/archive/%{version}-%{kodi_codename}/%{kodi_addon}-%{version}.tar.gz
+Source1: %{name}.metainfo.xml
BuildRequires: cmake3
BuildRequires: gcc-c++
BuildRequires: kodi-devel >= %{kodi_version}
-%ifarch %{arm} aarch64
-BuildRequires: libglvnd-devel
-%else
+BuildRequires: libappstream-glib
BuildRequires: pkgconfig(opengl)
-%endif
Requires: kodi >= %{kodi_version}
-ExcludeArch: %{power64} ppc64le
+Provides: bundled(kissnet)
+ExcludeArch: %{power64}
%description
%{summary}.
@@ -41,15 +41,28 @@ ExcludeArch: %{power64} ppc64le
%install
%cmake3_install
+# Install AppData file
+install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/%{name}.metainfo.xml
+
+
+%check
+appstream-util validate-relax --nonet
$RPM_BUILD_ROOT%{_metainfodir}/%{name}.metainfo.xml
+
%files
%doc README.md %{kodi_addon}/changelog.txt
%license LICENSE.md
%{_libdir}/kodi/addons/%{kodi_addon}/
%{_datadir}/kodi/addons/%{kodi_addon}/
+%{_metainfodir}/%{name}.metainfo.xml
%changelog
+* Sun Jan 29 2023 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:20.4.0-1
+- Update to 20.4.0
+- Add AppStream metadata
+- Switch to SPDX license identifiers
+
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
1:8.2.3-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
diff --git a/sources b/sources
index ba3f7a4..04658cb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pvr.vdr.vnsi-8.2.3.tar.gz) =
9fbb3e988fe6352fde230ce072b35e591d69015bbfd93a4e61b2719a1f36ef495d23db30d44a6c611dcc1b4e36339b454138902c3f815940c5a77ff2b3d9c62a
+SHA512 (pvr.vdr.vnsi-20.4.0.tar.gz) =
c5585ae725a1a0034235d66f3aa0211645c5acd510f0c6c3f29b68f07b5d43a99bd892af6c954146ac1c98bd715aec2e315a3e59887a5970eda044dbe9223d63